<?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 Version20191014210838 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->abortIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\'.');
$this->addSql('ALTER TABLE config_interview_note_method CHANGE icon icon VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->abortIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\'.');
$this->addSql('ALTER TABLE config_interview_note_method CHANGE icon icon ENUM(\'check_circle\', \'comment_text\', \'phone\', \'calendar\', \'assignment\', \'chart\', \'accounts\', \'file_text\', \'comment_list\', \'comments\', \'view_web\', \'label_heart\', \'assignment_o\', \'headset\', \'share\', \'navigation\', \'notifications\', \'voicemail\', \'pin\', \'edit\', \'mail_send\', \'videocam\', \'play\', \'local_grocery_store\', \'mic\', \'camera_mic\', \'email\', \'scanner\', \'time\', \'portable_wifi\', \'receipt\', \'storage\', \'plus_circle_o\', \'view_list_alt\', \'alert_octagon\', \'mood_bad\', \'money\', \'flag\', \'book\', \'comment_outline\') DEFAULT NULL COLLATE utf8mb4_unicode_ci COMMENT \'(DC2Type:IconType)\'');
}
}