summaryrefslogtreecommitdiff
path: root/rust/app/diesel.toml
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2024-11-17 09:23:28 +0000
committerJoe Carstairs <me@joeac.net>2024-11-17 09:23:28 +0000
commit1ae19eb3315c40e3f9062592c27fa76c11cf626c (patch)
tree09d9ce380795971f4b50e1d4b0ca3c57c9e1db1a /rust/app/diesel.toml
parent1a494937021561595d0fb29e26fb707aef9e55de (diff)
Renames workspace folder
Diffstat (limited to 'rust/app/diesel.toml')
-rw-r--r--rust/app/diesel.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/rust/app/diesel.toml b/rust/app/diesel.toml
new file mode 100644
index 0000000..a0d61bf
--- /dev/null
+++ b/rust/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"