1vn
45eeb19d7d
add fix and timestamp default
2018-10-30 16:45:45 -04:00
Maxim Krasilnikov
3676559dc0
Rename goose db version table name to tableName
2018-05-02 14:24:15 +03:00
Maxim Krasilnikov
0639337e0b
Added ability to change db version table name
2018-04-29 14:14:14 +03:00
Simon Wikstrand
340bf96224
Changed incorrect comment from copy paste
2017-12-01 18:51:55 +01:00
Simon Wikstrand
19673d2b47
Added a dialect for TiDB
2017-12-01 18:50:38 +01:00
Nicholas Duffy
abb2957c5d
Update formatting per PR comments
...
Also rename `VersionId` to `VersionID`
2017-05-08 11:01:48 -06:00
Nicholas Duffy
fc368fe618
Reformat code to adhere to gofmt standards
2017-05-07 07:02:54 -06:00
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