summaryrefslogtreecommitdiff
path: root/backend/app/diesel.toml
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2024-10-16 12:51:21 +0100
committerJoe Carstairs <me@joeac.net>2024-10-16 12:51:21 +0100
commit27b95c9186bd45edd4c982a7cc89cf69cf2c5d46 (patch)
treebf104ff9d64e601bfec5516eb51ef298f3095e9b /backend/app/diesel.toml
parent76974785294089965efc3f55b2a08d4089029c52 (diff)
All backend stuff lives in backend folder
Diffstat (limited to 'backend/app/diesel.toml')
-rw-r--r--backend/app/diesel.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/backend/app/diesel.toml b/backend/app/diesel.toml
new file mode 100644
index 0000000..a0d61bf
--- /dev/null
+++ b/backend/app/diesel.toml
@@ -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"