Make Rust models for database schema

This commit is contained in:
2023-01-03 16:11:43 +01:00
parent a9e300ede2
commit 60988cff24
10 changed files with 142 additions and 7 deletions
+5 -2
View File
@@ -6,5 +6,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
diesel = { version = "2.0", features = ["postgres"] }
dotenvy = "0.15"
diesel = { version = "2.0", features = ["postgres", "chrono"] }
diesel-derive-enum = { version = "2.0.0-rc.0", features = ["postgres"] }
chrono = "0.4.23"
dotenvy = "0.15"