1
0
Fork 0
forked from gorb/backend

feat: use diesel-cli instead of hand writing tables

after reading the documentation, crazy right? I figured out i was making my life hard, this makes my life easy again
This commit is contained in:
Radical 2025-05-21 21:49:01 +02:00
parent f1d5b4316e
commit a6d35b0ba2
24 changed files with 323 additions and 206 deletions

9
diesel.toml Normal file
View file

@ -0,0 +1,9 @@
# For documentation on how to configure this file,
# see https://diesel.rs/guides/configuring-diesel-cli
[print_schema]
file = "src/schema.rs"
custom_type_derives = ["diesel::query_builder::QueryId", "Clone"]
[migrations_directory]
dir = "migrations"