Compare commits
No commits in common. "a719addee4e57b7c79b545558bf14f215ef10d96" and "2bfc28555cd4b54928967d486e8023710597a5e5" have entirely different histories.
a719addee4
...
2bfc28555c
@ -1,9 +1,5 @@
|
||||
import database.DatabaseFactory
|
||||
import database.dao.ResultObjects
|
||||
import di.databasemodule
|
||||
import mq.ConsumerWrapper
|
||||
import org.jetbrains.exposed.sql.SchemaUtils
|
||||
import org.jetbrains.exposed.sql.transactions.transaction
|
||||
import org.koin.core.context.GlobalContext.startKoin
|
||||
|
||||
fun main(vararg args: String) {
|
||||
@ -13,11 +9,6 @@ fun main(vararg args: String) {
|
||||
modules(databasemodule)
|
||||
}
|
||||
|
||||
DatabaseFactory.init()
|
||||
transaction{
|
||||
SchemaUtils.create(ResultObjects)
|
||||
}
|
||||
|
||||
val consumerWrapper = ConsumerWrapper();
|
||||
consumerWrapper.recieve();
|
||||
}
|
Loading…
Reference in New Issue
Block a user