Skip to content

Commit

Permalink
Merge pull request #1509 from BradleySappington/migrate_dbs_script
Browse files Browse the repository at this point in the history
Migrate dbs script
  • Loading branch information
BradleySappington authored Mar 7, 2024
2 parents ec02a52 + 88d2938 commit cfeb073
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jwql/pull_jwql_branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ fi
# 3. Install jwql
pip install -e ..

# 4. Merge Any Migrations
python ./website/manage.py migrate
# 4. Merge Any Migrations that exist in either database (router.py will sort where they go)
python ./website/manage.py migrate jwql
python ./website/manage.py migrate jwql --database=monitors

# 5. Bring the service back up
if [ "$reset" = true ]; then
Expand Down

0 comments on commit cfeb073

Please sign in to comment.