mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-12-03 14:51:05 +01:00
fix(be0: set null instead of cascade for holder_id
This commit is contained in:
parent
0ee2d5fc16
commit
8486b43380
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user