Repository navigation
docs(db): correct 00055's comment — there was no schema drift - #723
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migration
00055(merged in #722) claimed to repair a three-argumentprompt_visibility_summariesthat no migration in this repo produced. That was wrong: migration00041produced it, for the Daily Pulse movers highlight. A truncated search hid that file, and the conclusion was drawn from its absence.The body
00055installs is byte-identical to00041'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.sqlregenerated 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 featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
bash supabase/build-schema.shleaves the tree clean. No SQL statement changed —git diffon the migration shows only comment lines.Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdsupabase/schema.sqlregenerated viabash supabase/build-schema.sh