1
0
mirror of https://github.com/actix/examples synced 2025-06-28 18:00:37 +02:00

improve sqlx example

inspired by #455
This commit is contained in:
Rob Ede
2021-10-07 03:00:13 +01:00
parent c69b7598fb
commit bfede4c1bb
8 changed files with 198 additions and 129 deletions

View File

@ -1,4 +1,4 @@
HOST=127.0.0.1
PORT=5000
DATABASE_URL=sqlite://database_interactions/sqlx_todo/test.db
PORT=8080
DATABASE_URL=sqlite://${CARGO_MANIFEST_DIR}/test.db
RUST_LOG=sqlx_todo=info,actix=info