Change invocation of DB commands

This commit is contained in:
2024-08-05 19:00:46 +10:00
parent 2e0ddcc888
commit 6d493f8c46
2 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ else
script/bootstrap script/bootstrap
echo "==> Setting up database..." echo "==> Setting up database..."
bin/hanami db setup hanami db structure load
echo "==> App is now ready to go!" echo "==> App is now ready to go!"
fi fi

View File

@@ -9,9 +9,9 @@ cd "$(dirname "$0")/.."
script/bootstrap script/bootstrap
echo "==> Updating db…" echo "==> Updating db…"
bin/hanami db create hanami db create
bin/hanami db create -e test hanami db create -e test
bin/hanami db reset -e test hanami db reset -e test
bin/hanami db migrate hanami db migrate