<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20211117134829 extends AbstractMigration
{
public function getDescription(): string
{
return 'Donate type';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE donate_type ADD amount INT NOT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE donate_type DROP amount');
}
public function isTransactional(): bool
{
return false;
}
}