From d162a87893cbc1fe28df6e3425e2882f4d83720a Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 28 Jun 2022 18:47:37 +0530 Subject: [PATCH] fix(migration): foreign key length correction Signed-off-by: Pranav C --- packages/nocodb/src/lib/migrations/v2/nc_013_sync_source.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/lib/migrations/v2/nc_013_sync_source.ts b/packages/nocodb/src/lib/migrations/v2/nc_013_sync_source.ts index 638eab0eec..b61dd5ffb2 100644 --- a/packages/nocodb/src/lib/migrations/v2/nc_013_sync_source.ts +++ b/packages/nocodb/src/lib/migrations/v2/nc_013_sync_source.ts @@ -17,7 +17,7 @@ const up = async (knex: Knex) => { table.string('project_id', 128); table.foreign('project_id').references(`${MetaTable.PROJECT}.id`); - table.string('fk_user_id', 128); + table.string('fk_user_id', 20); table.foreign('fk_user_id').references(`${MetaTable.USERS}.id`); table.timestamps(true, true);