From e356f30a0a51ce2636d813a0c16bc3b144108301 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 2 Apr 2024 18:12:51 +0530 Subject: [PATCH] refactor: add index Signed-off-by: Pranav C --- .../nocodb/src/meta/migrations/v2/nc_043_user_refresh_token.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/meta/migrations/v2/nc_043_user_refresh_token.ts b/packages/nocodb/src/meta/migrations/v2/nc_043_user_refresh_token.ts index 1274c96a04..98e9a6b8c3 100644 --- a/packages/nocodb/src/meta/migrations/v2/nc_043_user_refresh_token.ts +++ b/packages/nocodb/src/meta/migrations/v2/nc_043_user_refresh_token.ts @@ -11,7 +11,7 @@ const up = async (knex: Knex) => { table.string('token', 255).index(); table.text('meta'); - table.timestamp('expires_at'); + table.timestamp('expires_at').index(); table.timestamps(true, true); });