# Schemerz [](https://github.com/zcash/schemerz/actions/workflows/ci.yml/)
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](https://crates.io/crates/schemerz-postgres)
- SQLite: [schemerz-rusqlite](https://crates.io/crates/schemerz-rusqlite)
Other Rust schema migration libraries to consider if you do not require DAG migration dependencies:
- [schemamama](https://crates.io/crates/schemamama) (recommended -- this is the basis for Schemerz's API)
- [dbmigrate](https://crates.io/crates/dbmigrate)
- [migrant](https://crates.io/crates/migrant)
## Development
Version bumping (including changelog release section versioning) is handled by [cargo-release](https://github.com/crate-ci/cargo-release), e.g.:
```prompt
cargo release --workspace minor
```
## Acknowledgements
Schemerz started as a fork of the [`schemer`](https://crates.io/crates/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](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT](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.