Browse Source

refactor: migration name correction

pull/8281/head
Pranav C 9 months ago
parent
commit
3a33c0e791
  1. 8
      packages/nocodb/src/meta/migrations/XcMigrationSourcev2.ts
  2. 0
      packages/nocodb/src/meta/migrations/v2/nc_044_view_column_index.ts

8
packages/nocodb/src/meta/migrations/XcMigrationSourcev2.ts

@ -30,7 +30,7 @@ import * as nc_040_form_view_alter_column_types from '~/meta/migrations/v2/nc_04
import * as nc_041_calendar_view from '~/meta/migrations/v2/nc_041_calendar_view';
import * as nc_042_user_block from '~/meta/migrations/v2/nc_042_user_block';
import * as nc_043_user_refresh_token from '~/meta/migrations/v2/nc_043_user_refresh_token';
import * as nc_043_view_column_index from '~/meta/migrations/v2/nc_043_view_column_index';
import * as nc_044_view_column_index from '~/meta/migrations/v2/nc_044_view_column_index';
// Create a custom migration source class
export default class XcMigrationSourcev2 {
@ -72,7 +72,7 @@ export default class XcMigrationSourcev2 {
'nc_041_calendar_view',
'nc_042_user_block',
'nc_043_user_refresh_token',
'nc_043_view_column_index',
'nc_044_view_column_index',
]);
}
@ -146,8 +146,8 @@ export default class XcMigrationSourcev2 {
return nc_042_user_block;
case 'nc_043_user_refresh_token':
return nc_043_user_refresh_token;
case 'nc_043_view_column_index':
return nc_043_view_column_index;
case 'nc_044_view_column_index':
return nc_044_view_column_index;
}
}
}

0
packages/nocodb/src/meta/migrations/v2/nc_043_view_column_index.ts → packages/nocodb/src/meta/migrations/v2/nc_044_view_column_index.ts

Loading…
Cancel
Save