Update migrations for mariadb

This commit is contained in:
Alex 2026-06-04 15:17:26 -07:00
parent 54dfb7f0a0
commit 675245d1e0
7 changed files with 13 additions and 13 deletions

View file

@ -20,8 +20,8 @@ final class Version20260522202515 extends AbstractMigration
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE page ADD published BOOLEAN NOT NULL');
$this->addSql('ALTER TABLE post ADD published BOOLEAN NOT NULL');
$this->addSql('ALTER TABLE page ADD published BOOLEAN NOT NULL DEFAULT false');
$this->addSql('ALTER TABLE post ADD published BOOLEAN NOT NULL DEFAULT false');
}
public function down(Schema $schema): void