<?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 Version20240213044804 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql("ALTER TABLE `user` ADD `current_subscription_plan_id` INT NULL AFTER `stripe_customer_id`, ADD `current_subscription_id` INT NULL AFTER `current_subscription_plan_id`, ADD `has_yearly_subscription` INT NULL AFTER `current_subscription_id`, ADD `is_subscription_cancelled` INT NULL DEFAULT '0' AFTER `has_yearly_subscription`, ADD `subscription_expire_at` DATETIME NULL AFTER `is_subscription_cancelled`;");
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
}
}