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

Commit

Permalink
Revert "clean database"
Browse files Browse the repository at this point in the history
This reverts commit a1ec1e7.
  • Loading branch information
AuroraSmil committed Feb 27, 2024
1 parent a1ec1e7 commit 28bbd56
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import no.nav.paw.arbeidssoekerregisteret.eksternt.api.plugins.configureSerializ
import no.nav.paw.arbeidssoekerregisteret.eksternt.api.routes.arbeidssoekerRoutes
import no.nav.paw.arbeidssoekerregisteret.eksternt.api.routes.healthRoutes
import no.nav.paw.arbeidssoekerregisteret.eksternt.api.routes.swaggerRoutes
import no.nav.paw.arbeidssoekerregisteret.eksternt.api.utils.cleanDatabase
import no.nav.paw.arbeidssoekerregisteret.eksternt.api.utils.logger
import no.nav.paw.arbeidssoekerregisteret.eksternt.api.utils.migrateDatabase
import kotlin.concurrent.thread
Expand All @@ -24,7 +23,6 @@ fun Application.module() {
val dependencies = createDependencies()
val environmentConfig = environment.config

cleanDatabase(dependencies.dataSource)
// Migrerer database
migrateDatabase(dependencies.dataSource)

Expand Down

0 comments on commit 28bbd56

Please sign in to comment.