skip verify

This commit is contained in:
Maidul Islam
2024-02-29 16:00:28 -05:00
parent 3dce03180f
commit 155e315347
@@ -8,11 +8,11 @@ export async function up(knex: Knex): Promise<void> {
await knex.schema.alterTable(TableName.SuperAdmin, (t) => { await knex.schema.alterTable(TableName.SuperAdmin, (t) => {
t.uuid("instanceId").notNullable().defaultTo(knex.fn.uuid()); t.uuid("instanceId").notNullable().defaultTo(knex.fn.uuid());
}); });
// this is updated to avoid race condition on replication // this is updated to avoid race condition on replication
// eslint-disable-next-line // eslint-disable-next-line
// @ts-ignore // @ts-ignore
await knex(TableName.SuperAdmin) await knex(TableName.SuperAdmin).update({ id: ADMIN_CONFIG_UUID })
.update({ id: ADMIN_CONFIG_UUID })
.whereNotNull("id") .whereNotNull("id")
.andWhere("id", "<>", ADMIN_CONFIG_UUID) .andWhere("id", "<>", ADMIN_CONFIG_UUID)
.limit(1); .limit(1);