litellm/litellm-rust/crates/migrate
devin-ai-integration[bot] e3c15c9d22
feat(rust): embed migration folders with a shared migrate! macro (#44104)
* feat(rust): embed migration folders with a shared migrate! macro

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(rust): enable syn proc-macro feature for litellm-migrate-macros

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(rust): reject signed versions and symlinks in migrate!

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Yujong Lee <yujong@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-01 17:52:54 -07:00
..
src feat(rust): embed migration folders with a shared migrate! macro (#44104) 2026-10-01 17:52:54 -07:00
tests feat(rust): embed migration folders with a shared migrate! macro (#44104) 2026-10-01 17:52:54 -07:00
Cargo.toml feat(rust): embed migration folders with a shared migrate! macro (#44104) 2026-10-01 17:52:54 -07:00
README.md feat(rust): embed migration folders with a shared migrate! macro (#44104) 2026-10-01 17:52:54 -07:00

Migrations

litellm-migrate exports the Migration struct and the migrate! macro that embeds a directory of <digits>_<description>.sql files at compile time, sorted by numeric version

The crate does not apply or track migrations; callers decide how and when the embedded SQL runs