mirror of
https://github.com/pressly/goose.git
synced 2025-04-28 14:07:32 +00:00
ReadMe: pointer to goose create
as a reminder of how to create both Go and SQL migrations. fixes issue #24
This commit is contained in:
parent
b9dc9c12b8
commit
e885648f5a
@ -22,7 +22,7 @@ goose provides several commands to help manage your database schema.
|
|||||||
|
|
||||||
## create
|
## create
|
||||||
|
|
||||||
Create a new migration script.
|
Create a new Go migration.
|
||||||
|
|
||||||
$ goose create AddSomeColumns
|
$ goose create AddSomeColumns
|
||||||
$ goose: created db/migrations/20130106093224_AddSomeColumns.go
|
$ goose: created db/migrations/20130106093224_AddSomeColumns.go
|
||||||
@ -87,8 +87,7 @@ Print the current version of the database:
|
|||||||
|
|
||||||
# Migrations
|
# 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
|
## SQL Migrations
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user