fix(be0: set null instead of cascade for holder_id

This commit is contained in:
fiftin 2024-03-11 23:12:57 +01:00
parent 0ee2d5fc16
commit 8486b43380

View File

@ -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,