migrations/Version20240522093210.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 Version20240522093210 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 showroom_details ADD title LONGTEXT DEFAULT NULL, ADD website LONGTEXT DEFAULT NULL, ADD establishment_year BIGINT DEFAULT NULL, ADD hear_about_gixli VARCHAR(255) DEFAULT NULL, ADD trade_program ENUM("Yes", "No") DEFAULT NULL');
           
        }
    
        public function down(Schema $schema): void
        {
            // this down() migration is auto-generated, please modify it to your needs
            $this->addSql('ALTER TABLE showroom_details DROP title, DROP website, DROP establishment_year, DROP hear_about_gixli, DROP trade_program');
        }
    }