<?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 Version20211227184014 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 subscription ADD currency VARCHAR(255) DEFAULT NULL, ADD recurring_charge_amount INT DEFAULT NULL, ADD frequency VARCHAR(255) DEFAULT NULL, ADD grace_period_days INT DEFAULT NULL, ADD trial_period_days INT DEFAULT NULL, ADD initial_charge_amount INT DEFAULT NULL, ADD percentage INT DEFAULT NULL, ADD max_number_of_charges INT DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE subscription DROP currency, DROP recurring_charge_amount, DROP frequency, DROP grace_period_days, DROP trial_period_days, DROP initial_charge_amount, DROP percentage, DROP max_number_of_charges');
}
}