Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

Latest commit

 

History

History
54 lines (43 loc) · 1.71 KB

README.md

File metadata and controls

54 lines (43 loc) · 1.71 KB

This project has been deprecated as an upstream solution now exists for migrations. Check it out here

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.