mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-08-07 21:01:14 +00:00
some changes on Connector, RegisterCommand
This commit is contained in:
@@ -24,7 +24,15 @@ object Connector {
|
||||
|
||||
init {
|
||||
Database.connect(dataSource)
|
||||
val tables = listOf(Users, Commands, Counters, DailyCounters, PersonalCounters, Managers)
|
||||
val tables = listOf(
|
||||
Users,
|
||||
Commands,
|
||||
Counters,
|
||||
DailyCounters,
|
||||
PersonalCounters,
|
||||
Managers,
|
||||
TimerConfigs
|
||||
)
|
||||
|
||||
transaction {
|
||||
SchemaUtils.createMissingTablesAndColumns(* tables.toTypedArray())
|
||||
|
Reference in New Issue
Block a user