mirror of
https://github.com/InsanusMokrassar/CaptchaPlaguBotPlugin.git
synced 2024-11-25 03:28:52 +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