Skip to content

Docs: Update docs on db upgrade and downgrade - #22604

Merged
owen-mc merged 3 commits into
github:mainfrom
owen-mc:docs/db-upgrade-downgrade
Sep 17, 2026
Merged

owen-mc merged 3 commits into
github:mainfrom
owen-mc:docs/db-upgrade-downgrade

Conversation

@owen-mc

@owen-mc owen-mc commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

My main aims are:

  • being much more explicit about downgrade scripts.
  • explicitly stating that you don't need to have a line in a .properties file for an empty relation.

(I wrote this using Copilot, but I've checked it all myself.)

@owen-mc
owen-mc requested a review from a team as a code owner September 17, 2026 10:42
Copilot AI balanced review requested due to automatic review settings September 17, 2026 10:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Manual commands use inconsistent path bases, and downgrade compatibility semantics remain ambiguous.

Review effort: Balanced
Findings: None

What changed in this PR

Updates database schema migration guidance, especially downgrade behavior and empty relations.

Changes:

  • Clarifies compatibility, relation handling, and schema hashes.
  • Expands manual upgrade/downgrade instructions.
  • Fixes a duplicated word.
File Description
docs/​prepare-db-upgrade-downgrade.md Expands migration documentation and manual setup steps.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@nickrolfe nickrolfe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sensible.

The part about empty relations is correct: the evaluator's loader for extensional relations returns an empty relation if the .rel file doesn't exist.

@owen-mc
owen-mc merged commit cc9be6a into github:main Sep 17, 2026
5 checks passed
@owen-mc
owen-mc deleted the docs/db-upgrade-downgrade branch September 17, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants