mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 19:28:09 +00:00
Remove async from migration
This commit is contained in:
@@ -12,7 +12,7 @@ export async function up(knex: Knex): Promise<void> {
|
|||||||
"lockoutCounterResetSeconds"
|
"lockoutCounterResetSeconds"
|
||||||
);
|
);
|
||||||
|
|
||||||
await knex.schema.alterTable(TableName.IdentityUniversalAuth, async (t) => {
|
await knex.schema.alterTable(TableName.IdentityUniversalAuth, (t) => {
|
||||||
if (!hasLockoutEnabled) {
|
if (!hasLockoutEnabled) {
|
||||||
t.boolean("lockoutEnabled").notNullable().defaultTo(true);
|
t.boolean("lockoutEnabled").notNullable().defaultTo(true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user