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