addSql('ALTER TABLE billet_buyer ADD COLUMN IF NOT EXISTS refunded_amount INT DEFAULT 0'); $this->addSql('UPDATE billet_buyer SET refunded_amount = 0 WHERE refunded_amount IS NULL'); } public function down(Schema $schema): void { $this->addSql('ALTER TABLE billet_buyer DROP COLUMN IF EXISTS refunded_amount'); } }