From bc874c9d1363d3bf8865ea7a629eb976e23386b3 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Wed, 30 Jun 2021 16:31:21 -0600 Subject: use the actual path to the app dir for make_migrations --- examples/tutorial01/polls/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/tutorial01') diff --git a/examples/tutorial01/polls/mod.rs b/examples/tutorial01/polls/mod.rs index 7f02b17..44db04b 100644 --- a/examples/tutorial01/polls/mod.rs +++ b/examples/tutorial01/polls/mod.rs @@ -10,6 +10,7 @@ pub use urls::urls; #[allow(dead_code)] pub const APP: AppConfig = AppConfig { name: module_path!(), + mod_rs_path: file!(), models: models::ALL, migrations: migrations::ALL, }; -- cgit v1.2.3