mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 02:45:28 +00:00
move migration to v0
This commit is contained in:
@@ -86,7 +86,6 @@ import * as nc_094_add_meta_to_filter_exp_v2 from '~/meta/migrations/v2/nc_094_a
|
||||
import * as nc_096_deprecate_unused from '~/meta/migrations/v2/nc_096_deprecate_unused';
|
||||
import * as nc_097_unify_schema from '~/meta/migrations/v2/nc_097_unify_schema';
|
||||
import * as nc_098_default_workspace from '~/meta/migrations/v2/nc_098_default_workspace';
|
||||
import * as nc_099_automation_is_polling from '~/meta/migrations/v2/nc_099_automation_is_polling';
|
||||
|
||||
// Create a custom migration source class
|
||||
export default class XcMigrationSourcev2 {
|
||||
@@ -363,8 +362,6 @@ export default class XcMigrationSourcev2 {
|
||||
return nc_097_unify_schema;
|
||||
case 'nc_098_default_workspace':
|
||||
return nc_098_default_workspace;
|
||||
case 'nc_099_automation_is_polling':
|
||||
return nc_099_automation_is_polling;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { MetaTable } from 'src/cli';
|
||||
import type { Knex } from 'knex';
|
||||
import { MetaTable } from '~/utils/globals';
|
||||
|
||||
const up = async (knex: Knex) => {
|
||||
await knex.schema.alterTable(MetaTable.AUTOMATIONS, (table) => {
|
||||
Reference in New Issue
Block a user