Browse Source

feat(nocodb): add stack_meta to migration script

pull/3818/head
Wing-Kam Wong 2 years ago
parent
commit
179108c411
  1. 2
      packages/nocodb/src/lib/migrations/v2/nc_019_add_kanban_meta_col.ts

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

Loading…
Cancel
Save