aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/src
diff options
context:
space:
mode:
Diffstat (limited to 'planetwars-server/src')
-rw-r--r--planetwars-server/src/schema.patch8
-rw-r--r--planetwars-server/src/schema.rs12
2 files changed, 12 insertions, 8 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)]
++
diff --git a/planetwars-server/src/schema.rs b/planetwars-server/src/schema.rs
index 7f60d64..5e74e85 100644
--- a/planetwars-server/src/schema.rs
+++ b/planetwars-server/src/schema.rs
@@ -1,3 +1,6 @@
+// This file is autogenerated by diesel
+#![allow(unused_imports)]
+
table! {
use diesel::sql_types::*;
use crate::db_types::*;
@@ -73,11 +76,4 @@ joinable!(match_players -> bots (bot_id));
joinable!(match_players -> matches (match_id));
joinable!(sessions -> users (user_id));
-allow_tables_to_appear_in_same_query!(
- bots,
- code_bundles,
- match_players,
- matches,
- sessions,
- users,
-);
+allow_tables_to_appear_in_same_query!(bots, code_bundles, match_players, matches, sessions, users,);