From 88d527d574567420d7aa72f37205bd6b345b8dd7 Mon Sep 17 00:00:00 2001 From: Melody Horn / boringcactus Date: Sat, 19 Jun 2021 23:10:53 -0600 Subject: generate diesel::table! in derive(Model) --- examples/tutorial02/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/tutorial02') diff --git a/examples/tutorial02/main.rs b/examples/tutorial02/main.rs index 0f8dc11..8f0eebe 100644 --- a/examples/tutorial02/main.rs +++ b/examples/tutorial02/main.rs @@ -1,3 +1,5 @@ +#[macro_use] extern crate diesel; + use tosin::Settings; use tosin::contrib::admin; use tosin::db::backend::Connectable; -- cgit v1.2.3