<?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 Version20210831201244 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 school ADD school_id VARCHAR(255) NOT NULL, ADD city VARCHAR(255) NOT NULL, ADD district VARCHAR(255) DEFAULT NULL, ADD state VARCHAR(255) DEFAULT NULL, ADD country VARCHAR(255) DEFAULT NULL, ADD state_wise VARCHAR(255) DEFAULT NULL, ADD employee_name VARCHAR(255) DEFAULT NULL, ADD su_code VARCHAR(255) DEFAULT NULL, ADD priority VARCHAR(255) DEFAULT NULL, ADD school_contact_email VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE school DROP school_id, DROP city, DROP district, DROP state, DROP country, DROP state_wise, DROP employee_name, DROP su_code, DROP priority, DROP school_contact_email');
}
}