Closed nmrgt closed 1 month ago
The change involves refining the runMigrations
function in api/src/db/index.ts
by converting a set difference to an array, extracting its values, and then sorting them. This modification aims to handle the list of migrations more efficiently and ensure they are processed in a specific order.
Files | Change Summary |
---|---|
api/src/db/index.ts | Modified the runMigrations function to convert Set difference to an array, extract values, and sort them. |
In the land of code where migrations roam,
A rabbit ensures they find their home.
Sets to arrays, values in line,
Order restored, everything's fine.
With sorted paths, our data flows,
Hopping through fields where logic grows.
🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit