File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
src/bundle/RepositoryInstaller Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 44 * @copyright Copyright (C) Ibexa AS. All rights reserved.
55 * @license For full copyright and license information view LICENSE file distributed with this source code.
66 */
7-
87namespace Ibexa \Bundle \RepositoryInstaller \Command ;
98
109use Doctrine \DBAL \Connection ;
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ protected function getDropSqlStatementsForExistingSchema(
105105 // cleanup pre-existing database: drop foreign keys
106106 foreach ($ tables as $ table ) {
107107 if ($ existingSchema ->hasTable ($ table ->getName ())) {
108- foreach ($ this ->db ->getSchemaManager ()->listTableForeignKeys ($ table ->getName ()) as $ foreignKeyConstraint ) {
108+ foreach ($ this ->db ->getSchemaManager ()->listTableForeignKeys ($ table ->getName ()) as $ foreignKeyConstraint ) {
109109 $ statements [] = $ databasePlatform ->getDropForeignKeySQL ($ foreignKeyConstraint ->getName (), $ table ->getName ());
110110 }
111111 }
You can’t perform that action at this time.
0 commit comments