feat: add fields to migrations

This commit is contained in:
fiftin 2024-03-10 13:08:45 +01:00
parent 479eb889f8
commit 2bdcc8b043

View File

@ -1 +1,5 @@
alter table project add `type` varchar(20) default ''; 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;