From 9e5962002e3f6a822b92e4cf63cf377df9cbfb13 Mon Sep 17 00:00:00 2001 From: flisowna Date: Fri, 23 Dec 2022 15:31:00 +0100 Subject: [PATCH] barcode fix count naming in migrations --- packages/nocodb/src/lib/migrations/XcMigrationSourcev2.ts | 8 ++++---- ...rcode_column_type.ts => nc_024_barcode_column_type.ts} | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename packages/nocodb/src/lib/migrations/v2/{nc_023_barcode_column_type.ts => nc_024_barcode_column_type.ts} (100%) diff --git a/packages/nocodb/src/lib/migrations/XcMigrationSourcev2.ts b/packages/nocodb/src/lib/migrations/XcMigrationSourcev2.ts index 6399ccaac2..8cf290e503 100644 --- a/packages/nocodb/src/lib/migrations/XcMigrationSourcev2.ts +++ b/packages/nocodb/src/lib/migrations/XcMigrationSourcev2.ts @@ -10,8 +10,8 @@ import * as nc_019_add_meta_in_meta_tables from './v2/nc_019_add_meta_in_meta_ta import * as nc_020_kanban_view from './v2/nc_020_kanban_view'; import * as nc_021_add_fields_in_token from './v2/nc_021_add_fields_in_token'; import * as nc_022_qr_code_column_type from './v2/nc_022_qr_code_column_type'; -import * as nc_023_barcode_column_type from './v2/nc_023_barcode_column_type'; import * as nc_023_multiple_source from './v2/nc_023_multiple_source'; +import * as nc_024_barcode_column_type from './v2/nc_024_barcode_column_type'; // Create a custom migration source class export default class XcMigrationSourcev2 { @@ -33,8 +33,8 @@ export default class XcMigrationSourcev2 { 'nc_020_kanban_view', 'nc_021_add_fields_in_token', 'nc_022_qr_code_column_type', - 'nc_023_barcode_column_type', 'nc_023_multiple_source', + 'nc_024_barcode_column_type', ]); } @@ -68,10 +68,10 @@ export default class XcMigrationSourcev2 { return nc_021_add_fields_in_token; case 'nc_022_qr_code_column_type': return nc_022_qr_code_column_type; - case 'nc_023_barcode_column_type': - return nc_023_barcode_column_type; case 'nc_023_multiple_source': return nc_023_multiple_source; + case 'nc_024_barcode_column_type': + return nc_024_barcode_column_type; } } } diff --git a/packages/nocodb/src/lib/migrations/v2/nc_023_barcode_column_type.ts b/packages/nocodb/src/lib/migrations/v2/nc_024_barcode_column_type.ts similarity index 100% rename from packages/nocodb/src/lib/migrations/v2/nc_023_barcode_column_type.ts rename to packages/nocodb/src/lib/migrations/v2/nc_024_barcode_column_type.ts