Rename table settings migration and only run on dev apps

This commit is contained in:
Andrew Kingston 2022-11-24 14:23:04 +00:00
parent fe72fc6463
commit 0016899459
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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",
} }