added database crate, "settings" with migrations and queries, running migrations on web startup
This commit is contained in:
parent
f60eb616d3
commit
9c2b43ec3c
16 changed files with 357 additions and 1 deletions
11
crates/database/Cargo.toml
Normal file
11
crates/database/Cargo.toml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[package]
|
||||
name = "database"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
thiserror = { workspace = true }
|
||||
|
||||
[dependencies.sqlx]
|
||||
workspace = true
|
||||
features = ["sqlite", "macros", "migrate", "chrono", "offline", "runtime-tokio-rustls"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue