Skip to content

Commit

Permalink
maybe superset db upgrade could fail
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab committed May 21, 2024
1 parent 046e368 commit 0b14081
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion containers/superset/superset.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
#!/usr/bin/env bash

set -ex
set -x

export FLASK_APP=superset

# Initialize the database
superset db upgrade

set -e

if [[ $ENV = "dev" ]]; then
echo "Running in development mode ..."
superset fab create-admin \
Expand Down

0 comments on commit 0b14081

Please sign in to comment.