This project has been deprecated as an upstream solution now exists for migrations. Check it out here
Effortless database migrations for SeaORM!
This crate aims to provide a simple solution to doing database migrations with SeaORM.
Features:
- Automatically create database tables from your SeaORM entities
- Write your migration code in Rust
- Supports all SeaORM database backends
- Basic protections against migration inconsistencies
This project is in beta and could have major changes to API or behavior in future updates. Please refer to issue #1 for more information.
Add sea-migrations
to your dependencies:
[dependencies]
# ...
sea-migrations= "0.0.1"
Check out this example application.