Add self-creation for controller
This commit is contained in:
parent
d193000aec
commit
4e3df272c3
10 changed files with 105 additions and 14 deletions
emgauwa-lib/src/db
|
@ -8,16 +8,16 @@ use crate::db::errors::DatabaseError;
|
|||
use crate::db::model_utils::Period;
|
||||
use crate::db::types::ScheduleUid;
|
||||
|
||||
// export for easier/flatter access
|
||||
pub use crate::db::schedules::{Periods, Schedule};
|
||||
|
||||
pub mod errors;
|
||||
mod model_utils;
|
||||
mod models;
|
||||
pub mod schedules;
|
||||
mod schedules;
|
||||
pub mod tag;
|
||||
pub mod types;
|
||||
pub mod controllers;
|
||||
mod controllers;
|
||||
|
||||
pub use controllers::Controller;
|
||||
pub use schedules::{Periods, Schedule};
|
||||
|
||||
static MIGRATOR: Migrator = sqlx::migrate!("../migrations"); // defaults to "./migrations"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue