From e6183f664629f315ef8666ade8796b79c697a53c Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Fri, 29 Oct 2021 15:56:57 +0200 Subject: [PATCH] migration fixed to insert default true value for isActive --- .../ChillPersonBundle/migrations/Version20211029075117.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillPersonBundle/migrations/Version20211029075117.php b/src/Bundle/ChillPersonBundle/migrations/Version20211029075117.php index 9c3d5131e..ef739dcb8 100644 --- a/src/Bundle/ChillPersonBundle/migrations/Version20211029075117.php +++ b/src/Bundle/ChillPersonBundle/migrations/Version20211029075117.php @@ -19,7 +19,7 @@ final class Version20211029075117 extends AbstractMigration public function up(Schema $schema): void { - $this->addSql('ALTER TABLE chill_person_relations ADD isActive BOOLEAN NOT NULL'); + $this->addSql('ALTER TABLE chill_person_relations ADD isActive BOOLEAN DEFAULT true NOT NULL'); } public function down(Schema $schema): void