From 685b47247aad71468f190c42929ca6f0dce843fa Mon Sep 17 00:00:00 2001 From: Melody Horn / boringcactus Date: Wed, 16 Jun 2021 12:36:47 -0600 Subject: make database backends generic --- examples/tutorial02/polls/migrations/mod.rs | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 examples/tutorial02/polls/migrations/mod.rs (limited to 'examples/tutorial02/polls/migrations') diff --git a/examples/tutorial02/polls/migrations/mod.rs b/examples/tutorial02/polls/migrations/mod.rs new file mode 100644 index 0000000..64efe8d --- /dev/null +++ b/examples/tutorial02/polls/migrations/mod.rs @@ -0,0 +1,3 @@ +use tosin::db::migration::{Migration, gather}; + +gather!(); -- cgit v1.2.3