<?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 Version20180821164525 extends AbstractMigration
{
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('
CREATE TABLE config_interview_note_method (
id INT AUTO_INCREMENT NOT NULL,
name VARCHAR(255) NOT NULL,
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 COMMENT \'(DC2Type:IconType)\',
INDEX idx_name (name),
PRIMARY KEY(id)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB
');
$this->addSql('
INSERT INTO config_interview_note_method (id, name, icon)
VALUES
(1, \'General\', NULL),
(2, \'Lien/Levy\', \'flag\'),
(3, \'Transcripts\', NULL),
(4, \'Returns\', NULL),
(5, \'Email\', \'email\'),
(37, \'Text\', \'comment_outline\'),
(6, \'Fax\', \'portable_wifi\'),
(7, \'Mail\', \'mail_send\'),
(8, \'Scan\', \'scanner\'),
(35, \'Summary\', \'time\'),
(9, \'433 A/B\', \'receipt\'),
(10, \'843\', NULL),
(11, \'9465\', NULL),
(12, \'OIC\', NULL),
(13, \'Info. Request\', NULL),
(14, \'Case Review\', NULL),
(15, \'Case Update\', NULL),
(16, \'POA/8821\', NULL),
(25, \'Storage\', \'storage\'),
(26, \'Call\', \'phone\'),
(36, \'Stage\', \'check_circle\'),
(38, \'Chat\', \'comments\'),
(18, \'Complaint\', \'mood_bad\'),
(19, \'Goal\', \'chart\'),
(20, \'% Complete\', NULL),
(31, \'Alert\', \'alert_octagon\'),
(21, \'Status\', \'view_list_alt\'),
(22, \'Task\', \'plus_circle_o\'),
(30, \'Reminder\', \'notifications\'),
(23, \'Payment\', NULL),
(24, \'Upsell Req.\', \'money\'),
(32, \'File\', \'file_text\'),
(33, \'Books\', \'book\'),
(34, \'Storage\', \'storage\')
');
}
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('DROP TABLE config_interview_note_method');
}
}