3 releases

0.0.3 Dec 17, 2021
0.0.2 Nov 11, 2021
0.0.1 Nov 10, 2021

#28 in #sea-orm

MIT license

25KB
275 lines

Sea Migrations

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

Beta Warning

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.

Install

Add sea-migrations to your dependencies:

[dependencies]
# ...
sea-migrations= "0.0.1"

Usage

Check out this example application.

Dependencies

~7.5MB
~112K SLoC