mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
set cascade in trusted ip for project id
This commit is contained in:
committed by
Akhil Mohan
parent
83bff9ae14
commit
15fc4fd609
@@ -13,7 +13,7 @@ export async function up(knex: Knex): Promise<void> {
|
||||
t.boolean("isActive").defaultTo(true);
|
||||
t.string("comment");
|
||||
t.string("projectId").notNullable();
|
||||
t.foreign("projectId").references("id").inTable(TableName.Project);
|
||||
t.foreign("projectId").references("id").inTable(TableName.Project).onDelete("CASCADE");
|
||||
t.timestamps(true, true, true);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user