diesel db handling

* update settings for test environment (.env)
* migrations subdir with sql prototypes

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2019-11-08 15:51:44 +01:00
parent aa33dab582
commit 67469cc2d6
4 changed files with 103 additions and 4 deletions

6
.env
View File

@@ -1,4 +1,4 @@
TEST_LANG=en
LANG=en
RUST_LOG=debug
#RUST_LOG=advotracker=trace
RUST_LOG=advotracker=info
DATABASE_URL=./testdb.sqlite3
#DATABASE_URL=postgres://username:password@localhost/advotracker