Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
Add table create
Browse files Browse the repository at this point in the history
  • Loading branch information
waltkb committed Nov 22, 2023
1 parent cf7cfd6 commit 3134725
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/kotlin/id/walt/db/Db.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package id.walt.db
import id.walt.config.ConfigManager
import id.walt.config.DatasourceConfiguration
import id.walt.db.models.*
import id.walt.db.models.todo.Issuers
import id.walt.service.account.AccountsService
import id.walt.web.model.EmailAccountRequest
import io.github.oshai.kotlinlogging.KotlinLogging
Expand Down Expand Up @@ -49,6 +50,7 @@ object Db {
addLogger(StdOutSqlLogger)

SchemaUtils.drop(
Issuers,
WalletOperationHistories,
WalletDids,
WalletKeys,
Expand All @@ -68,7 +70,8 @@ object Db {
WalletCredentials,
WalletKeys,
WalletDids,
WalletOperationHistories
WalletOperationHistories,
Issuers
)

runBlocking {
Expand Down

0 comments on commit 3134725

Please sign in to comment.