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

oscartbeaumont/sea-migrations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.