https://github.com/setlog/fly
Fast Flyway script creation.
https://github.com/setlog/fly
Last synced: 4 months ago
JSON representation
Fast Flyway script creation.
- Host: GitHub
- URL: https://github.com/setlog/fly
- Owner: setlog
- License: mit
- Created: 2020-12-15T12:01:31.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T05:54:40.000Z (over 2 years ago)
- Last Synced: 2024-06-21T09:38:47.306Z (almost 2 years ago)
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Fly
Create new flyway scripts under `src/main/migration` and open them in VsCode with one command.
### Installation
Install Go, then run:
```bash
go get github.com/setlog/fly
```
### Usage
```bash
fly # creates src/main/migration/VXXX.XXX__migration.sql
fly my_change # creates src/main/migration/VXXX.XXX__my_change.sql
```
The file is then opened in VsCode if you have it installed, i.e. `code` is in your `PATH`.