<?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 Version20240613111916 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE TABLE puzzle_transfer_price (id INT AUTO_INCREMENT NOT NULL, transfer_code VARCHAR(45) DEFAULT NULL, type VARCHAR(45) DEFAULT NULL, type_code VARCHAR(45) NOT NULL, market_code VARCHAR(45) DEFAULT NULL, from_code VARCHAR(45) NOT NULL, to_code VARCHAR(45) DEFAULT NULL, cur VARCHAR(4) DEFAULT NULL, totol_price NUMERIC(10, 2) DEFAULT NULL, adult_price NUMERIC(10, 2) DEFAULT NULL, child_price NUMERIC(10, 2) DEFAULT NULL, infant_price VARCHAR(45) DEFAULT NULL, transfer_type VARCHAR(45) DEFAULT NULL, transfer_title VARCHAR(45) DEFAULT NULL, operation_type VARCHAR(45) DEFAULT NULL, child_combination VARCHAR(2000) DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('DROP TABLE puzzle_transfer_price');
}
}