migrations/Version20231109141902.php line 1
<?phpdeclare(strict_types=1);namespace DoctrineMigrations;use Doctrine\DBAL\Schema\Schema;use Doctrine\Migrations\AbstractMigration;/*** Auto-generated Migration: Please modify to your needs!*/final class Version20231109141902 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 locataire ADD type_identitfication VARCHAR(25) DEFAULT NULL');$this->addSql('ALTER TABLE societe ADD name VARCHAR(50) NOT NULL, ADD phone VARCHAR(25) NOT NULL, ADD email VARCHAR(50) DEFAULT NULL, ADD adress VARCHAR(255) DEFAULT NULL');}public function down(Schema $schema): void{// this down() migration is auto-generated, please modify it to your needs$this->addSql('ALTER TABLE locataire DROP type_identitfication');$this->addSql('ALTER TABLE societe DROP name, DROP phone, DROP email, DROP adress');}}