From: Mike S. <ms...@us...> - 2008-04-17 12:49:00
|
Update of /cvsroot/wonder/Wonder/Common/Frameworks/ERExtensions/Sources/er/extensions/migration In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv10988/Sources/er/extensions/migration Modified Files: ERXMigrationTable.java Log Message: create primary key support statements as well as the primary key statement Index: ERXMigrationTable.java =================================================================== RCS file: /cvsroot/wonder/Wonder/Common/Frameworks/ERExtensions/Sources/er/extensions/migration/ERXMigrationTable.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** ERXMigrationTable.java 7 Feb 2008 08:26:25 -0000 1.10 --- ERXMigrationTable.java 17 Apr 2008 12:47:51 -0000 1.11 *************** *** 624,628 **** NSArray<EOSQLExpression> expressions = schemaGeneration.primaryKeyConstraintStatementsForEntityGroup(new NSArray<EOEntity>(entity)); ERXMigrationDatabase._ensureNotEmpty(expressions); ! return expressions; } --- 624,629 ---- NSArray<EOSQLExpression> expressions = schemaGeneration.primaryKeyConstraintStatementsForEntityGroup(new NSArray<EOEntity>(entity)); ERXMigrationDatabase._ensureNotEmpty(expressions); ! NSArray<EOSQLExpression> supportExpressions = schemaGeneration.primaryKeySupportStatementsForEntityGroup(new NSArray<EOEntity>(entity)); ! return expressions.arrayByAddingObjectsFromArray(supportExpressions); } |