mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 10:45:58 +00:00
feat: updated ui replication text and approval replication flag
This commit is contained in:
@@ -26,6 +26,12 @@ export async function up(knex: Knex): Promise<void> {
|
||||
t.boolean("isReplicated");
|
||||
});
|
||||
}
|
||||
|
||||
if (await knex.schema.hasTable(TableName.SecretApprovalRequest)) {
|
||||
await knex.schema.alterTable(TableName.SecretApprovalRequest, (t) => {
|
||||
t.boolean("isReplicated");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export async function down(knex: Knex): Promise<void> {
|
||||
@@ -52,4 +58,10 @@ export async function down(knex: Knex): Promise<void> {
|
||||
t.dropColumns("isReplicated");
|
||||
});
|
||||
}
|
||||
|
||||
if (await knex.schema.hasTable(TableName.SecretApprovalRequest)) {
|
||||
await knex.schema.alterTable(TableName.SecretApprovalRequest, (t) => {
|
||||
t.dropColumn("isReplicated");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user