`meltano install` should run the migrations
What is the current bug behavior?
What is happening now?
Running meltano install
doesn't run the migrations, thus the project system database might be out-of-date or missing.
This will crash when installing plugins that require the system database to run.
What is the expected correct behavior?
What should be happening?
meltano install
should run the migrations.
Steps to reproduce
How one can reproduce the issue?
# add `airflow` to your project
meltano add orchestrator airflow
# delete the system database
rm .meltano/meltano.db
# run meltano install
meltano install
The after_install
hook of Airflow will fail to run.
Relevant logs and/or screenshots
Please use code blocks (```) to format console output
Possible fixes
If you can, link to the line of code that might be responsible for the problem or suggest a fix
Add migrate=True
to the CLI command.
Further regression test
Ensure we automatically catch similar issues in the future
-
Write additional adequate test cases and submit test results -
Test results should be reviewed by a person from the team