mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
FIX [migration][center] set default value in center migration to add isActive
This commit is contained in:
parent
82b3025842
commit
b256c3176e
@ -26,7 +26,7 @@ final class Version20230906134410 extends AbstractMigration
|
||||
|
||||
public function up(Schema $schema): void
|
||||
{
|
||||
$this->addSql('ALTER TABLE centers ADD isActive BOOLEAN NOT NULL');
|
||||
$this->addSql('ALTER TABLE centers ADD isActive BOOLEAN DEFAULT true NOT NULL');
|
||||
}
|
||||
|
||||
public function down(Schema $schema): void
|
||||
|
Loading…
x
Reference in New Issue
Block a user