Skip to content

chore(db): renumber the basket metrics migration to 00116 - #968

Merged
gkhngyk merged 1 commit into
mainfrom
chore/renumber-basket-migration
Oct 7, 2026
Merged

gkhngyk merged 1 commit into
mainfrom
chore/renumber-basket-migration

Conversation

@gkhngyk

@gkhngyk gkhngyk commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Two migrations on main share the number 00113: 00113_competitor_aggregates_custom_plan.sql and 00113_opportunity_basket_metrics.sql (#956). They were merged around the same time. This moves the second one to 00116, the next free number.

  • No content changes. The file only create or replaces opportunity_basket_metrics, so an environment that already ran it under 00113 runs it again harmlessly.
  • Nothing before 00116 depends on the function.
  • supabase/schema.sql is rebuilt with build-schema.sh, which moves the function to the end of the file.
  • The hosted database already has the function, so no action is needed there.

Related issue

Follow-up to #956

Type of change

  • chore — Maintenance / dependencies

Checklist

  • Branch follows the naming convention
  • Commits follow Conventional Commits
  • supabase/schema.sql rebuilt with build-schema.sh
  • Changes are focused — one concern per PR

🤖 Generated with Claude Code

Two migrations shared 00113 after #956 merged alongside another. This
moves opportunity_basket_metrics to the next free number. The file only
create-or-replaces a function, so running it again is harmless.
@github-actions github-actions Bot added the needs-migration Adds or edits a migration — apply it to the hosted database label Oct 7, 2026
@gkhngyk
gkhngyk merged commit 7fc3257 into main Oct 7, 2026
6 checks passed
@gkhngyk
gkhngyk deleted the chore/renumber-basket-migration branch October 7, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-migration Adds or edits a migration — apply it to the hosted database

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant