mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
@ -387,6 +387,20 @@ docspell.server {
|
||||
password = ""
|
||||
}
|
||||
|
||||
# Additional settings related to schema migration.
|
||||
database-schema = {
|
||||
# Whether to run main database migrations.
|
||||
run-main-migrations = true
|
||||
|
||||
# Whether to run the fixup migrations.
|
||||
run-fixup-migrations = true
|
||||
|
||||
# Use with care. This repairs all migrations in the database by
|
||||
# updating their checksums and removing failed migrations. Good
|
||||
# for testing, not recommended for normal operation.
|
||||
repair-schema = false
|
||||
}
|
||||
|
||||
# Configuration for registering new users.
|
||||
signup {
|
||||
|
||||
|
@ -83,6 +83,7 @@ object RestServer {
|
||||
httpClient <- BlazeClientBuilder[F].resource
|
||||
store <- Store.create[F](
|
||||
cfg.backend.jdbc,
|
||||
cfg.backend.databaseSchema,
|
||||
cfg.backend.files.defaultFileRepositoryConfig,
|
||||
pools.connectEC
|
||||
)
|
||||
|
Reference in New Issue
Block a user