Dmitriy Pleshevskiy e60ed07137 | ||
---|---|---|
.github/workflows | ||
.vscode | ||
migra-cli | ||
sample | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
Cargo.toml | ||
README.md | ||
docker-compose.yml |
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