database migration golang goose code example
Example 1: create migration goose
$ goose create add_some_column sql
$ Created new file: 20170506082420_add_some_column.sql
Example 2: goose db migration
go get -u github.com/pressly/goose/cmd/goose
goose create add_some_column sql