diff --git a/tests/TDBMAbstractServiceTest.php b/tests/TDBMAbstractServiceTest.php index f1576e9c..0af3a72f 100644 --- a/tests/TDBMAbstractServiceTest.php +++ b/tests/TDBMAbstractServiceTest.php @@ -353,6 +353,11 @@ private static function initSchema(Connection $connection): void ->column('name')->string(50)->then() ->primaryKey(['country_id', 'code']); + $db->table('contacts_countries') + ->column('id')->integer()->primaryKey()->autoIncrement()->comment('@Autoincrement') + ->column('contact_id')->references('contact')->notNull() + ->column('country_id')->references('country')->notNull(); + $sqlStmts = $toSchema->getMigrateFromSql($fromSchema, $connection->getDatabasePlatform()); foreach ($sqlStmts as $sqlStmt) {