app/DoctrineMigrations/Version20240612043228.php line 1

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace DoctrineMigrations;
  4. use Doctrine\DBAL\Schema\Schema;
  5. use Doctrine\Migrations\AbstractMigration;
  6. /**
  7.  * Auto-generated Migration: Please modify to your needs!
  8.  */
  9. final class Version20240612043228 extends AbstractMigration
  10. {
  11.     public function getDescription(): string
  12.     {
  13.         return '';
  14.     }
  15.     public function up(Schema $schema): void
  16.     {
  17.         $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
  18. (207, 6, NULL, 'Customize\\\\\\\\Entity\\\\\\\\Auction', 'id', NULL, 'オークションID', 1, 1, '2024-06-09 08:15:24', '2024-06-09 08:15:24', 'csv'),
  19. (208, 6, NULL, 'Customize\\\\\\\\Entity\\\\\\\\Auction', 'Status', 'id', '公開ステータス(ID)', 2, 1, '2024-06-09 08:15:24', '2024-06-09 08:15:24', 'csv'),
  20. (209, 6, NULL, 'Customize\\\\\\\\Entity\\\\\\\\Auction', 'name', NULL, 'オークション名', 3, 1, '2024-06-09 08:15:24', '2024-06-09 08:15:24', 'csv'),
  21. (210, 6, NULL, 'Customize\\\\\\\\Entity\\\\\\\\Auction', 'preview_start_date', NULL, '事前入札開始日時', 4, 1, '2024-06-09 08:15:24', '2024-06-09 08:15:24', 'csv'),
  22. (211, 6, NULL, 'Customize\\\\\\\\Entity\\\\\\\\Auction', 'schedule_start_date', NULL, '競り開始予定日時', 5, 1, '2024-06-09 08:15:24', '2024-06-09 08:15:24', 'csv'),
  23. (212, 6, NULL, 'Customize\\\\\\\\Entity\\\\\\\\Auction', 'listing_score', NULL, '出品点数', 6, 1, '2024-06-09 08:15:24', '2024-06-09 08:15:24', 'csv'),
  24. (213, 6, NULL, 'Customize\\\\\\\\Entity\\\\\\\\Auction', 'discription', NULL, 'オークション説明', 7, 1, '2024-06-09 08:15:24', '2024-06-09 08:15:24', 'csv'),
  25. (214, 6, NULL, 'Customize\\\\\\\\Entity\\\\\\\\Auction', 'correction_list', NULL, '訂正リスト', 8, 1, '2024-06-09 08:15:24', '2024-06-09 08:15:24', 'csv'),
  26. (215, 6, NULL, 'Customize\\\\\\\\Entity\\\\\\\\Auction', 'start_date', NULL, '開始日時', 9, 1, '2024-06-09 08:15:24', '2024-06-09 08:15:24', 'csv'),
  27. (216, 6, NULL, 'Customize\\\\\\\\Entity\\\\\\\\Auction', 'end_date', NULL, '終了日時', 10, 1, '2024-06-09 08:15:24', '2024-06-09 08:15:24', 'csv'),
  28. (217, 6, NULL, 'Customize\\\\\\\\Entity\\\\\\\\Auction', 'AuctionImage', 'file_name', 'オークション画像', 11, 1, '2024-06-09 08:15:24', '2024-06-09 08:15:24', 'csv'),
  29. (218, 6, NULL, 'Customize\\\\\\\\Entity\\\\\\\\Auction', 'AuctionCategories', 'category_id', 'オークションカテゴリ(ID)', 12, 1, '2024-06-09 08:15:24', '2024-06-09 08:15:24', 'csv'),
  30. (219, 6, NULL, 'Customize\\\\\\\\Entity\\\\\\\\Auction', 'AuctionTag', 'tag_id', 'オークションタグ(ID)', 13, 1, '2024-06-09 08:15:24', '2024-06-09 08:15:24', 'csv')");
  31.     }
  32.     public function down(Schema $schema): void
  33.     {
  34.         $this->addSql("DELETE FROM dtb_csv WHERE id IN (207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219)");
  35.     }
  36. }