Skip to content

docs(db): correct 00055's comment — there was no schema drift - #723

Merged
gkhngyk merged 1 commit into
mainfrom
docs/00055-correct-comment
Aug 14, 2026
Merged

gkhngyk merged 1 commit into
mainfrom
docs/00055-correct-comment

Conversation

@gkhngyk

@gkhngyk gkhngyk commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Migration 00055 (merged in #722) claimed to repair a three-argument prompt_visibility_summaries that no migration in this repo produced. That was wrong: migration 00041 produced it, for the Daily Pulse movers highlight. A truncated search hid that file, and the conclusion was drawn from its absence.

The body 00055 installs is byte-identical to 00041's, verified by diff, so the migration is inert — it repairs nothing because nothing was broken. Production is correct and was never at risk.

Comment only, no SQL change. schema.sql regenerated because the comment lives in it.

The file itself stays. It is already applied to the hosted database and recorded in schema_migrations, and withdrawing an applied migration is a worse problem than leaving an inert one. The comment now says exactly that, so nobody later reads the file as evidence of a drift that never happened — and no one goes looking for more of it.

Related issue

None — follow-up to #722.

Type of change

  • feat — New feature
  • fix — Bug fix
  • chore — Maintenance / dependencies
  • docs — Documentation only
  • refactor — Code change that neither fixes a bug nor adds a feature
  • test — Adding or updating tests

How to test

bash supabase/build-schema.sh leaves the tree clean. No SQL statement changed — git diff on the migration shows only comment lines.

Checklist

  • Branch follows the naming convention (feature/, fix/, chore/, docs/) — see CONTRIBUTING.md
  • Commits follow Conventional Commits
  • supabase/schema.sql regenerated via bash supabase/build-schema.sh
  • Changes are focused — one concern per PR

The migration claimed to repair a three-argument function that no migration
produced. Migration 00041 produced it, for the Daily Pulse movers highlight;
a truncated search hid that file, and the conclusion was drawn from its
absence. The body 00055 installs is byte-identical to 00041's, so the
migration is inert — it repairs nothing because nothing was broken.

Comment only, no SQL change. The file stays: it is already applied and
recorded in schema_migrations, and withdrawing an applied migration is worse
than leaving an inert one. The comment now says so plainly, so nobody reads
it later as evidence of a drift that never happened.
@gkhngyk
gkhngyk merged commit a7ed4b9 into main Aug 14, 2026
5 checks passed
@gkhngyk
gkhngyk deleted the docs/00055-correct-comment branch August 14, 2026 11:37
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