mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 17:27:40 +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.boolean("isActive").defaultTo(true);
|
||||||
t.string("comment");
|
t.string("comment");
|
||||||
t.string("projectId").notNullable();
|
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);
|
t.timestamps(true, true, true);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user