Skip to content
Snippets Groups Projects

schemadoc: Render view query in schema documentation

Merged Warren Gifford requested to merge es/view-schema-doc into main

Created by: eseliger

I find it very hard to see what changed when someone has a migration that recreates a view, because the git diff will just be all new lines. This implements adding the backing query to the generated schema file, which should make it easier to discover what actually changed in a migration that touches views.

Merge request reports

Merged by avatar (Jul 13, 2025 6:01am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Created by: sourcegraph-bot

    Notifying subscribers in CODENOTIFY files for diff 6c29d5b23c30c3304c3c1614cfdf3ad927735772...3ae8fd575c4d800a51e931d99bbded68ab7dee4b.

    Notify File(s)
    @efritz internal/database/schemadoc/main.go
Please register or sign in to reply
Loading