File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -205,6 +205,8 @@ protected function stripDatabaseFromTableName(string $tableName): string
205205 $ currentDatabase = $ this ->getConnection ()->dsql ()
206206 ->field ($ this ->getConnection ()->expr ('{{}} ' , [$ this ->getDatabasePlatform ()->getCurrentDatabaseExpression (true )])) // @phpstan-ignore-line
207207 ->getOne ();
208+ } elseif ($ platform instanceof SqlitePlatform) {
209+ $ currentDatabase = 'main ' ;
208210 } else {
209211 $ currentDatabase = $ this ->getConnection ()->getConnection ()->getDatabase ();
210212 }
Original file line number Diff line number Diff line change @@ -545,6 +545,7 @@ public function testTableWithSchema(): void
545545
546546 $ this ->createMigrator ($ user )->create ();
547547 $ this ->createMigrator ($ doc )->create ();
548+ $ this ->debug = true ;
548549 $ this ->createMigrator ()->createForeignKey ($ doc ->getReference ('user_id ' ));
549550
550551 $ user ->createEntity ()
You can’t perform that action at this time.
0 commit comments