From 32131da67894b8bed5cf313b63a115b58ff23761 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Mon, 3 Jan 2022 23:44:01 +0100 Subject: add schema.patch to allow unused imports in schema file --- planetwars-server/diesel.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'planetwars-server/diesel.toml') 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 -- cgit v1.2.3