Skip to content

chore(migrations): rename 013_bounties.sql to 014_bounties.sql#867

Merged
biwasxyz merged 1 commit into
mainfrom
chore/rename-bounties-migration-014
May 16, 2026
Merged

chore(migrations): rename 013_bounties.sql to 014_bounties.sql#867
biwasxyz merged 1 commit into
mainfrom
chore/rename-bounties-migration-014

Conversation

@biwasxyz
Copy link
Copy Markdown
Contributor

Summary

Resolves a filename collision in migrations/:

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):

$ npx wrangler d1 migrations apply landing-page --remote
014_bounties.sql ✅

So the on-disk filename on main after this merge will match what's already recorded in the remote d1_migrations tracking table — wrangler won't try to re-apply.

Test plan

  • CI green
  • After merge: npx wrangler d1 migrations list landing-page --remote shows zero pending
  • /bounty on aibtc.com loads (already confirmed via curl https://aibtc.com/api/bounties?limit=1 returning 200)

Resolves filename collision with 013_identity_cache.sql (merged in #852)
that landed on main shortly before #843. Wrangler tracks applied
migrations by full filename so both would have run, but the duplicate
slot number is confusing.

Already applied to remote D1 as 014_bounties.sql.
@biwasxyz biwasxyz merged commit 137e43a into main May 16, 2026
5 of 7 checks passed
@biwasxyz biwasxyz deleted the chore/rename-bounties-migration-014 branch May 16, 2026 12:23
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