https://github.com/harshil-jani/esqlz
Manage sequelize migrations easily
https://github.com/harshil-jani/esqlz
javascript migrations nodejs rust sequelize-cli tui
Last synced: 7 months ago
JSON representation
Manage sequelize migrations easily
- Host: GitHub
- URL: https://github.com/harshil-jani/esqlz
- Owner: Harshil-Jani
- License: mit
- Created: 2024-09-14T07:03:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-22T21:56:05.000Z (over 1 year ago)
- Last Synced: 2025-06-18T06:33:36.772Z (7 months ago)
- Topics: javascript, migrations, nodejs, rust, sequelize-cli, tui
- Language: Rust
- Homepage: https://crates.io/crates/esqlz
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Esqlz
Esqlz is a TUI to manage sequelize migrations easily. It is an extension wrapper of [Sequelize CLI](https://www.npmjs.com/package/sequelize-cli).
Latest Version: `1.1.0` - [Release Notes](https://github.com/Harshil-Jani/esqlz/releases/tag/v1.1.0)
## Installation
For Linux and MacOS only. (For Windows, Do it yourself, I don't have plans to support Windows)
Run the following command in your terminal to install esqlz
```bash
curl -sSL https://raw.githubusercontent.com/Harshil-Jani/esqlz/main/install.sh | bash
```
For Development Purposes
```bash
git clone https://github.com/Harshil-Jani/esqlz.git
cd esqlz
cargo build --release
cargo install --path .
```
## Usage
Create a new migration file
```bash
esqlz generate "Add a new column to the users table"
```
Select the migration you want to apply
```bash
esqlz up
```
Select the migration you want to revert
```bash
esqlz down
```
Check the migration status
```bash
esqlz status
```
## Contributing
Contributions are welcome. Please open an issue before making a PR. I am flexible with adding new features or being pointed out to bugs.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.