Skip to content

Commit

Permalink
Merge pull request getredash#54 from KiiCorp/entrypoint-for-migration-44
Browse files Browse the repository at this point in the history
Add entry point for migration and verification.
  • Loading branch information
shinsuke-nara authored Feb 28, 2019
2 parents 9e27635 + 21202fc commit 3c9bbdc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions bin/docker-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ create_db() {
exec /app/manage.py database create_tables
}

migrate() {
echo "Not implemented yet."
}

verify() {
echo "Not implemented yet."
}

help() {
echo "Redash Docker."
echo ""
Expand Down Expand Up @@ -85,6 +93,14 @@ case "$1" in
shift
tests $@
;;
migrate)
shift
migrate
;;
verify)
shift
verify
;;
help)
shift
help
Expand Down

0 comments on commit 3c9bbdc

Please sign in to comment.