migrations/Version20240101044617.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 Version20240101044617 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 education_sponsor_details ADD gixli_username VARCHAR(255) DEFAULT NULL, ADD business_introduction LONGTEXT DEFAULT NULL, ADD facebook_profile VARCHAR(255) DEFAULT NULL, ADD x_profile VARCHAR(255) DEFAULT NULL, ADD youtube_url VARCHAR(255) DEFAULT NULL, ADD pinterest_profile VARCHAR(255) DEFAULT NULL, ADD instagram_profile VARCHAR(255) DEFAULT NULL, DROP sponsor_name, DROP sponsor_website, DROP facebook_link, DROP twitter_link, DROP youtube_link, DROP pinterest_link, DROP instagram_link');
            
        }
    
        public function down(Schema $schema): void
        {
            // this down() migration is auto-generated, please modify it to your needs
            $this->addSql('ALTER TABLE education_sponsor_details ADD sponsor_name VARCHAR(255) DEFAULT NULL, ADD sponsor_website VARCHAR(255) DEFAULT NULL, ADD facebook_link VARCHAR(255) DEFAULT NULL, ADD twitter_link VARCHAR(255) DEFAULT NULL, ADD youtube_link VARCHAR(255) DEFAULT NULL, ADD pinterest_link VARCHAR(255) DEFAULT NULL, ADD instagram_link VARCHAR(255) DEFAULT NULL, DROP gixli_username, DROP business_introduction, DROP facebook_profile, DROP x_profile, DROP youtube_url, DROP pinterest_profile, DROP instagram_profile');
            
        }
    }