addSql('ALTER TABLE chill_main_workflow_entity_step_hold DROP CONSTRAINT fk_1be2e7c73b21e9c'); $this->addSql('ALTER TABLE chill_main_workflow_entity_step_hold ADD CONSTRAINT fk_1be2e7c73b21e9c FOREIGN KEY (step_id) REFERENCES chill_main_workflow_entity_step (id) ON DELETE CASCADE'); } public function down(Schema $schema): void { $this->addSql('ALTER TABLE chill_main_workflow_entity_step_hold DROP CONSTRAINT fk_1be2e7c73b21e9c'); $this->addSql('ALTER TABLE chill_main_workflow_entity_step_hold ADD CONSTRAINT fk_1be2e7c73b21e9c FOREIGN KEY (step_id) REFERENCES chill_main_workflow_entity_step (id)'); } }