Rename table settings migration and only run on dev apps
This commit is contained in:
parent
fe72fc6463
commit
0016899459
|
@ -74,10 +74,10 @@ export const buildMigrations = () => {
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
case MigrationName.TABLE_SETTINGS: {
|
case MigrationName.TABLE_SETTINGS_LINKS_TO_ACTIONS: {
|
||||||
serverMigrations.push({
|
serverMigrations.push({
|
||||||
...definition,
|
...definition,
|
||||||
appOpts: { all: true },
|
appOpts: { dev: true },
|
||||||
fn: tableSettings.run,
|
fn: tableSettings.run,
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
|
|
|
@ -44,7 +44,7 @@ export enum MigrationName {
|
||||||
EVENT_GLOBAL_BACKFILL = "event_global_backfill",
|
EVENT_GLOBAL_BACKFILL = "event_global_backfill",
|
||||||
EVENT_INSTALLATION_BACKFILL = "event_installation_backfill",
|
EVENT_INSTALLATION_BACKFILL = "event_installation_backfill",
|
||||||
GLOBAL_INFO_SYNC_USERS = "global_info_sync_users",
|
GLOBAL_INFO_SYNC_USERS = "global_info_sync_users",
|
||||||
TABLE_SETTINGS = "table_settings",
|
TABLE_SETTINGS_LINKS_TO_ACTIONS = "table_settings_links_to_actions",
|
||||||
// increment this number to re-activate this migration
|
// increment this number to re-activate this migration
|
||||||
SYNC_QUOTAS = "sync_quotas_1",
|
SYNC_QUOTAS = "sync_quotas_1",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue