Change invocation of DB commands
This commit is contained in:
@@ -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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user