app/DoctrineMigrations/Version20240625072407.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 Version20240625072407 extends AbstractMigration
  10. {
  11.     public function getDescription(): string
  12.     {
  13.         return '';
  14.     }
  15.     public function up(Schema $schema): void
  16.     {
  17.         $this->addSql('DELETE FROM dtb_csv WHERE id IN (214)');
  18.         $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
  19. (220, 1, NULL, 'Eccube\\\\\\\\Entity\\\\\\\\Product', 'correction_list', NULL, '訂正リスト', 10, 1, '2024-06-09 08:15:24', '2024-06-09 08:15:24', 'csv')");
  20.     }
  21.     public function down(Schema $schema): void
  22.     {
  23.         $this->addSql('DELETE FROM dtb_csv WHERE id IN (220)');
  24.         $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
  25. (207, 6, NULL, 'Customize\\\\\\\\Entity\\\\\\\\Auction', 'correction_list', NULL, '訂正リスト', 8, 1, '2024-06-09 08:15:24', '2024-06-09 08:15:24', 'csv')");
  26.     }
  27. }