xmr-btc-swap/swap/sqlite_dev_setup.sh

6 lines
284 B
Bash
Raw Normal View History

2021-09-20 19:14:33 -04:00
# crated temporary DB
# run the migration scripts to create the tables
# prepare the sqlx-data.json rust mappings
DATABASE_URL=sqlite:tempdb cargo sqlx database create
DATABASE_URL=sqlite:tempdb cargo sqlx migrate run
DATABASE_URL=sqlite:./swap/tempdb cargo sqlx prepare -- --bin swap