mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 07:19:20 +01:00
fix(db): add project id to tf state
This commit is contained in:
parent
5b2682aee2
commit
f151ee7b89
@ -10,8 +10,10 @@ create table project__terraform_inventory_alias(
|
||||
|
||||
create table project__terraform_inventory_state(
|
||||
`id` integer primary key autoincrement,
|
||||
`project_id` int,
|
||||
`inventory_id` int,
|
||||
`state` text,
|
||||
`created` datetime NOT NULL,
|
||||
foreign key (`project_id`) references project(`id`) on delete cascade,
|
||||
foreign key (`inventory_id`) references project__inventory(`id`) on delete cascade
|
||||
);
|
Loading…
Reference in New Issue
Block a user