mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-09 12:28:20 +00:00
ignore multi line eslint
This commit is contained in:
@@ -10,12 +10,13 @@ export async function up(knex: Knex): Promise<void> {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// this is updated to avoid race condition on replication
|
// this is updated to avoid race condition on replication
|
||||||
// eslint-disable-next-line
|
/* eslint-disable */
|
||||||
// @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);
|
||||||
|
/* eslint-enable */
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function down(knex: Knex): Promise<void> {
|
export async function down(knex: Knex): Promise<void> {
|
||||||
|
|||||||
Reference in New Issue
Block a user