app/DoctrineMigrations/Version20240925074642.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 Version20240925074642 extends AbstractMigration
  10. {
  11.     public function getDescription(): string
  12.     {
  13.         return '';
  14.     }
  15.     public function up(Schema $schema): void
  16.     {
  17.         $this->addSql("
  18.         INSERT INTO `plg_productoption_dtb_option` (`id`, `creator_id`, `name`, `backend_name`, `description`, `type`, `pricedisp_flg`, `description_flg`, `is_required`, `require_min`, `require_max`, `sort_no`, `create_date`, `update_date`, `discriminator_type`, `material_id`, `sticker_type`, `delete_flg`, `option_code`) VALUES
  19.         (29, 1, '備品', '備品', NULL, 1, 0, 0, 0, NULL, NULL, 29, '2024-09-25 06:41:03', '2024-09-25 06:41:03', 'option', NULL, NULL, NULL, 'equipment'),
  20.         (30, 1, '備品の数量', '備品の数量', NULL, 7, 0, 0, 0, NULL, NULL, 30, '2024-09-25 06:43:38', '2024-09-25 06:43:38', 'option', NULL, NULL, NULL, 'equipment_quantity');
  21.         ");
  22.         $this->addSql("
  23.         INSERT INTO `plg_productoption_dtb_optioncategory` (`id`, `option_id`, `creator_id`, `name`, `description`, `disable_flg`, `init_flg`, `hidden_flg`, `value`, `delivery_free_flg`, `multiple_flg`, `sort_no`, `create_date`, `update_date`, `discriminator_type`, `delete_flg`, `config`) VALUES
  24.         (81, 29, 1, 'スキージ単品', NULL, 0, 0, 0, 546.00, 0, NULL, 1, '2024-09-25 07:56:37', '2024-09-25 07:56:37', 'optioncategory', 1, '{\"estimate_item_type_id\":15}'),
  25.         (82, 29, 1, 'スキージ・マスキングのセット', NULL, 0, 0, 0, 641.00, 0, NULL, 2, '2024-09-25 07:56:58', '2024-09-25 07:56:58', 'optioncategory', 1, '{\"estimate_item_type_id\":14}');                                                                                       
  26.         ");
  27.     }
  28.     public function down(Schema $schema): void
  29.     {
  30.         // this down() migration is auto-generated, please modify it to your needs
  31.     }
  32. }