mirror of https://github.com/pressly/goose.git
ReadMe: pointer to `goose create` as a reminder of how to create both Go and SQL migrations. fixes issue #24
parent
b9dc9c12b8
commit
e885648f5a
|
@ -22,7 +22,7 @@ goose provides several commands to help manage your database schema.
|
|||
|
||||
## create
|
||||
|
||||
Create a new migration script.
|
||||
Create a new Go migration.
|
||||
|
||||
$ goose create AddSomeColumns
|
||||
$ goose: created db/migrations/20130106093224_AddSomeColumns.go
|
||||
|
@ -87,8 +87,7 @@ Print the current version of the database:
|
|||
|
||||
# Migrations
|
||||
|
||||
goose supports migrations written in SQL or in Go.
|
||||
|
||||
goose supports migrations written in SQL or in Go - see the `goose create` command above for details on how to generate them.
|
||||
|
||||
## SQL Migrations
|
||||
|
||||
|
|
Loading…
Reference in New Issue