fix column name

This commit is contained in:
2021-12-13 14:38:33 +01:00
parent de262bbc28
commit cc849e279d
2 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ final class Version20211213112628 extends AbstractMigration
{
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE chill_main_civility DROP "order"');
$this->addSql('ALTER TABLE chill_main_civility DROP "ordering"');
}
public function getDescription(): string
@@ -31,6 +31,6 @@ final class Version20211213112628 extends AbstractMigration
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE chill_main_civility ADD "order" FLOAT DEFAULT 0.0');
$this->addSql('ALTER TABLE chill_main_civility ADD "ordering" FLOAT DEFAULT 0.0');
}
}