From 179108c4113f49da731ef37354c2edd2f498cfac Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Tue, 13 Sep 2022 12:19:06 +0800 Subject: [PATCH] feat(nocodb): add stack_meta to migration script --- .../nocodb/src/lib/migrations/v2/nc_019_add_kanban_meta_col.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/nocodb/src/lib/migrations/v2/nc_019_add_kanban_meta_col.ts b/packages/nocodb/src/lib/migrations/v2/nc_019_add_kanban_meta_col.ts index 2921bce7e4..9867c23fa3 100644 --- a/packages/nocodb/src/lib/migrations/v2/nc_019_add_kanban_meta_col.ts +++ b/packages/nocodb/src/lib/migrations/v2/nc_019_add_kanban_meta_col.ts @@ -4,12 +4,14 @@ import { MetaTable } from '../../utils/globals'; const up = async (knex: Knex) => { await knex.schema.alterTable(MetaTable.KANBAN_VIEW, (table) => { table.string('grp_column_id'); + table.text('stack_meta'); }); }; const down = async (knex) => { await knex.schema.alterTable(MetaTable.KANBAN_VIEW, (table) => { table.dropColumns('grp_column_id'); + table.dropColumns('stack_meta'); }); };