polaris/update_db_schema.bat
2018-10-06 18:13:44 -07:00

6 lines
No EOL
213 B
Batchfile

cargo install diesel_cli --no-default-features --features "sqlite-bundled"
mkdir tmp
diesel --database-url tmp/print-schema.sqlite setup
diesel --database-url tmp/print-schema.sqlite migration run
rmdir /q /s tmp