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 1ec197ce8f
commit 3480f6741c
2 changed files with 3 additions and 3 deletions

View File

@ -74,10 +74,10 @@ export const buildMigrations = () => {
})
break
}
case MigrationName.TABLE_SETTINGS: {
case MigrationName.TABLE_SETTINGS_LINKS_TO_ACTIONS: {
serverMigrations.push({
...definition,
appOpts: { all: true },
appOpts: { dev: true },
fn: tableSettings.run,
})
break

View File

@ -44,7 +44,7 @@ export enum MigrationName {
EVENT_GLOBAL_BACKFILL = "event_global_backfill",
EVENT_INSTALLATION_BACKFILL = "event_installation_backfill",
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
SYNC_QUOTAS = "sync_quotas_1",
}