Browse Source

refactor: migration name update

pull/8281/head
Pranav C 7 months ago
parent
commit
1c5defb26f
  1. 8
      packages/nocodb/src/meta/migrations/XcMigrationSourcev2.ts
  2. 0
      packages/nocodb/src/meta/migrations/v2/nc_043_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_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_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_user_refresh_token from '~/meta/migrations/v2/nc_043_user_refresh_token';
import * as nc_042_view_column_index from '~/meta/migrations/v2/nc_042_view_column_index'; import * as nc_043_view_column_index from '~/meta/migrations/v2/nc_043_view_column_index';
// Create a custom migration source class // Create a custom migration source class
export default class XcMigrationSourcev2 { export default class XcMigrationSourcev2 {
@ -72,7 +72,7 @@ export default class XcMigrationSourcev2 {
'nc_041_calendar_view', 'nc_041_calendar_view',
'nc_042_user_block', 'nc_042_user_block',
'nc_043_user_refresh_token', 'nc_043_user_refresh_token',
'nc_042_view_column_index', 'nc_043_view_column_index',
]); ]);
} }
@ -146,8 +146,8 @@ export default class XcMigrationSourcev2 {
return nc_042_user_block; return nc_042_user_block;
case 'nc_043_user_refresh_token': case 'nc_043_user_refresh_token':
return nc_043_user_refresh_token; return nc_043_user_refresh_token;
case 'nc_042_view_column_index': case 'nc_043_view_column_index':
return nc_042_view_column_index; return nc_043_view_column_index;
} }
} }
} }

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

Loading…
Cancel
Save