From 21f463ccb981a6bc40b5b4ef96f43b6ebf387082 Mon Sep 17 00:00:00 2001 From: nobohan Date: Mon, 25 Oct 2021 10:50:14 +0200 Subject: [PATCH] improve location: correct migration --- .../ChillMainBundle/migrations/Version20211022094429.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bundle/ChillMainBundle/migrations/Version20211022094429.php b/src/Bundle/ChillMainBundle/migrations/Version20211022094429.php index 948b105f7..1bc4f68d0 100644 --- a/src/Bundle/ChillMainBundle/migrations/Version20211022094429.php +++ b/src/Bundle/ChillMainBundle/migrations/Version20211022094429.php @@ -19,8 +19,8 @@ final class Version20211022094429 extends AbstractMigration 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_type 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 TRUE;'); } public function down(Schema $schema): void