Allow one to specify that a field of a model is a foreign key. It will generate a bunch of helper methods to query related entities from one entity.
19 lines
480 B
TOML
19 lines
480 B
TOML
[package]
|
|
name = "sandbox"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[[bin]]
|
|
name = "sandbox"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.100"
|
|
chrono = "0.4.39"
|
|
fully_pub = "0.1.4"
|
|
serde = "1.0.216"
|
|
tokio = { version = "1.40.0", features = ["rt-multi-thread", "macros"] }
|
|
sqlx = { version = "0.8.6", features = ["sqlite", "runtime-tokio", "chrono", "uuid", "migrate"] }
|
|
sqlxgentools_attrs = { path = "../sqlxgentools_attrs" }
|
|
sqlxgentools_misc = { path = "../sqlxgentools_misc" }
|
|
|