Initial commit
This commit is contained in:
17
script/update
Executable file
17
script/update
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/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
|
Reference in New Issue
Block a user