Skip to content

Don't fail scenario migrations against the test database - #1801

Open
louispt1 wants to merge 1 commit into
masterfrom
testing-migrations
Open

Don't fail scenario migrations against the test database#1801
louispt1 wants to merge 1 commit into
masterfrom
testing-migrations

Conversation

@louispt1

Copy link
Copy Markdown
Member

Context

db:prepare in development also prepares the test databases, which led etlauncher to run the migrations for etengine twice when running bin/update.

Implemented changes

  1. Don't raise if no scenarios are migrated when running migrations against the test DB.
  2. SKIP_SCENARIO_CHECK=1 allows users to skip the scenarios migrated check in the case of a more empty DB, which has become much more common since we no longer use the dbbot DBs.

Related

Goes with this etlauncher PR

Checklist

  • I have tested these changes
  • I have updated documentation as needed
  • I have tagged the relevant people for review

…no scenarios migrated' check to be skipped when an ENV var SKIP_SCENARIO_CHECK=1 is set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant