<?phpdeclare(strict_types=1);namespace DoctrineMigrations;use Doctrine\DBAL\Schema\Schema;use Doctrine\Migrations\AbstractMigration;final class Version20250724124104 extends AbstractMigration{ public function getDescription(): string { return 'Remove step_items linked to products where product enabled is false'; } public function up(Schema $schema): void { $this->addSql('DELETE FROM step_item WHERE product_id IN (SELECT id FROM product WHERE enabled = false)'); }}