improve location: correct migration

This commit is contained in:
nobohan 2021-10-25 10:50:14 +02:00
parent 911e709a74
commit 21f463ccb9

View File

@ -19,8 +19,8 @@ final class Version20211022094429 extends AbstractMigration
public function up(Schema $schema): void public function up(Schema $schema): void
{ {
$this->addSql('ALTER TABLE chill_main_location ADD active BOOLEAN DEFAULT NULL;'); $this->addSql('ALTER TABLE chill_main_location ADD active BOOLEAN DEFAULT TRUE;');
$this->addSql('ALTER TABLE chill_main_location_type ADD active BOOLEAN DEFAULT NULL;'); $this->addSql('ALTER TABLE chill_main_location_type ADD active BOOLEAN DEFAULT TRUE;');
} }
public function down(Schema $schema): void public function down(Schema $schema): void