Database layer and migrations #3
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Total time spent: 4 hours 23 minutes
Due date
foresle
4 hours 23 minutes
Depends on
#1 Project scaffold and CLI skeleton
foresle/notgram
#2 Configuration loading
foresle/notgram
Reference
foresle/notgram#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The SQLite store shared by both services.
Scope:
sqlx.Notes:
I chose to use a Postgres database because of its native support in sqlx and the conflict with grammers caused by both statically linking the libsql library.
Migrations are no longer applied on startup. They run on demand through a dedicated
migratecommand.Migrations are applied automatically at the start of every command that requires an up-to-date database.