<?phpdeclare(strict_types=1);namespaceDoctrineMigrations;useDoctrine\DBAL\Schema\Schema;useDoctrine\Migrations\AbstractMigration;/** * Auto-generated Migration: Please modify to your needs! */finalclassVersion20240306164256extendsAbstractMigration{publicfunctiongetDescription():string{return'';}publicfunctionup(Schema$schema):void{// this up() migration is auto-generated, please modify it to your needs$this->addSql('CREATE TABLE dependent_child (id INT AUTO_INCREMENT NOT NULL, adherent_id CHAR(36) NOT NULL COMMENT \'(DC2Type:uuid)\', older_than_fourteen TINYINT(1) NOT NULL, conventionnement NUMERIC(10, 2) DEFAULT NULL, INDEX IDX_15BF27C725F06C53 (adherent_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_general_ci` ENGINE = InnoDB');$this->addSql('ALTER TABLE dependent_child ADD CONSTRAINT FK_15BF27C725F06C53 FOREIGN KEY (adherent_id) REFERENCES adherent (id)');$this->addSql('ALTER TABLE prestataire CHANGE iban iban LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:personal_data)\'');}publicfunctiondown(Schema$schema):void{// this down() migration is auto-generated, please modify it to your needs$this->addSql('DROP TABLE dependent_child');$this->addSql('ALTER TABLE prestataire CHANGE iban iban LONGTEXT CHARACTER SET utf8 DEFAULT NULL COLLATE `utf8_general_ci` COMMENT \'(DC2Type:personal_data)\'');}}