aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorKevin J Hoerr <kjhoerr@protonmail.com>2018-08-26 22:04:41 -0400
committerKevin Hoerr <kjhoerr@submelon.tech>2018-08-31 23:24:45 -0400
commit396f302937cc83c8cb50e4bba64b67f4b76b7c13 (patch)
tree9e8231fb54f4796384bdd0e914208e2d0da5fa28 /src/main.rs
parentd4e8221b4fa44b6bf2d598b702d995ea79dfa24e (diff)
downloadaugust-offensive-396f302937cc83c8cb50e4bba64b67f4b76b7c13.tar.gz
august-offensive-396f302937cc83c8cb50e4bba64b67f4b76b7c13.tar.bz2
august-offensive-396f302937cc83c8cb50e4bba64b67f4b76b7c13.zip
Add Diesel schema and initial migration SQL files
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 4c2c020..157d035 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -7,9 +7,11 @@ extern crate error_chain;
extern crate actix;
extern crate actix_web;
extern crate env_logger;
+#[macro_use]
extern crate diesel;
-mod errors;
+pub mod errors;
+pub mod schema;
use actix_web::{middleware, server, App, HttpRequest};
use diesel::prelude::*;