<?php
declare(strict_types=1);
namespace Application\Migrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20220601120136 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 registration_status (id INT NOT NULL, preview TINYINT(1) DEFAULT NULL, created_at DATETIME NOT NULL COMMENT \'(DC2Type:carbondatetime)\', updated_at DATETIME NOT NULL COMMENT \'(DC2Type:carbondatetime)\', updated_echa_names_file_name VARCHAR(255) DEFAULT NULL, updated_echa_names_file_path VARCHAR(255) DEFAULT NULL, updated_echa_names_file_mime_type VARCHAR(255) DEFAULT NULL, updated_echa_names_file_size INT DEFAULT NULL, updated_echa_names_file_timestamp DATETIME DEFAULT NULL COMMENT \'(DC2Type:carbondatetime)\', registration_status_update_file_name VARCHAR(255) DEFAULT NULL, registration_status_update_file_path VARCHAR(255) DEFAULT NULL, registration_status_update_file_mime_type VARCHAR(255) DEFAULT NULL, registration_status_update_file_size INT DEFAULT NULL, registration_status_update_file_timestamp DATETIME DEFAULT NULL COMMENT \'(DC2Type:carbondatetime)\', member_registrations_file_name VARCHAR(255) DEFAULT NULL, member_registrations_file_path VARCHAR(255) DEFAULT NULL, member_registrations_file_mime_type VARCHAR(255) DEFAULT NULL, member_registrations_file_size INT DEFAULT NULL, member_registrations_file_timestamp DATETIME DEFAULT NULL COMMENT \'(DC2Type:carbondatetime)\', 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 registration_status');
}
}