diff --git a/src/main/kotlin/dev/inmo/plagubot/plugins/captcha/db/CaptchaChatsSettingsRepo.kt b/src/main/kotlin/dev/inmo/plagubot/plugins/captcha/db/CaptchaChatsSettingsRepo.kt index af36785..15e4821 100644 --- a/src/main/kotlin/dev/inmo/plagubot/plugins/captcha/db/CaptchaChatsSettingsRepo.kt +++ b/src/main/kotlin/dev/inmo/plagubot/plugins/captcha/db/CaptchaChatsSettingsRepo.kt @@ -31,8 +31,8 @@ class CaptchaChatsSettingsRepo( default(defaultCaptchaProviderValue) } private val autoRemoveCommandsColumn = bool("autoRemoveCommands") - private val autoRemoveEventsColumn = bool("autoRemoveEvents") - private val enabledColumn = bool("enabled") + private val autoRemoveEventsColumn = bool("autoRemoveEvents").apply { default(true) } + private val enabledColumn = bool("enabled").default(true) override val primaryKey = PrimaryKey(chatIdColumn)