mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
feat(secrets): add migartion
This commit is contained in:
parent
59ef3f8a12
commit
40c5dbcbd8
9
db/sql/migrations/v2.10.15.sql
Normal file
9
db/sql/migrations/v2.10.15.sql
Normal file
@ -0,0 +1,9 @@
|
||||
create table project__environment_secret (
|
||||
`id` integer primary key autoincrement,
|
||||
`name` varchar(255) not null,
|
||||
`environment_id` int not null,
|
||||
`secret_id` int not null,
|
||||
|
||||
foreign key (`environment_id`) references project__environment(`id`) on delete cascade,
|
||||
foreign key (`secret_id`) references access_key(`id`) on delete cascade
|
||||
);
|
Loading…
Reference in New Issue
Block a user