<?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 Version20231009162027 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('ALTER TABLE language CHANGE name name VARCHAR(20) DEFAULT NULL, CHANGE welcome_text welcome_text VARCHAR(50) DEFAULT NULL, CHANGE welcome_sub_text welcome_sub_text VARCHAR(500) DEFAULT NULL, CHANGE login login VARCHAR(20) DEFAULT NULL, CHANGE login_label login_label VARCHAR(20) DEFAULT NULL, CHANGE register register VARCHAR(20) DEFAULT NULL, CHANGE register_label register_label VARCHAR(20) DEFAULT NULL, CHANGE logout logout VARCHAR(20) DEFAULT NULL, CHANGE mature_statement mature_statement VARCHAR(60) DEFAULT NULL, CHANGE policy_statement policy_statement VARCHAR(60) DEFAULT NULL, CHANGE bar_desc_line2 bar_desc_line2 VARCHAR(30) DEFAULT NULL, CHANGE bar_desc_line3 bar_desc_line3 VARCHAR(30) DEFAULT NULL, CHANGE bar_desc_line4 bar_desc_line4 VARCHAR(30) DEFAULT NULL, CHANGE bar_desc_line5 bar_desc_line5 VARCHAR(30) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE language CHANGE name name VARCHAR(100) DEFAULT NULL, CHANGE welcome_text welcome_text VARCHAR(100) DEFAULT NULL, CHANGE welcome_sub_text welcome_sub_text VARCHAR(100) DEFAULT NULL, CHANGE login login VARCHAR(100) DEFAULT NULL, CHANGE login_label login_label VARCHAR(100) DEFAULT NULL, CHANGE register register VARCHAR(100) DEFAULT NULL, CHANGE register_label register_label VARCHAR(100) DEFAULT NULL, CHANGE logout logout VARCHAR(100) DEFAULT NULL, CHANGE mature_statement mature_statement VARCHAR(100) DEFAULT NULL, CHANGE policy_statement policy_statement VARCHAR(100) DEFAULT NULL, CHANGE bar_desc_line2 bar_desc_line2 VARCHAR(100) DEFAULT NULL, CHANGE bar_desc_line3 bar_desc_line3 VARCHAR(100) DEFAULT NULL, CHANGE bar_desc_line4 bar_desc_line4 VARCHAR(100) DEFAULT NULL, CHANGE bar_desc_line5 bar_desc_line5 VARCHAR(100) DEFAULT NULL');
}
}