Add AppState to Controller and split up models
This commit is contained in:
parent
8dc9072fe8
commit
83c1f033d5
11 changed files with 261 additions and 150 deletions
6
Makefile
6
Makefile
|
@ -3,7 +3,7 @@ build:
|
|||
cargo build
|
||||
|
||||
sqlx-prepare:
|
||||
rm ./emgauwa-dev.sqlite || true
|
||||
rm -f ./emgauwa-dev.sqlite
|
||||
cargo sqlx database create
|
||||
cargo sqlx migrate run
|
||||
|
||||
|
@ -14,9 +14,7 @@ build-rpi:
|
|||
cross build --target arm-unknown-linux-gnueabihf
|
||||
|
||||
clean-db:
|
||||
rm ./emgauwa-dev.sqlite || true
|
||||
rm ./emgauwa-core.sqlite || true
|
||||
rm ./emgauwa-controller.sqlite || true
|
||||
rm ./emgauwa-*.sqlite || true
|
||||
$(MAKE) sqlx-prepare
|
||||
|
||||
format:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue