Skip to content

docs: document ALLOW_MISSING_MIGRATIONS env var#640

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/40ee5f93
Open

docs: document ALLOW_MISSING_MIGRATIONS env var#640
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/40ee5f93

Conversation

@mintlify

@mintlify mintlify Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the new ALLOW_MISSING_MIGRATIONS environment variable, which disables Knex's migration list validation so an older Lightdash version can start against a newer database during rollbacks.

Changes

  • Added ALLOW_MISSING_MIGRATIONS row to the environment variables reference, alongside the other PG* database variables.

Context

Upstream PR introduces a configurable migration list validation. When rolling back code while the database stays on a newer schema, the health check would previously fail because migrations existed in knex_migrations without matching files on disk. Setting ALLOW_MISSING_MIGRATIONS=true suppresses only the "DB ahead of code" check; pending migrations are still detected.

@mintlify

mintlify Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lightdash 🟢 Ready View Preview May 15, 2026, 4:35 PM
@github-actions

github-actions Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor

🤖 Documentation Bot

All checks passed! No issues found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant