2 unstable releases
0.191.0 | Oct 16, 2024 |
---|---|
0.190.0 | Oct 15, 2024 |
#2205 in Database interfaces
58 downloads per month
49KB
945 lines
Schemerz
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
Development
Version bumping (including changelog release section versioning) is handled by cargo-release, e.g.:
cargo release --workspace minor
Acknowledgements
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).
License
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.
Contribution
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.
Dependencies
~9–18MB
~258K SLoC