mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 01:52:22 +00:00
add tenancy OCID requirement
This commit is contained in:
@@ -16,6 +16,7 @@ export async function up(knex: Knex): Promise<void> {
|
||||
t.foreign("identityId").references("id").inTable(TableName.Identity).onDelete("CASCADE");
|
||||
t.string("type").notNullable();
|
||||
|
||||
t.string("tenancyOcid").notNullable();
|
||||
t.string("allowedUsernames").notNullable();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@ export const IdentityOciAuthsSchema = z.object({
|
||||
updatedAt: z.date(),
|
||||
identityId: z.string().uuid(),
|
||||
type: z.string(),
|
||||
tenancyOcid: z.string(),
|
||||
allowedUsernames: z.string()
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user