diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jobs/mod.rs | 1 | ||||
-rw-r--r-- | src/jobs/startup.rs | 3 | ||||
-rw-r--r-- | src/main.rs | 7 |
3 files changed, 11 insertions, 0 deletions
diff --git a/src/jobs/mod.rs b/src/jobs/mod.rs new file mode 100644 index 0000000..564d8c8 --- /dev/null +++ b/src/jobs/mod.rs @@ -0,0 +1 @@ +pub mod startup; diff --git a/src/jobs/startup.rs b/src/jobs/startup.rs new file mode 100644 index 0000000..36046f4 --- /dev/null +++ b/src/jobs/startup.rs @@ -0,0 +1,3 @@ +pub fn migrate_db() { + +} diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..27313c6 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,7 @@ +mod jobs; + + +fn main() { + println!("{}_{} starting up", env!("CARGO_PKG_NAME"), env!("CARGO_PKG_VERSION")); + jobs::startup::migrate_db(); +} |