You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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 |