Files
adamantium/script/update
2023-01-27 22:55:09 +11:00

18 lines
260 B
Bash
Executable File

#!/bin/sh
# script/update: Update application to run for its current checkout.
set -e
cd "$(dirname "$0")/.."
script/bootstrap
echo "==> Updating db…"
bin/hanami db create
bin/hanami db create -e test
bin/hanami db reset -e test
bin/hanami db migrate