#!/bin/bash
set -eu
dbpath="$(dirname "$0")/testdb.sqlite"
#echo $dbpath
sqlx db create --database-url sqlite:"$dbpath"
sqlx migrate run --database-url sqlite:"$dbpath"