File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/chat/src/Bridge/Doctrine Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public function setup(array $options = []): void
6767 $ comparator = $ schemaManager ->createComparator ();
6868 }
6969
70- $ migrations = $ this ->dbalConnection ->getDatabasePlatform ()->getAlterSchemaSQL ($ comparator ->compareSchemas ($ schema , $ this ->defineTableSchema ($ schema )));
70+ $ migrations = $ this ->dbalConnection ->getDatabasePlatform ()->getAlterSchemaSQL ($ comparator ->compareSchemas ($ schema , $ this ->addTableToSchema ($ schema )));
7171
7272 foreach ($ migrations as $ sql ) {
7373 $ this ->dbalConnection ->executeQuery ($ sql );
@@ -126,7 +126,7 @@ public function load(): MessageBag
126126 return new MessageBag (...array_merge (...$ messages ));
127127 }
128128
129- private function defineTableSchema (Schema $ currentSchema ): Schema
129+ private function addTableToSchema (Schema $ currentSchema ): Schema
130130 {
131131 $ schema = clone $ currentSchema ;
132132
You can’t perform that action at this time.
0 commit comments