Simple SQL migration manager for your project.
Go to file
Dmitriy Pleshevskiy 7c8ff199cc chore: add sample env 2021-03-02 00:44:35 +03:00
.github/workflows chore: rename github workflow 2021-02-24 00:25:06 +03:00
.vscode chore: add format on save 2021-02-20 23:13:21 +03:00
migra-cli feat: add dotenv to load migra config 2021-02-26 01:21:29 +03:00
sample style: change case in sample schema 2021-02-22 16:28:14 +03:00
.env.sample chore: add sample env 2021-03-02 00:44:35 +03:00
.gitignore chore: init workspace 2021-02-01 23:49:00 +03:00
CODE_OF_CONDUCT.md chore: add code of conduct 2021-02-21 18:43:27 +03:00
Cargo.toml chore: merge cli with core 2021-02-05 01:37:25 +03:00
LICENSE_APACHE chore: remove appendix from apache license 2021-02-22 11:49:47 +03:00
LICENSE_MIT fix: typo in license files 2021-02-22 11:47:56 +03:00
README.md chore: update badges 2021-02-25 12:39:40 +03:00
docker-compose.yml feat: tests for list command 2021-02-12 01:25:55 +03:00

README.md

Migra

CI unsafe forbidden Crates.io Crates.io

Simple SQL migration manager for your project.

Install

cargo install migra-cli

Usage

A few steps to get you started

  1. Initialize migra configuration (Optional)
    migra init
    
  2. Make your first migration
    migra make initial_migration
    
  3. Check applied and pending migrations
    migra ls
    
  4. Upgrade your database
    migra up
    

For more information about the commands, simply run migra help

Supported databases

  • Postgres

License

Licensed under either of these: