<?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 Version20240620072145 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql("SET foreign_key_checks = 0;");
$this->addSql("TRUNCATE `plg_productoption_dtb_material`");
$this->addSql("SET foreign_key_checks = 1;");
$this->addSql("
INSERT INTO `plg_productoption_dtb_material` (`id`, `sticker_type`, `name`, `backend_name`, `high_limit_long_side`, `high_limit_short_side`, `low_limit_long_side`, `low_limit_short_side`, `sort_no`, `discriminator_type`, `description`, `pricedisp_flg`, `description_flg`, `is_required`, `create_date`, `update_date`) VALUES
(1, 'print', 'グロスホワイト', 'グロスホワイト', 180.0, 60.0, 1.5, 0.5, 1, 'material', NULL, 0, 0, 0, '2024-04-19 08:02:20', '2024-06-19 02:07:39'),
(2, 'print', 'マットホワイト', 'マットホワイト', 180.0, 60.0, 1.5, 0.5, 2, 'material', NULL, 0, 0, 0, '2024-04-19 08:19:38', '2024-06-19 02:08:14'),
(3, 'print', '透明フィルム', '透明フィルム', 180.0, 60.0, 1.5, 0.5, 3, 'material', NULL, 0, 0, 0, '2024-04-19 08:20:02', '2024-06-19 02:08:32'),
(4, 'print', '反射フィルム', '反射フィルム', 100.0, 56.0, 1.5, 0.5, 4, 'material', NULL, 0, 0, 0, '2024-04-19 08:31:49', '2024-06-19 02:09:01'),
(5, 'print', 'ヘアライン', 'ヘアライン', 100.0, 60.0, 1.5, 0.5, 5, 'material', NULL, 0, 0, 0, '2024-04-19 09:03:24', '2024-06-19 02:11:46'),
(6, 'print', 'ミラーメタリック', 'ミラーメタリック', 60.0, 60.0, 1.5, 0.5, 6, 'material', NULL, 0, 0, 0, '2024-04-19 09:03:43', '2024-06-19 02:12:27'),
(7, 'print', 'マットメタリック', 'マットメタリック', 60.0, 60.0, 1.5, 0.5, 7, 'material', NULL, 0, 0, 0, '2024-04-19 09:04:02', '2024-06-19 02:12:48'),
(8, 'cutting', '一般色', '一般色', 200.0, 70.0, NULL, NULL, 8, 'material', NULL, 0, NULL, 0, '2024-04-20 01:48:21', '2024-04-20 08:14:58'),
(9, 'cutting', 'メタリック', 'メタリック', 200.0, 70.0, NULL, NULL, 9, 'material', NULL, 0, NULL, 0, '2024-04-20 06:09:19', '2024-04-20 08:14:58'),
(10, 'cutting', 'ラメ', 'ラメ', 200.0, 55.0, NULL, NULL, 10, 'material', NULL, 0, NULL, 0, '2024-04-20 06:09:47', '2024-04-20 08:14:58'),
(11, 'cutting', 'ミラー', 'ミラー', 200.0, 60.0, NULL, NULL, 11, 'material', NULL, 0, NULL, 0, '2024-04-20 06:10:07', '2024-04-20 08:14:58'),
(12, 'cutting', '反射', '反射', 200.0, 60.0, NULL, NULL, 12, 'material', NULL, 0, NULL, 0, '2024-04-20 06:54:57', '2024-04-20 08:14:58'),
(13, 'cutting', 'ガラス内側から貼る', 'ガラス内側から貼る', 200.0, 70.0, NULL, NULL, 13, 'material', NULL, 0, NULL, 0, '2024-04-20 07:00:38', '2024-04-20 08:14:58');
");
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
}
}