Add junction between relays and schedules

This commit is contained in:
Tobias Reisinger 2023-11-30 00:57:03 +01:00
parent a90ea25b87
commit 2f51ebf91e
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
10 changed files with 209 additions and 53 deletions

View file

@ -2,10 +2,12 @@
build:
cargo build
sqlx:
sqlx-prepare:
rm ./emgauwa-dev.sqlite || true
cargo sqlx database create
cargo sqlx migrate run
sqlx: sqlx-prepare
cargo sqlx prepare --workspace
build-rpi:
@ -15,7 +17,7 @@ clean-db:
rm ./emgauwa-dev.sqlite || true
rm ./emgauwa-core.sqlite || true
rm ./emgauwa-controller.sqlite || true
$(MAKE) sqlx
$(MAKE) sqlx-prepare
fmt:
cargo +nightly fmt