aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/src/schema.patch
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/src/schema.patch
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/src/schema.patch')
-rw-r--r--planetwars-server/src/schema.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/planetwars-server/src/schema.patch b/planetwars-server/src/schema.patch
new file mode 100644
index 0000000..e062232
--- /dev/null
+++ b/planetwars-server/src/schema.patch
@@ -0,0 +1,8 @@
+diff --git a/planetwars-server/src/schema.rs b/planetwars-server/src/schema.rs
+index 7f60d64..f88f687 100644
+--- a/planetwars-server/src/schema.rs
++++ b/planetwars-server/src/schema.rs
+@@ -0,0 +1,3 @@
++// This file is autogenerated by diesel
++#![allow(unused_imports)]
++