chore(migrations): rename 013_bounties.sql to 014_bounties.sql#867
Merged
Conversation
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
Resolves a filename collision in
migrations/:013_identity_cache.sql(merged in feat(762b): migrate BNS + identity cache from KV to D1 + caches.default #852, landed first on main)013_bounties.sql(merged in feat(bounty): native bounty system — replaces bounty.drx4.xyz proxy #843)Both PRs picked
013_as the next free slot while the other was in flight. Wrangler tracks applied migrations by full filename so both would have run, but the duplicate slot number is confusing for anyone reading the history.Already applied
I applied this to remote D1 already as
014_bounties.sql(the bounty page was throwing "database is temporarily unavailable" on aibtc.com because the table didn't exist yet):So the on-disk filename on
mainafter this merge will match what's already recorded in the remoted1_migrationstracking table — wrangler won't try to re-apply.Test plan
npx wrangler d1 migrations list landing-page --remoteshows zero pending/bountyon aibtc.com loads (already confirmed viacurl https://aibtc.com/api/bounties?limit=1returning 200)