diff --git a/app/DoctrineMigrations/Version20220603074035.php b/app/DoctrineMigrations/Version20220603074035.php index 38d3c4ee2f..01a0153ff4 100644 --- a/app/DoctrineMigrations/Version20220603074035.php +++ b/app/DoctrineMigrations/Version20220603074035.php @@ -18,55 +18,55 @@ public function up(Schema $schema) : void 'SELECT COUNT(*) FROM mtb_csv_type WHERE id = 6' ); if ($statusExists == 0) { - $this->addSql("INSERT INTO mtb_csv_type ('id', 'name', 'sort_no', 'discriminator_type') VALUES (6, 'Class NameCSV', 6, 'csvtype');"); + $this->addSql("INSERT INTO mtb_csv_type (id, name, sort_no, discriminator_type) VALUES (6, 'Class NameCSV', 6, 'csvtype');"); } $statusExists = $this->connection->fetchOne( 'SELECT COUNT(*) FROM mtb_csv_type WHERE id = 7' ); if ($statusExists == 0) { - $this->addSql("INSERT INTO mtb_csv_type ('id', 'name', 'sort_no', 'discriminator_type') VALUES (7, 'Class Category CSV', 7, 'csvtype');"); + $this->addSql("INSERT INTO mtb_csv_type (id, name, sort_no, discriminator_type) VALUES (7, 'Class Category CSV', 7, 'csvtype');"); } $statusExists = $this->connection->fetchOne( 'SELECT COUNT(*) FROM dtb_csv WHERE id = 206' ); if ($statusExists == 0) { - $this->addSql("INSERT INTO dtb_csv ('id','csv_type_id','creator_id','entity_name','field_name','reference_field_name','disp_name','sort_no','enabled','create_date','update_date','discriminator_type') VALUES ('206','6',,'Eccube\\Entity\\ClassName','id',,'規格ID','1','1','2021-05-18 01:26:41','2021-05-18 01:26:41','csv');"); + $this->addSql("INSERT INTO dtb_csv (id, csv_type_id, creator_id, entity_name, field_name, reference_field_name, disp_name, sort_no, enabled, create_date, update_date, discriminator_type) VALUES (206, 6, null, 'Eccube\\Entity\\ClassName', 'id', null, '規格ID', 1, true, '2021-05-18 01:26:41', '2021-05-18 01:26:41', 'csv');"); } $statusExists = $this->connection->fetchOne( 'SELECT COUNT(*) FROM dtb_csv WHERE id = 207' ); if ($statusExists == 0) { - $this->addSql("INSERT INTO dtb_csv ('id','csv_type_id','creator_id','entity_name','field_name','reference_field_name','disp_name','sort_no','enabled','create_date','update_date','discriminator_type') VALUES ('207','6',,'Eccube\\Entity\\ClassName','name',,'規格名','2','1','2021-05-18 01:26:41','2021-05-18 01:26:41','csv');"); + $this->addSql("INSERT INTO dtb_csv (id, csv_type_id, creator_id, entity_name, field_name, reference_field_name, disp_name, sort_no, enabled, create_date, update_date, discriminator_type) VALUES (207, 6, null, 'Eccube\\Entity\\ClassName', 'name', null, '規格名', 2, true, '2021-05-18 01:26:41', '2021-05-18 01:26:41', 'csv');"); } $statusExists = $this->connection->fetchOne( 'SELECT COUNT(*) FROM dtb_csv WHERE id = 208' ); if ($statusExists == 0) { - $this->addSql("INSERT INTO dtb_csv ('id','csv_type_id','creator_id','entity_name','field_name','reference_field_name','disp_name','sort_no','enabled','create_date','update_date','discriminator_type') VALUES ('208','6',,'Eccube\\Entity\\ClassName','backend_name',,'管理名','3','1','2021-05-18 01:26:41','2021-05-18 01:26:41','csv');"); + $this->addSql("INSERT INTO dtb_csv (id, csv_type_id, creator_id, entity_name, field_name, reference_field_name, disp_name, sort_no, enabled, create_date, update_date, discriminator_type) VALUES (208, 6, null, 'Eccube\\Entity\\ClassName', 'backend_name', null, '管理名', 3, true, '2021-05-18 01:26:41', '2021-05-18 01:26:41', 'csv');"); } $statusExists = $this->connection->fetchOne( 'SELECT COUNT(*) FROM dtb_csv WHERE id = 209' ); if ($statusExists == 0) { - $this->addSql("INSERT INTO dtb_csv ('id','csv_type_id','creator_id','entity_name','field_name','reference_field_name','disp_name','sort_no','enabled','create_date','update_date','discriminator_type') VALUES ('209','7',,'Eccube\\Entity\\ClassCategory','id',,'規格分類ID','1','1','2021-05-18 01:26:41','2021-05-18 01:26:41','csv');"); + $this->addSql("INSERT INTO dtb_csv (id, csv_type_id, creator_id, entity_name, field_name, reference_field_name, disp_name, sort_no, enabled, create_date, update_date, discriminator_type) VALUES (209, 7, null, 'Eccube\\Entity\\ClassCategory', 'id', null, '規格分類ID', 1, true, '2021-05-18 01:26:41', '2021-05-18 01:26:41', 'csv');"); } $statusExists = $this->connection->fetchOne( 'SELECT COUNT(*) FROM dtb_csv WHERE id = 210' ); if ($statusExists == 0) { - $this->addSql("INSERT INTO dtb_csv ('id','csv_type_id','creator_id','entity_name','field_name','reference_field_name','disp_name','sort_no','enabled','create_date','update_date','discriminator_type') VALUES ('210','7',,'Eccube\\Entity\\ClassCategory','ClassName','id','規格ID','2','1','2021-05-18 01:26:41','2021-05-18 01:26:41','csv');"); + $this->addSql("INSERT INTO dtb_csv (id, csv_type_id, creator_id, entity_name, field_name, reference_field_name, disp_name, sort_no, enabled, create_date, update_date, discriminator_type) VALUES (210, 7, null, 'Eccube\\Entity\\ClassCategory', 'ClassName', 'id', '規格ID', 2, true, '2021-05-18 01:26:41', '2021-05-18 01:26:41', 'csv');"); } $statusExists = $this->connection->fetchOne( 'SELECT COUNT(*) FROM dtb_csv WHERE id = 211' ); if ($statusExists == 0) { - $this->addSql("INSERT INTO dtb_csv ('id','csv_type_id','creator_id','entity_name','field_name','reference_field_name','disp_name','sort_no','enabled','create_date','update_date','discriminator_type') VALUES ('211','7',,'Eccube\\Entity\\ClassCategory','name',,'規格分類名','3','1','2021-05-18 01:26:41','2021-05-18 01:26:41','csv');"); + $this->addSql("INSERT INTO dtb_csv (id, csv_type_id, creator_id, entity_name, field_name, reference_field_name, disp_name, sort_no, enabled, create_date, update_date, discriminator_type) VALUES (211, 7, null, 'Eccube\\Entity\\ClassCategory', 'name', null, '規格分類名', 3, true, '2021-05-18 01:26:41', '2021-05-18 01:26:41', 'csv');"); } $statusExists = $this->connection->fetchOne( 'SELECT COUNT(*) FROM dtb_csv WHERE id = 212' ); if ($statusExists == 0) { - $this->addSql("INSERT INTO dtb_csv ('id','csv_type_id','creator_id','entity_name','field_name','reference_field_name','disp_name','sort_no','enabled','create_date','update_date','discriminator_type') VALUES ('212','7',,'Eccube\\Entity\\ClassCategory','backend_name',,'分類管理名','4','1','2021-05-18 01:26:41','2021-05-18 01:26:41','csv');"); + $this->addSql("INSERT INTO dtb_csv (id, csv_type_id, creator_id, entity_name, field_name, reference_field_name, disp_name, sort_no, enabled, create_date, update_date, discriminator_type) VALUES (212, 7, null, 'Eccube\\Entity\\ClassCategory', 'backend_name', null, '分類管理名', 4, true, '2021-05-18 01:26:41', '2021-05-18 01:26:41', 'csv');"); } }