diff --git a/script/setup b/script/setup index 36cda2e..e01ab38 100755 --- a/script/setup +++ b/script/setup @@ -19,7 +19,7 @@ else script/bootstrap echo "==> Setting up database..." - bin/hanami db setup + hanami db structure load echo "==> App is now ready to go!" fi diff --git a/script/update b/script/update index 47bab08..7a26ed9 100755 --- a/script/update +++ b/script/update @@ -9,9 +9,9 @@ cd "$(dirname "$0")/.." script/bootstrap echo "==> Updating db…" -bin/hanami db create +hanami db create -bin/hanami db create -e test -bin/hanami db reset -e test +hanami db create -e test +hanami db reset -e test -bin/hanami db migrate +hanami db migrate