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

View File

@@ -2,4 +2,5 @@
# see diesel.rs/guides/configuring-diesel-cli
[print_schema]
file = "src/schema.rs"
file = "src/db/schema.rs"
#filter = { only_tables = [ "User", "UserRole" ] }