From bcdaee8f74e4d5e5d5ea9897dba3955c6fa02795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Nguyen?= Date: Fri, 9 Nov 2018 22:04:19 +0100 Subject: [PATCH] add breacking patch --- tests/TDBMAbstractServiceTest.php | 5 +++++ 1 file changed, 5 insertions(+) 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) {