Add WIP relays to database and api
This commit is contained in:
parent
4e3df272c3
commit
734f8b291c
14 changed files with 387 additions and 88 deletions
emgauwa-lib/src/db
|
@ -10,14 +10,16 @@ use crate::db::types::ScheduleUid;
|
|||
|
||||
pub mod errors;
|
||||
mod model_utils;
|
||||
mod models;
|
||||
mod schedules;
|
||||
pub mod tag;
|
||||
mod tag;
|
||||
pub mod types;
|
||||
mod controllers;
|
||||
mod relays;
|
||||
|
||||
pub use controllers::Controller;
|
||||
pub use relays::Relay;
|
||||
pub use schedules::{Periods, Schedule};
|
||||
pub use tag::Tag;
|
||||
|
||||
static MIGRATOR: Migrator = sqlx::migrate!("../migrations"); // defaults to "./migrations"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue