Skip to content

setlog/fly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fly

Create new flyway scripts under src/main/migration and open them in VsCode with one command.

Installation

Install Go, then run:

go get github.com/setlog/fly

Usage

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.