From 84799a43a6c5314188b660036394b515770413a5 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Thu, 15 Feb 2024 09:15:05 +0000 Subject: [PATCH] refactor: form view field migration script --- .../nocodb/src/meta/migrations/v2/nc_039_form_view_filds.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/nocodb/src/meta/migrations/v2/nc_039_form_view_filds.ts b/packages/nocodb/src/meta/migrations/v2/nc_039_form_view_filds.ts index bc6428c6ea..429a6a447c 100644 --- a/packages/nocodb/src/meta/migrations/v2/nc_039_form_view_filds.ts +++ b/packages/nocodb/src/meta/migrations/v2/nc_039_form_view_filds.ts @@ -4,11 +4,14 @@ import { MetaTable } from '~/utils/globals'; const up = async (knex: Knex) => { await knex.schema.alterTable(MetaTable.FORM_VIEW, (table) => { table.text('subheading').alter(); + }); + await knex.schema.alterTable(MetaTable.FORM_VIEW, (table) => { table.text('success_msg').alter(); }); - await knex.schema.alterTable(MetaTable.FORM_VIEW_COLUMNS, (table) => { table.text('label').alter(); + }); + await knex.schema.alterTable(MetaTable.FORM_VIEW_COLUMNS, (table) => { table.text('description').alter(); }); };