diff options
author | Melody Horn <melody@boringcactus.com> | 2021-06-30 16:31:21 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-06-30 16:31:21 -0600 |
commit | bc874c9d1363d3bf8865ea7a629eb976e23386b3 (patch) | |
tree | 17327e9d10acbb198b915592391ef9446c5b4c37 /src/apps.rs | |
parent | a4f6e7af6576744e238ecafda826cbe602c23db5 (diff) | |
download | tosin-bc874c9d1363d3bf8865ea7a629eb976e23386b3.tar.gz tosin-bc874c9d1363d3bf8865ea7a629eb976e23386b3.zip |
use the actual path to the app dir for make_migrations
Diffstat (limited to 'src/apps.rs')
-rw-r--r-- | src/apps.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apps.rs b/src/apps.rs index 8c16136..c2fe099 100644 --- a/src/apps.rs +++ b/src/apps.rs @@ -3,6 +3,7 @@ use crate::db::models::ModelMeta; pub struct AppConfig { pub name: &'static str, + pub mod_rs_path: &'static str, pub models: &'static [ModelMeta], pub migrations: &'static [Migration], } |