Browse Source

fix: Reduce primary string key size

ref - https://stackoverflow.com/a/61976932

Signed-off-by: Pranav C <pranavxc@gmail.com>

#447
pull/458/head
Pranav C 3 years ago
parent
commit
59e4fc4cec
  1. 2
      packages/nocodb/src/lib/noco/migrations/nc_001_init.ts

2
packages/nocodb/src/lib/noco/migrations/nc_001_init.ts

@ -16,7 +16,7 @@ import ses from "../plugins/ses";
const up = async (knex) => {
await knex.schema.createTable('nc_projects', table => {
table.string('id').primary();
table.string('id', 191).primary();
table.string('title');
table.string('status');
table.text('description');

Loading…
Cancel
Save