small refactor

This commit is contained in:
2020-07-30 15:34:32 +06:00
parent 3795b85827
commit a6a7634076
11 changed files with 132 additions and 61 deletions

View File

@@ -15,7 +15,9 @@ class ExposedPublishingKeysRepo(
override val primaryKey: PrimaryKey = PrimaryKey(postIdColumn, triggerControlKeyColumn)
init {
transaction(database) {
newSuspendedTransaction(
db = database
) {
SchemaUtils.createMissingTablesAndColumns(this@ExposedPublishingKeysRepo)
}
}