From c80a154e42a497444d4b4ee9ef1b04afc62b767b Mon Sep 17 00:00:00 2001 From: flisowna Date: Thu, 23 Feb 2023 18:05:15 +0100 Subject: [PATCH] delete unused migration file --- .../migrations/v2/nc_025_map_view_column.ts | 31 ------------------- 1 file changed, 31 deletions(-) delete mode 100644 packages/nocodb/src/lib/migrations/v2/nc_025_map_view_column.ts diff --git a/packages/nocodb/src/lib/migrations/v2/nc_025_map_view_column.ts b/packages/nocodb/src/lib/migrations/v2/nc_025_map_view_column.ts deleted file mode 100644 index d1f22fce9a..0000000000 --- a/packages/nocodb/src/lib/migrations/v2/nc_025_map_view_column.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { MetaTable } from '../../utils/globals'; - -const up = async (knex) => { - await knex.schema.createTable(MetaTable.MAP_VIEW_COLUMNS, (table) => { - table.string('id', 20).primary().notNullable(); - - table.string('base_id', 20); - table.string('project_id', 128); - - table.string('fk_view_id', 20); - table.foreign('fk_view_id').references(`${MetaTable.MAP_VIEW}.fk_view_id`); - table.string('fk_column_id', 20); - table.foreign('fk_column_id').references(`${MetaTable.COLUMNS}.id`); - - table.string('uuid'); - - table.string('label'); - table.string('help'); - - table.boolean('show'); - table.float('order'); - - table.timestamps(true, true); - }); -}; - -const down = async (knex) => { - await knex.schema.dropTable(MetaTable.MAP_VIEW_COLUMNS); -}; - -export { up, down };