added database stuff

added clap arguments
added the gen_or_get_key func in lib
git ignore for .env
migrations
This commit is contained in:
2026-07-13 17:41:29 -05:00
parent 04c57f15f8
commit c64ed1be4e
15 changed files with 527 additions and 5 deletions
+9
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/db/schema.rs"
custom_type_derives = ["diesel::query_builder::QueryId", "Clone"]
[migrations_directory]
dir = "migrations"