mirror of
https://github.com/InsanusMokrassar/CaptchaPlaguBotPlugin.git
synced 2024-11-25 11:38:55 +00:00
add defaults to new columns
This commit is contained in:
parent
d375875067
commit
306eccf380
@ -31,8 +31,8 @@ class CaptchaChatsSettingsRepo(
|
|||||||
default(defaultCaptchaProviderValue)
|
default(defaultCaptchaProviderValue)
|
||||||
}
|
}
|
||||||
private val autoRemoveCommandsColumn = bool("autoRemoveCommands")
|
private val autoRemoveCommandsColumn = bool("autoRemoveCommands")
|
||||||
private val autoRemoveEventsColumn = bool("autoRemoveEvents")
|
private val autoRemoveEventsColumn = bool("autoRemoveEvents").apply { default(true) }
|
||||||
private val enabledColumn = bool("enabled")
|
private val enabledColumn = bool("enabled").default(true)
|
||||||
|
|
||||||
override val primaryKey = PrimaryKey(chatIdColumn)
|
override val primaryKey = PrimaryKey(chatIdColumn)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user