<?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 Version20221031130914 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 draft CHANGE annee_draft annee_draft SMALLINT UNSIGNED NOT NULL, CHANGE idjoueurservice_draft idjoueurservice_draft INT NOT NULL, CHANGE idequipeservice_draft idequipeservice_draft INT NOT NULL, CHANGE choix_draft choix_draft TINYINT UNSIGNED NOT NULL COMMENT \'(DC2Type:tinyint)\', CHANGE tour_draft tour_draft TINYINT UNSIGNED NOT NULL COMMENT \'(DC2Type:tinyint)\'');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE draft CHANGE annee_draft annee_draft VARCHAR(4) DEFAULT NULL, CHANGE idjoueurservice_draft idjoueurservice_draft INT DEFAULT NULL, CHANGE idequipeservice_draft idequipeservice_draft INT DEFAULT NULL, CHANGE choix_draft choix_draft VARCHAR(4) DEFAULT NULL, CHANGE tour_draft tour_draft VARCHAR(4) DEFAULT NULL');
}
}