mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-11-15 18:12:53 +00:00
6 lines
284 B
Bash
6 lines
284 B
Bash
|
# 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
|