Browse Source

fix(migration): foreign key length correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2498/head
Pranav C 2 years ago
parent
commit
d162a87893
  1. 2
      packages/nocodb/src/lib/migrations/v2/nc_013_sync_source.ts

2
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);

Loading…
Cancel
Save