Skip to content

Commit c3ac81d

Browse files
committed
fix Checklist.IsPrototype migration
1 parent 6886735 commit c3ac81d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/migrations/schema/Version20240912183023.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function getDescription(): string {
1717

1818
public function up(Schema $schema): void {
1919
// this up() migration is auto-generated, please modify it to your needs
20-
$this->addSql('ALTER TABLE checklist ADD isPrototype BOOLEAN NOT NULL');
20+
$this->addSql('ALTER TABLE checklist ADD isPrototype BOOLEAN NOT NULL DEFAULT FALSE');
2121
$this->addSql('ALTER TABLE checklist ALTER campid DROP NOT NULL');
2222
}
2323

0 commit comments

Comments
 (0)