diff --git a/packages/cli/src/commands/pg/settings/log-lock-waits.ts b/packages/cli/src/commands/pg/settings/log-lock-waits.ts index dc8e3c844f..dc3f2f7fc5 100644 --- a/packages/cli/src/commands/pg/settings/log-lock-waits.ts +++ b/packages/cli/src/commands/pg/settings/log-lock-waits.ts @@ -1,6 +1,7 @@ import {Args} from '@oclif/core' import heredoc from 'tsheredoc' -import {PGSettingsCommand, type Setting, booleanConverter} from '../../../lib/pg/setter' +import {PGSettingsCommand, type Setting, booleanConverter, SettingKey} from '../../../lib/pg/setter' + export default class LogLockWaits extends PGSettingsCommand { static topic = 'pg' static description = heredoc(` @@ -14,7 +15,7 @@ export default class LogLockWaits extends PGSettingsCommand { value: Args.string(), } - protected settingsName = 'log_lock_waits' + protected settingKey: SettingKey = 'log_lock_waits' protected convertValue(val: boolean): boolean { return booleanConverter(val)