feat(secrets): add migartion

This commit is contained in:
fiftin 2024-07-01 23:54:39 +05:00
parent 59ef3f8a12
commit 40c5dbcbd8
No known key found for this signature in database
GPG Key ID: 044381366A5D4731

View 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
);