5 releases (breaking)
0.320.0 | Oct 16, 2024 |
---|---|
0.310.0 | Oct 16, 2024 |
0.300.0 | Oct 16, 2024 |
0.291.0 | Oct 16, 2024 |
0.290.0 | Oct 15, 2024 |
#1401 in Database interfaces
2,617 downloads per month
Used in zcash_client_sqlite
49KB
965 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
~24MB
~462K SLoC