addSql('DROP INDEX UNIQ_A459B5CADD3E4105'); $this->addSql('ALTER TABLE chill_main_location_type DROP defaultFor'); } public function getDescription(): string { return 'Add defaultFor to LocationType'; } public function up(Schema $schema): void { $this->addSql('ALTER TABLE chill_main_location_type ADD defaultFor VARCHAR(32) DEFAULT NULL'); $this->addSql('CREATE UNIQUE INDEX UNIQ_A459B5CADD3E4105 ON chill_main_location_type (defaultFor)'); } }