-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
enhancementNew feature or requestNew feature or requestnice to haveLow priority, comment if you'd like to have it sooner, otherwise it'll lay in the backlog foreverLow priority, comment if you'd like to have it sooner, otherwise it'll lay in the backlog forever
Description
It would be useful to have a built-in mechanism for squashing / compressing old migrations in rake-db, or at least an official guide describing a safe way to do it.
When the number of migration files grows large (e.g. 100+), it affects boot time, test suite speed, CI performance, and overall project maintainability.
See how others do it:
- Prisma: Squashing migrations
- Django: Squashing migrations
- Laravel: Squashing migrations
- Ruby on Rails: Squasher
The AIs could probably do the hard work on merging operations, but the library at least needs to account for how to handle new gaps or the new non-0001 start or whatever approach is to be used.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestnice to haveLow priority, comment if you'd like to have it sooner, otherwise it'll lay in the backlog foreverLow priority, comment if you'd like to have it sooner, otherwise it'll lay in the backlog forever