Browse Source

fix(nocodb): add migration script to update form view field type

pull/7610/head
Ramesh Mane 10 months ago
parent
commit
4fc0f3ef23
  1. 18
      packages/nocodb/src/meta/migrations/v2/nc_039_form_view_filds.ts

18
packages/nocodb/src/meta/migrations/v2/nc_039_form_view_filds.ts

@ -0,0 +1,18 @@
import type { Knex } from 'knex';
import { MetaTable } from '~/utils/globals';
const up = async (knex: Knex) => {
await knex.schema.alterTable(MetaTable.FORM_VIEW, (table) => {
table.text('subheading').alter();
table.text('success_msg').alter();
});
await knex.schema.alterTable(MetaTable.FORM_VIEW_COLUMNS, (table) => {
table.text('label').alter();
table.text('description').alter();
});
};
const down = async (knex: Knex) => {};
export { up, down };
Loading…
Cancel
Save