diff --git a/db/sql/migrations/v2.9.62.sql b/db/sql/migrations/v2.9.62.sql index db41a716..57490645 100644 --- a/db/sql/migrations/v2.9.62.sql +++ b/db/sql/migrations/v2.9.62.sql @@ -2,7 +2,7 @@ alter table project add `type` varchar(20) default ''; alter table task add `inventory_id` int null references project__inventory(`id`) on delete set null; -alter table project__inventory add `holder_id` int null references project__template(`id`) on delete cascade; +alter table project__inventory add `holder_id` int null references project__template(`id`) on delete set null; create table `option` ( `key` varchar(255) primary key not null,