Files changed (1)
+* a folder called "migrations" which contains .sql and/or .go scripts that implement your migrations
+Notice the annotations in the comments. Any statements following `-- +goose Up` will be executed as part of a forward migration, and any statements following `-- +goose Down` will be executed as part of a rollback.
+`Up()` will be executed as part of a forward migration, and `Down()` will be executed as part of a rollback.
+A transaction is provided, rather than the DB instance directly, since we also need to record the schema version within the same transaction. Each migration should run as a single transaction anyway to ensure DB integrity, so it's good practice anyway.
+Here, 'development' specifies the name of the configuration, and the 'driver' and 'open' elements are passed directly to database/sql to access the specified database.