Commit Graph

7 Commits (0d5a6db9db5380360c897d02b0cb3f0d9c0d4495)

Author SHA1 Message Date
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
Vojtech Vitek (V-Teq) ae64375f29 Remove go-sqlite3 dependency from goose pkg 2016-03-07 15:55:05 -05: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
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
Liam Staskawicz bab8917da5 dialect: use insertVersionSql() to ensure txn.Exec() args are handled properly in each dialect 2013-07-08 23:37:30 -07:00
Liam Staskawicz 66fbe2d01a dialect: introduce layer to implement SQL-specific queries for internal goose operations 2013-04-07 17:51:48 -07:00