<?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 Version20220525000854 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 user ADD employee_no VARCHAR(255) NOT NULL, ADD name VARCHAR(255) NOT NULL, ADD display_name VARCHAR(255) DEFAULT NULL, ADD display_tel VARCHAR(14) DEFAULT NULL, ADD img_profile VARCHAR(255) NOT NULL, ADD sort_no SMALLINT UNSIGNED DEFAULT NULL, ADD create_date DATETIME DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE user DROP employee_no, DROP name, DROP display_name, DROP display_tel, DROP img_profile, DROP sort_no, DROP create_date');
}
}