Skip to content

Sort migrations in embed_migrations - #442

Merged
jxs merged 3 commits into
rust-db:mainfrom
stevenroose:sort-migrations
Oct 1, 2026
Merged

jxs merged 3 commits into
rust-db:mainfrom
stevenroose:sort-migrations

Conversation

@stevenroose

Copy link
Copy Markdown
Contributor

This is purely the order in which the migrations are placed in the module that embed_migrations creates. The application order is still by version.

This helps for reproducible builds, without this change the compilation result depends on the system used to compile it.

This is purely the order in which the migrations are placed in the
module that embed_migrations creates. The application order is still by
version.

This helps for reproducible builds, without this change the compilation
result depends on the system used to compile it.
@github-actions github-actions Bot added the Stale label Sep 13, 2026
@github-actions github-actions Bot closed this Sep 20, 2026
@jxs jxs reopened this Oct 1, 2026

@jxs jxs left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@jxs
jxs merged commit 8579d37 into rust-db:main Oct 1, 2026
30 checks passed
jxs added a commit to silverpill/refinery that referenced this pull request Oct 1, 2026
jxs added a commit that referenced this pull request Oct 1, 2026
)

* Sort migrations

* Use sort_by_file_name()

* fix compilation after merging main (#442)

---------

Co-authored-by: silverpill <[email protected]>
Co-authored-by: João Oliveira <[email protected]>
jxs added a commit that referenced this pull request Oct 2, 2026
Bump versions to 0.10.0 in all crates and update inter-crate dependency references.

Add 0.10.0 changelog entries for native async fn traits (#431), sorted
embedded migrations (#439, #442), tiberius 0.13.x (#451), rusqlite
0.40.x (#445), MSRV 1.92 with rust-version inheritance (#431, #453),
and dependency advisory bumps (#446).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants