Schemerz is a database schema migration library for Rust that supports directed acyclic graph (DAG) dependencies between migrations. It currently has adapters for the following databases:
- PostgreSQL: schemerz-postgres
- SQLite: schemerz-rusqlite
Other Rust schema migration libraries to consider if you do not require DAG migration dependencies:
- schemamama (recommended -- this is the basis for Schemerz's API)
- dbmigrate
- migrant
Version bumping (including changelog release section versioning) is handled by cargo-release, e.g.:
cargo release --workspace minor
Schemerz started as a fork of the schemer
crate by
Andrew Champion. The name "Schemerz" is a nod to its origin, as well as a play on the
German word "Schmerz" meaning "pain" (which aptly describes database migrations).
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.