Archived
1
0
Fork 0
Simple SQL migration manager for your project.
This repository has been archived on 2024-07-25. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
Dmitriy Pleshevskiy 6b352c31a2 chore: print to stdout in make command
... about successfully created directory with structure for
migration
2021-02-21 23:35:59 +03:00
.github/workflows ci: configure github actions 2021-02-21 17:43:03 +03:00
.vscode chore: add format on save 2021-02-20 23:13:21 +03:00
migra-cli chore: print to stdout in make command 2021-02-21 23:35:59 +03:00
sample fix: key in sample and test manifests 2021-02-13 23:47:41 +03:00
.gitignore chore: init workspace 2021-02-01 23:49:00 +03:00
Cargo.toml chore: merge cli with core 2021-02-05 01:37:25 +03:00
CODE_OF_CONDUCT.md chore: add code of conduct 2021-02-21 18:43:27 +03:00
docker-compose.yml feat: tests for list command 2021-02-12 01:25:55 +03:00
LICENCE_APACHE chore: add licences to repo 2021-02-21 23:33:27 +03:00
LICENCE_MIT chore: add licences to repo 2021-02-21 23:33:27 +03:00
README.md chore: add licences to repo 2021-02-21 23:33:27 +03:00

Migra

CI unsafe forbidden Crates.io

Simple SQL migration manager for your project.

Install

cargo install migra

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: