Skip to content

Commit be6ecf9

Browse files
committed
fix namings
1 parent 922aa1a commit be6ecf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/chat/src/Bridge/Doctrine/DoctrineDbalMessageStore.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)