addSql('ALTER TABLE user ADD url_id VARCHAR(13) NOT NULL'); $this->addSql('ALTER TABLE wish ADD url_id VARCHAR(13) NOT NULL'); } public function down(Schema $schema): void { // this down() migration is auto-generated, please modify it to your needs $this->addSql('ALTER TABLE `user` DROP url_id'); $this->addSql('ALTER TABLE wish DROP url_id'); } }