mirror of https://github.com/pressly/goose.git
Revert "Fix README example to have DB string"
This reverts commit c63bd171be
.
Ref. #12
pull/15/head
v0.9
parent
5c7c3b5b6f
commit
d6e8fe0292
|
@ -47,14 +47,14 @@ Commands:
|
||||||
|
|
||||||
Create a new Go migration.
|
Create a new Go migration.
|
||||||
|
|
||||||
$ goose mysql "user:pass@host/db_name" create AddSomeColumns
|
$ goose create AddSomeColumns
|
||||||
$ goose: created db/migrations/20130106093224_AddSomeColumns.go
|
$ goose: created db/migrations/20130106093224_AddSomeColumns.go
|
||||||
|
|
||||||
Edit the newly created script to define the behavior of your migration.
|
Edit the newly created script to define the behavior of your migration.
|
||||||
|
|
||||||
You can also create an SQL migration:
|
You can also create an SQL migration:
|
||||||
|
|
||||||
$ goose mysql "user:pass@host/db_name" create AddSomeColumns sql
|
$ goose create AddSomeColumns sql
|
||||||
$ goose: created db/migrations/20130106093224_AddSomeColumns.sql
|
$ goose: created db/migrations/20130106093224_AddSomeColumns.sql
|
||||||
|
|
||||||
## up
|
## up
|
||||||
|
|
Loading…
Reference in New Issue