<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20220729203841 extends AbstractMigration
{
public function getDescription(): string
{
return 'Updated customer table';
}
public function up(Schema $schema): void
{
$this->addSql("ALTER TABLE customer ADD blocked INT(1) NOT NULL DEFAULT 0;");
}
public function down(Schema $schema): void
{
$this->addSql("ALTER TABLE customer DROP COLUMN blocked;");
}
}