mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-10771: schema validation and differences rules
Laying some groundwork for the main code. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31921 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -220,8 +220,11 @@ public class Table extends AbstractDbObject
|
||||
private List<DbObject> getChildren()
|
||||
{
|
||||
List<DbObject> children = new ArrayList<DbObject>();
|
||||
children.addAll(columns);
|
||||
children.add(primaryKey);
|
||||
children.addAll(columns);
|
||||
if (primaryKey != null)
|
||||
{
|
||||
children.add(primaryKey);
|
||||
}
|
||||
children.addAll(foreignKeys);
|
||||
children.addAll(indexes);
|
||||
return children;
|
||||
|
Reference in New Issue
Block a user