Commit Graph

55 Commits (d10e0e5458351deddeab9dd2bafbbdcf0e6decc9)

Author SHA1 Message Date
Vojtech Vitek 7e6b95b4d0 Examples structure refactor 2017-06-20 12:53:59 -04:00
Vojtech Vitek 11a1b26516 Create migration file with next version number
Fixes #25
2017-06-19 17:23:29 -04:00
Nicholas Duffy 22099ce50b Fix dbversion to version
The docs and usage state the command for checking the
version of the database is `dbversion` but it is just `version`.
2017-05-07 15:38:23 -06:00
Nicholas Duffy 3c5ec4e555 Update README
- Add list of drivers
- Update command list to reference `up-to` and `down-to`
- Add `up-to` and `down-to` examples
- Update usage output

Closes #37.
2017-05-06 08:43:15 -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
mmatczuk 1d358f1467 MySQL status note 2017-03-24 13:11:15 +01:00
Vojtech Vitek e591daea14 Fix example 2017-03-13 12:08:01 -04:00
Vojtech Vitek 1a4b9210ea Update Goals of this fork 2017-03-13 12:04:18 -04:00
Vojtech Vitek (V-Teq) d6e8fe0292 Revert "Fix README example to have DB string"
This reverts commit c63bd171be.

Ref. #12
2016-11-06 13:45:28 -05:00
Trevor Rosen c63bd171be Fix README example to have DB string 2016-10-05 14:39:07 -05:00
Josh Fyne 3a4a94cc90 Fixes install instructions 2016-06-30 10:33:02 -04:00
Josh Fyne ba86be6db6 Readme fix 2016-06-29 14:29:16 -04:00
Josh Fyne 3523b17cdc Remove misleading create documentation 2016-06-29 12:30:47 -04: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) c78d864291 Register Go functions as complex Go migrations 2016-03-03 18:48:45 -05:00
Vojtech Vitek (V-Teq) 70175058a4 Update README 2016-03-03 14:50:13 -05:00
Vojtech Vitek (V-Teq) 0eaa95867a README: Goals of this fork 2016-02-26 15:32:16 -05:00
Vojtech Vitek (V-Teq) 47e4c98a97 Move lib/goose into top level pkg 2016-02-26 14:50:27 -05:00
Ruben Vermeersch 0d0c245c18 Fix non-standard code blocks. 2014-09-07 22:03:46 +02:00
Liam Staskawicz 44b2850c86 readme: update thank you section 2014-06-25 16:46:22 -07:00
Liam Staskawicz f622414e94 readme: update thank yous, and clarify pgschema doc a bit 2014-06-05 15:36:07 -07:00
Kevin Gorjan 206ca342c5 Added -pgschema option for Postgres 2014-06-05 09:57:43 -07:00
Liam Staskawicz e885648f5a ReadMe: pointer to `goose create` as a reminder of how to create both Go and SQL migrations. fixes issue #24 2014-04-01 11:08:47 -07:00
Liam Staskawicz 53ce70e6f3 ReadMe: update thanks 2014-03-14 14:12:00 -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
Matt Butcher ac3c774890 Minor formatting in the README.md. 2014-03-11 13:09:09 -06:00
Liam Staskawicz e868d71621 readme: update thanks 2014-02-23 22:13:49 -08:00
John K. Luebs eac4a3744d Add core sqlite3 support using mattn/go-sqlite3 2014-02-23 20:18:11 -05:00
Liam Staskawicz 215fc52614 readme: update heroku example to work as written 2014-02-22 16:30:23 -08:00
Liam Staskawicz c7df92cbac ReadMe: add documentation for the argument to create an sql migration 2014-01-07 16:34:43 -08:00
Liam Staskawicz 8b0e5cc603 readme: update import path in heroku instructions 2013-10-08 16:35:09 -07:00
Liam Staskawicz 80293b668f thanks: update 2013-10-01 14:34:28 -07:00
Liam Staskawicz 4e0e887c02 readme: some cya for the state of the API, and update thanks 2013-10-01 08:22:38 -07:00
Liam Staskawicz b5238a6198 readme: updates for new package structure 2013-09-30 20:11:17 -07:00
Liam Staskawicz bf614779b1 thanks: update 2013-09-30 08:13:08 -07:00
Liam Staskawicz 3b8ee5dc3f thanks: add Gyepi Sam & James Cooper 2013-09-27 16:01:50 -07:00
Liam Staskawicz d6778db387 readme: add some notes for new StatementBegin and StatementEnd annotations, and clarify that semicolons are the default statement delimiter 2013-09-27 14:25:07 -07:00
Liam Staskawicz 2847f34016 readme: add contributors section 2013-06-30 11:47:19 -07:00
Liam Staskawicz d5427607db readme: update and clarify go migration example 2013-06-30 11:08:44 -07:00
Daniel Heath bb8240b815 Update readme 2013-04-24 12:39:37 +10:00
Liam Staskawicz 66fbe2d01a dialect: introduce layer to implement SQL-specific queries for internal goose operations 2013-04-07 17:51:48 -07:00
Liam Staskawicz 09e81b9cb9 dbconf: allow configuration to override a driver's import field 2013-04-07 15:18:43 -07:00
Josh Bleecher Snyder 039efed9a8 Update and simplify heroku instructions 2013-01-15 09:12:35 -08:00
Josh Bleecher Snyder f787354860 Expand environment variables in dbconf.yml's open
The immediate goal here is to make using goose
with Heroku easier, where the database connection
url is provided by an environment variable. More
generally, this makes it easier to avoid committing
sensitive information like database credentials.
2013-01-10 18:11:45 -08:00
Liam Staskawicz 0287dcd9b2 readme: slight formatting tweak 2013-01-06 11:32:51 -08:00
Liam Staskawicz 8ccb502c95 readme: add notes about the available commands 2013-01-06 11:31:29 -08:00
Liam Staskawicz 8c4171074b readme: missed a couple mentions of configuration vs environment 2012-12-24 12:14:19 -08:00
Liam Staskawicz 9fbce90a79 flags: improved option names 2012-12-24 12:12:31 -08:00
Liam Staskawicz 9e1edc94d7 readme: fix installation instructions 2012-12-17 12:39:18 -08:00