Skip to content

Conversation

@dylanscott
Copy link
Contributor

Whoops, while refactoring for #11 I dropped the reversing of sqlInMemory.downQueries

name: migrationName,
upQueries: sqlInMemory.upQueries,
downQueries: sqlInMemory.downQueries,
downQueries: sqlInMemory.downQueries.reverse(),

Choose a reason for hiding this comment

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

Is it okay to do this in place? Or do we need toReversed()?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it's ok since the original code did a reverse(), and unfortunately the TS build for the project is not using a recent enough lib setting to use toReversed() :(

@dylanscott dylanscott merged commit 79e1524 into hex-fork Nov 20, 2025
3 checks passed
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.

3 participants