fix update_schema make target, diesel.toml
parent
a91711adc8
commit
3599666a01
2
Makefile
2
Makefile
|
@ -44,4 +44,4 @@ clean:
|
||||||
update_schema:
|
update_schema:
|
||||||
rm -f upend.sqlite3
|
rm -f upend.sqlite3
|
||||||
diesel migration run --migration-dir migrations/upend/
|
diesel migration run --migration-dir migrations/upend/
|
||||||
diesel print-schema > src/schema.rs
|
diesel print-schema > src/database/inner/schema.rs
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
# see diesel.rs/guides/configuring-diesel-cli
|
# see diesel.rs/guides/configuring-diesel-cli
|
||||||
|
|
||||||
[print_schema]
|
[print_schema]
|
||||||
file = "src/schema.rs"
|
file = "src/database/inner/schema.rs"
|
||||||
|
|
Loading…
Reference in New Issue