Fix README example to have DB string

pull/10/head
Trevor Rosen 2016-10-05 14:39:07 -05:00
parent cb330a2e11
commit c63bd171be
1 changed files with 2 additions and 2 deletions

View File

@ -47,14 +47,14 @@ Commands:
Create a new Go migration. Create a new Go migration.
$ goose create AddSomeColumns $ goose mysql "user:pass@host/db_name" 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 create AddSomeColumns sql $ goose mysql "user:pass@host/db_name" create AddSomeColumns sql
$ goose: created db/migrations/20130106093224_AddSomeColumns.sql $ goose: created db/migrations/20130106093224_AddSomeColumns.sql
## up ## up