Added db to backend.

This commit is contained in:
matthias committed 2026-01-16 03:27:07 +01:00
1 parent 0d5fef7fbb
commit 5f36b535a2
7 files changed
+44 -8

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
# Migration scripts
## Installation
````bash
cargo install sqlx-cli
````
## Create database
````bash
sqlx database setup
````
## Use migration
````bash
# Creating new script file.
sqlx migrate add <Name for script>
# Run migration
sqlx migrate run
````