<?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 Version20220927081259 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 enquete_j1_long (id INT AUTO_INCREMENT NOT NULL, inscrit_id INT DEFAULT NULL, surfacedisponiblepourchacun INT DEFAULT NULL, isolationphoniquetemperature INT DEFAULT NULL, etatglobauxlocaux INT DEFAULT NULL, accessibilitecourspause INT DEFAULT NULL, etatcontenusallecourspause INT DEFAULT NULL, sanitaire INT DEFAULT NULL, adaptationcontenuformation INT DEFAULT NULL, accessibiliteetat INT DEFAULT NULL, possibilitesutilisation INT DEFAULT NULL, qualitessupportspapierinformatique INT DEFAULT NULL, utiliteformation INT DEFAULT NULL, articulationthemes INT DEFAULT NULL, conformitecontenuprogramme INT DEFAULT NULL, objectifsatteintsrespectprogramme INT DEFAULT NULL, prisecompteheterogeneite INT DEFAULT NULL, adaptationrythmecontenu INT DEFAULT NULL, qualiteexemples INT DEFAULT NULL, formateur INT DEFAULT NULL, aptitudeselocutionposturetenue INT DEFAULT NULL, motivation INT DEFAULT NULL, competences INT DEFAULT NULL, presencedisponibiliteformateur INT DEFAULT NULL, participants INT DEFAULT NULL, ambiancegenerale INT DEFAULT NULL, nombrepresence INT DEFAULT NULL, attentionparticipation INT DEFAULT NULL, delaireceptioninformations INT DEFAULT NULL, planificationformation INT DEFAULT NULL, gestiontempsdureeformation INT DEFAULT NULL, gestiontempsdureepauses INT DEFAULT NULL, equilibresequence INT DEFAULT NULL, tempsreflexionpersonnelle INT DEFAULT NULL, respectengagements INT DEFAULT NULL, moyenconnaissanceformation LONGTEXT DEFAULT NULL, autresformationssouhaitees LONGTEXT DEFAULT NULL, objectifformationatteint LONGTEXT DEFAULT NULL, plusformation LONGTEXT DEFAULT NULL, created_at DATETIME DEFAULT NULL COMMENT \'(DC2Type:datetime_immutable)\', apporterchangerdansformation LONGTEXT DEFAULT NULL, quevousaapportelaformation LONGTEXT DEFAULT NULL, UNIQUE INDEX UNIQ_3E04A2176DCD4FEE (inscrit_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('ALTER TABLE enquete_j1_long ADD CONSTRAINT FK_3E04A2176DCD4FEE FOREIGN KEY (inscrit_id) REFERENCES inscrit (id)');
$this->addSql('ALTER TABLE formation ADD longformation TINYINT(1) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('DROP TABLE enquete_j1_long');
$this->addSql('ALTER TABLE formation DROP longformation');
}
}