Commits

Author Commit Message Labels Comments Date
Parker Moore
Merged in shuhaowu/goose/migration-on-db-obj (pull request #35) Function to migrate specific database.
Shuhao Wu
Function to migrate specific database. Fixes #28
Parker Moore
Merged in vinibaggio/goose/vinibaggio-raise-error-on-incomplete-buffer (pull request #45) Add a warning on non-empty buffer.
Vinicius Baggio Fuentes
Add a warning on non-empty buffer.
Parker Moore
Merged in oinume/goose/mysql-support (pull request #43) Support mysql driver
Kazuhiro Oinuma
Support mysql driver
Liam Staskawicz
Merged in rubenv/goose/readme-codeblocks (pull request #41) Fix non-standard code blocks.
Ruben Vermeersch
Fix non-standard code blocks.
Liam Staskawicz
Merged in gusennan/goose (pull request #38) Allow driver to be set from environment variable
Nathan Guerin
Allow driver to be set from environment variable This changeset support for allowing the database driver to be set from an environment variable. Added a unit test to confirm behavior. Resolves #31
Liam Staskawicz
readme: update thank you section
Nathan Guerin
Simplify logic paths in two functions This commit replaces the custom implementation of the sort.Reverse function with golang's built in sort.Reverse function to reverse the order of the migration scripts (descending sort). In the EnsureDbVersion function it simplifies logic paths by reducing the number of conditions checked before a new version is added to the "to skip" slice. In function splitSQLStatements it changes the order of th…
Liam Staskawicz
readme: update thank yous, and clarify pgschema doc a bit
Liam Staskawicz
Merge remote-tracking branch 'Fozz/fixing_pathing_bug'
Liam Staskawicz
migrate: consolidate usage of FinalizeMigration was previously duplicated in migration_go and migration_sql
Liam Staskawicz
migration_go: encode/decode the existing DBConf so it can be used in the generated code. Allows us to re-use library code that accepts a DBConf as a param.
Liam Staskawicz
dialect: define interface routines such that they do not rely on the compiler’s ability to dereference a pointer receiver in all cases. supports in progress ability to gob (un)marshal DBConf
Brendan Fosberry
Handling case here walkerr is raised and info is nil
Liam Staskawicz
migrate: consolidate db openings to use OpenDBFromDBConf()
Liam Staskawicz
dbconf: provide new helper to open and configure a DB based on a given DBConf
Kevin Gorjan
Added -pgschema option for Postgres
Liam Staskawicz
ReadMe: pointer to `goose create` as a reminder of how to create both Go and SQL migrations. fixes issue #24
Liam Staskawicz
Merged in jkl1337/goose/sqlite3 (pull request #31) Replace TEXT type with TIMESTAMP in sqlite migration table
John K. Luebs
Replace TEXT type with TIMESTAMP in sqlite migration table Although TIMESTAMP specifies NUMERIC affinity, since datetime() is a string the actual type will always be TEXT. sqlite never enforces type, so this is a non-issue. As documented here: https://github.com/mattn/go-sqlite3/issues/42 the column must be TIMESTAMP for Time type scan.
Liam Staskawicz
ReadMe: update thanks
Liam Staskawicz
Merged in lukehutton/goose/add-cmd-version (pull request #30) Add command "goose version" to retrieve the current version for the DB
Luke Hutton
Make command name more specific and consistent output formatting
Luke Hutton
Add command "goose version" to retrieve the current version for the DB
Liam Staskawicz
Merged in technosophos/goose (pull request #28) Minor formatting in the README.md.
Matthew Butcher
Minor formatting in the README.md.
  1. Prev
  2. Next