2022-05-29 13:36:25 +02:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
|
|
|
|
psql postgres postgres -c "DROP DATABASE bazzar_test"
|
|
|
|
psql postgres postgres -c "CREATE DATABASE bazzar_test"
|
|
|
|
sqlx migrate run --database-url='postgres://postgres@localhost/bazzar_test'
|
2022-06-09 15:28:15 +02:00
|
|
|
cargo test --all
|