feat: resolved root key failing for base64 and also added projectid and orgid field

This commit is contained in:
=
2024-06-05 23:58:45 +05:30
parent abbef4fc44
commit 62f92b0bfa
4 changed files with 26 additions and 6 deletions
@@ -21,6 +21,11 @@ export async function up(knex: Knex): Promise<void> {
t.integer("version").defaultTo(1).notNullable();
t.string("description");
t.boolean("isDisabled").defaultTo(false);
t.boolean("isReserved").defaultTo(true);
t.string("projectId");
t.foreign("projectId").references("id").inTable(TableName.Project).onDelete("CASCADE");
t.uuid("orgId");
t.foreign("orgId").references("id").inTable(TableName.Organization).onDelete("CASCADE");
});
}