Nicholas Duffy
1d402b32ff
Add Redshift driver support
...
Redshift can be accessed and `up`/`down` SQL executed with the `pq`
library by default, however, the `createVersionTableSql` of the `PostgresDialect`
is not compatible with Redshift due to the `serial` datatype and `now()` default on.
This PR creates a new Redshift dialect. The dialect still uses the `pq` library and
only updates the SQL in `createVersionTableSql` to be compatible with Redshift.
Closes #32 .
2017-05-03 17:41:20 -06:00
Preston Pham
8dcbd69b12
Handle migration creation without db params
2016-11-05 14:10:59 -05:00
Josh Fyne
15b7bf5fc7
Actually works now, re-added go migration template, updated cmd parser
2016-06-29 17:56:28 -04:00
Josh Fyne
db38a98723
dir string before extra args
2016-06-29 14:54:13 -04:00
Josh Fyne
ba86be6db6
Readme fix
2016-06-29 14:29:16 -04:00
Josh Fyne
7b43a0193d
Adding create command back in
2016-06-29 14:20:34 -04:00
Vojtech Vitek (V-Teq)
59f7a561cb
Refactor commands
2016-03-03 14:46:04 -05:00
Vojtech Vitek (V-Teq)
47e4c98a97
Move lib/goose into top level pkg
2016-02-26 14:50:27 -05:00
Kevin Gorjan
206ca342c5
Added -pgschema option for Postgres
2014-06-05 09:57:43 -07:00
Luke Hutton
fff1cda8bd
Make command name more specific and consistent output formatting
2014-03-14 14:00:22 -07:00
Luke Hutton
09600ab4d7
Add command "goose version" to retrieve the current version for the DB
2014-03-14 13:30:23 -07:00
Liam Staskawicz
6ace67054b
refactor: provide a helper to create a new dbconf from the given flags
2013-09-30 16:26:39 -07:00
Liam Staskawicz
f337f77ed6
re-org: preliminary exports from lib/goose to allow cmd/goose to build properly.
...
Tried to minimize changes other than export/import updates. API is not quite right yet, but everything works as it did before. part of #6 .
2013-09-30 14:27:10 -07:00
Liam Staskawicz
381d1ac678
wip (not building): begin restructuring into separate cmd and lib packages, to allow external applications to make use of goose's internal functionality. part of #6 .
2013-09-30 13:38:02 -07:00