7 lines
217 B
Bash
7 lines
217 B
Bash
|
#!/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'
|
||
|
cargo test
|