Simple SQL migration manager for your project.
Dmitriy Pleshevskiy
6b352c31a2
... about successfully created directory with structure for migration |
||
---|---|---|
.github/workflows | ||
.vscode | ||
migra-cli | ||
sample | ||
.gitignore | ||
Cargo.toml | ||
CODE_OF_CONDUCT.md | ||
docker-compose.yml | ||
LICENCE_APACHE | ||
LICENCE_MIT | ||
README.md |
Migra
Simple SQL migration manager for your project.
Install
cargo install migra
Usage
A few steps to get you started
- Initialize migra configuration (Optional)
migra init
- Make your first migration
migra make initial_migration
- Check applied and pending migrations
migra ls
- Upgrade your database
migra up
For more information about the commands, simply run migra help
Supported databases
- Postgres
License
Licensed under either of these:
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)