Skip to content

Conversation

@rafaelcr
Copy link
Collaborator

@rafaelcr rafaelcr commented Dec 3, 2025

Consolidates many migration files into a single file per table, so we start API v9 with an easy to maintain list of files. Also updates pg and node-pg-migrate dependencies to latest compatible versions and switches files from JS to TS.

Fixes #2389

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

Vercel deployment URL: https://stacks-blockchain-d7jhdup69-hirosystems.vercel.app 🚀

@codecov
Copy link

codecov bot commented Dec 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@rafaelcr rafaelcr marked this pull request as ready for review December 3, 2025 23:04
@rafaelcr rafaelcr linked an issue Dec 4, 2025 that may be closed by this pull request
Copy link
Contributor

@rmottley-hiro rmottley-hiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, double-checked the indexes and ran the api for a while. Really liking those new multicolumn index as well

@rafaelcr
Copy link
Collaborator Author

rafaelcr commented Dec 4, 2025

Thanks for the thorough testing @rmottley-hiro !

@rafaelcr rafaelcr merged commit 60b8db0 into next Dec 4, 2025
26 checks passed
@rafaelcr rafaelcr deleted the fix/migrations branch December 4, 2025 19:56
hirosystems-release-bot bot added a commit that referenced this pull request Dec 4, 2025
## [9.0.0-next.1](v8.13.1...v9.0.0-next.1) (2025-12-04)

### ⚠ BREAKING CHANGES

* consolidate db migrations into one file per table (#2392)
* This change will require resyncing from genesis
* optimize principal transaction lists and etags (#2370)

### Features

* migrate default postgres schema ([2cc2459](2cc2459))
* migrate default postgres schema ([#2373](#2373)) ([eb183cf](eb183cf))
* optimize principal transaction lists and etags ([#2370](#2370)) ([30c63d7](30c63d7))

### Bug Fixes

* calculate burnchain reward reorgs correctly ([#2355](#2355)) ([f82efbc](f82efbc))
* do not display revoked pool delegations ([#2357](#2357)) ([c6de314](c6de314))
* push redis updates to a stream ([#2360](#2360)) ([2bfacf6](2bfacf6))
* sanitize event observer strings ([#2361](#2361)) ([2604539](2604539))

### Miscellaneous Chores

* consolidate db migrations into one file per table ([#2392](#2392)) ([60b8db0](60b8db0))
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.

consolidate migration files

3 participants