Skip to content

Commit

Permalink
Merge pull request #2626 from bcgov/chore/reporting-migrations-to-test
Browse files Browse the repository at this point in the history
chore: run reporting migrations on deploy to test
  • Loading branch information
dleard authored Dec 19, 2024
2 parents ba0c1b8 + 7521c16 commit 936c87b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bc_obps/common/management/commands/custom_migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Command(BaseCommand):
def handle(self, *args, **options):
# Only running the custom command in the test and production environments
# Otherwise, run the default migrate command for all apps
if os.environ.get('ENVIRONMENT') not in ['test', 'prod']:
if os.environ.get('ENVIRONMENT') not in ['prod']:
self.stdout.write('Running default migrate command for all apps...')
call_command('migrate')
return
Expand Down

0 comments on commit 936c87b

Please sign in to comment.