Sea Migrations

Effortless database migrations for SeaORM!

Crates.io version Download docs.rs docs

This crate aims to provide a simple solution to doing database migrations with [SeaORM](https://www.sea-ql.org/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 ## Beta Warning This project is in beta and could have major changes to API or behavior in future updates. Please refer to [issue #1](https://github.com/oscartbeaumont/sea-migrations/issues/1) for more information. ## Install Add `sea-migrations` to your dependencies: ```toml [dependencies] # ... sea-migrations= "0.0.1" ``` ## Usage Check out [this example application](https://github.com/oscartbeaumont/sea-migrations/tree/main/example).