Move database logic into submodule and do simple version check

This commit is contained in:
oxalica 2024-09-03 17:52:02 -04:00
parent a37bc3f81e
commit 81a566a097
7 changed files with 112 additions and 36 deletions

View file

@ -3,11 +3,16 @@
# the default value.
[database]
# (Required)
# The path to the main SQLite database.
# The file will be created and initialized if not exist, but missing directory
# will not.
path = "/var/lib/blahd/db.sqlite"
# Whether to create and initialize the database if `path` does not exist.
# Note that parent directory will never be created and must already exist.
create = true
[server]
# (Required)