migrations/Version20240216095225.php line 1

Open in your IDE?
  1. <?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 Version20240216095225 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("CREATE TABLE `scheduled_subscription` ( `id` INT NOT NULL AUTO_INCREMENT , `user_id` INT NULL, `sche_subscription_id` VARCHAR(100) NULL , `stripe_subscription_id` VARCHAR(100) NULL , `subscription_plan_id` INT(11) NULL , `amount` FLOAT(11) NULL , `type` VARCHAR(100) NULL , `activated` SMALLINT NULL , `schedule_date` BIGINT(11) NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;");
        }
    
        public function down(Schema $schema): void
        {
            // this down() migration is auto-generated, please modify it to your needs
    
        }
    }