diff options
author | Melody Horn / boringcactus <melody@boringcactus.com> | 2021-06-16 12:36:47 -0600 |
---|---|---|
committer | Melody Horn / boringcactus <melody@boringcactus.com> | 2021-06-16 12:36:47 -0600 |
commit | 685b47247aad71468f190c42929ca6f0dce843fa (patch) | |
tree | 7adf64a4c00b9ca8893fab26367ec01a30e24ad9 /examples/tutorial02/polls/mod.rs | |
parent | 92bf14bb7cc0c10f67a9a67e7512138c15db6ec0 (diff) | |
download | tosin-685b47247aad71468f190c42929ca6f0dce843fa.tar.gz tosin-685b47247aad71468f190c42929ca6f0dce843fa.zip |
make database backends generic
Diffstat (limited to 'examples/tutorial02/polls/mod.rs')
-rw-r--r-- | examples/tutorial02/polls/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/tutorial02/polls/mod.rs b/examples/tutorial02/polls/mod.rs index f4fde54..4b5de71 100644 --- a/examples/tutorial02/polls/mod.rs +++ b/examples/tutorial02/polls/mod.rs @@ -1,5 +1,6 @@ use tosin::apps::AppConfig; +mod migrations; pub mod models; pub mod urls; pub mod views; @@ -7,5 +8,5 @@ pub mod views; pub use urls::urls; pub const APP: AppConfig = AppConfig { - + migrations: migrations::migrations, }; |