aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/diesel.toml
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-01-03 23:44:01 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2022-01-03 23:44:01 +0100
commit32131da67894b8bed5cf313b63a115b58ff23761 (patch)
tree29bdda8cb393d24a55a260e57d1ecd0cb9864150 /planetwars-server/diesel.toml
parent5b10d5e98e806ce867d27c4cc7b7f5651656744f (diff)
downloadplanetwars.dev-32131da67894b8bed5cf313b63a115b58ff23761.tar.xz
planetwars.dev-32131da67894b8bed5cf313b63a115b58ff23761.zip
add schema.patch to allow unused imports in schema file
Diffstat (limited to 'planetwars-server/diesel.toml')
-rw-r--r--planetwars-server/diesel.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/planetwars-server/diesel.toml b/planetwars-server/diesel.toml
index d95631b..75de8bd 100644
--- a/planetwars-server/diesel.toml
+++ b/planetwars-server/diesel.toml
@@ -4,3 +4,4 @@
[print_schema]
file = "src/schema.rs"
import_types = ["diesel::sql_types::*", "crate::db_types::*"]
+patch_file = "src/schema.patch" \ No newline at end of file