mirror of
https://github.com/pressly/goose.git
synced 2025-05-29 18:55:10 +00:00
Update README.md
This commit is contained in:
parent
2669aa5968
commit
a67bdd09fb
@ -225,7 +225,7 @@ language plpgsql;
|
|||||||
3. Register your migration functions
|
3. Register your migration functions
|
||||||
4. Run goose command, ie. `goose.Up(db *sql.DB, dir string)`
|
4. Run goose command, ie. `goose.Up(db *sql.DB, dir string)`
|
||||||
|
|
||||||
A [sample Go migration 00002_users_add_email.go file](./example/go-migrations/00002_rename_root.go) looks like:
|
A [sample Go migration 00002_users_add_email.go file](./examples/go-migrations/00002_rename_root.go) looks like:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
package migrations
|
package migrations
|
||||||
|
Loading…
x
Reference in New Issue
Block a user