123456789101112131415161718192021222324252627282930313233343536 |
- <?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 Version20220306104047 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
- }
- public function down(Schema $schema): void
- {
- // this down() migration is auto-generated, please modify it to your needs
- $this->addSql('ALTER TABLE commentaire CHANGE contenu contenu TINYTEXT DEFAULT NULL COLLATE `utf8mb4_unicode_ci`');
- $this->addSql('ALTER TABLE film CHANGE titre titre VARCHAR(191) NOT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE lien lien VARCHAR(191) DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE information information LONGTEXT DEFAULT NULL COLLATE `utf8mb4_unicode_ci`');
- $this->addSql('ALTER TABLE genre CHANGE name name VARCHAR(191) NOT NULL COLLATE `utf8mb4_unicode_ci`');
- $this->addSql('ALTER TABLE media_video CHANGE type type VARCHAR(191) NOT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE identif identif VARCHAR(191) NOT NULL COLLATE `utf8mb4_unicode_ci`');
- $this->addSql('ALTER TABLE realisateur CHANGE nom_complet nom_complet VARCHAR(191) NOT NULL COLLATE `utf8mb4_unicode_ci`');
- $this->addSql('ALTER TABLE user CHANGE username username VARCHAR(191) NOT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE prenom prenom VARCHAR(191) DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE nom nom VARCHAR(191) DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE mail mail VARCHAR(191) NOT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE password password VARCHAR(191) NOT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE token token VARCHAR(191) NOT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE salt salt VARCHAR(191) DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE roles roles LONGTEXT NOT NULL COLLATE `utf8mb4_unicode_ci` COMMENT \'(DC2Type:array)\'');
- }
- }
|