From f93ff38767e23602108f86992c453f7973dd8bd0 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Mon, 4 Mar 2019 15:06:54 +0100 Subject: Set up database and connection pool with rocket_contrib::databases. Set the env var DATABASE_URL before running the server. A .env file in the root of the project is also supported. --- diesel.toml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 diesel.toml (limited to 'diesel.toml') diff --git a/diesel.toml b/diesel.toml new file mode 100644 index 0000000..92267c8 --- /dev/null +++ b/diesel.toml @@ -0,0 +1,5 @@ +# For documentation on how to configure this file, +# see diesel.rs/guides/configuring-diesel-cli + +[print_schema] +file = "src/schema.rs" -- cgit v1.2.3