<?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 Version20240208070846 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE `subscription_plans` ADD `trial_period` INT(11) NULL DEFAULT NULL AFTER `subscription_type`;');
$this->addSql("ALTER TABLE `subscription_plans` CHANGE `subscription_type` `subscription_type` ENUM('premium-services','directory-profile','private-community','supplier-list','purchasing-group') NOT NULL DEFAULT 'premium-services';");
$this->addSql("ALTER TABLE `subscription_transactions` CHANGE `type` `type` ENUM('premium-services','directory-profile','private-community','supplier-list','purchasing-group') NULL DEFAULT 'premium-services';");
}
public function down(Schema $schema): void
{
}
}