<?php
namespace App\Migrations\Common;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
class Version20220722_MerchantAttribute extends AbstractMigration
{
public function getDescription(): string
{
return 'Merchant attributes types';
}
public function up(Schema $schema): void
{
$this->addSql("
ALTER TABLE merchant_attribute
MODIFY COLUMN attribute ENUM('pro_features', 'approve_zero', 'notando_integration') NOT NULL COMMENT '(DC2Type:merchant_attribute)';"
);
$this->addSql("
ALTER TABLE merchant_attribute_history
MODIFY COLUMN attribute ENUM('pro_features', 'approve_zero', 'notando_integration') NOT NULL COMMENT '(DC2Type:merchant_attribute)';"
);
}
public function down(Schema $schema): void
{
}
}