Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Sep 5, 2024
1 parent c5682e8 commit 4cdf0ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/migrate
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
set -e
SCRIPT_DIR=$(dirname "$(readlink -f "$0")")

ls $SCRIPT_DIR
ls $SCRIPT_DIR/../rust
ls $SCRIPT_DIR/../rust/bin
bash $SCRIPT_DIR/../rust/bin/migrate-cyclotron
# NOTE when running in docker, rust might not exist so we need to check for it
if [ -d "$SCRIPT_DIR/../rust" ]; then
bash $SCRIPT_DIR/../rust/bin/migrate-cyclotron
fi

python manage.py migrate
python manage.py migrate_clickhouse
Expand Down

0 comments on commit 4cdf0ce

Please sign in to comment.