75 Commits

Author SHA1 Message Date
Ilia Kondrashov
f3abc85fac allow to specify migrations table 2019-12-14 19:44:40 +02:00
Adam Pietrzycki
a67bdd09fb
Update README.md 2019-06-22 13:06:08 +01:00
Adam Pietrzycki
2669aa5968
Fixing broken link in README 2019-06-22 13:04:01 +01:00
Edvard
5975eda15e Add up-by-one to documentation 2019-05-28 11:22:27 +02:00
Aleksei Maslov
6896ffb1dd renamed sqlserver to mssql. 2019-05-15 13:25:09 +08:00
Aleksei Maslov
e11a96e0db prepared PR to pressly 2019-04-16 10:15:47 +08:00
Aleksei Maslov
ea2101beb3 added mssql support. 2019-04-12 17:25:30 +08:00
yoshiya0503
dcdfaa3d34 fix README (add reset command) 2019-03-28 16:52:47 +09:00
Vojtech Vitek
5cd6f8c9d0 Make this all work 2019-03-06 01:20:06 -05:00
Vojtech Vitek
0f13f74517 README: Remove obsolete log lines
Fixes #141
2019-03-04 19:38:33 -05:00
Vojtech Vitek
3c2a65ec01
Link to "versioning problem" 2018-12-12 11:31:43 -05:00
1vn
7cae30c634 not -> no 2018-11-13 11:37:44 -05:00
1vn
750e477310 update readme 2018-11-13 11:21:31 -05:00
1vn
5da23b54c9 goose lite 2018-11-12 15:32:52 -05:00
1vn
90f0cf504b update documentation 2018-11-06 16:54:31 -05:00
Simon Wikstrand
35a69f048d
Added documentation, and support in the cmd binary for tidb 2017-12-04 18:51:48 +01:00
Yehor Smoliakov
738443a12b Added a parseTime parameter to the MySQL status command 2017-10-31 20:16:50 +02:00
Vojtech Vitek
c579bcf2f9 Merge branch 'master' into optional-migrations 2017-06-20 15:04:58 -04:00
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
a515c0b5b9 Update NO TRANSACTIONS to NO TRANSACTION 2017-05-06 13:39:52 -06:00
Nicholas Duffy
fa8806ecfd Add support for optional migrations.
See the discussion in https://github.com/pressly/goose/issues/7.
Credit goes to @dkotson for his gist here: https://github.com/pressly/goose/issues/7#issuecomment-241613482

I've just added that patch to this repository and change the transaction comment to `-- +goose NO TRANSACTIONS`.

- Checks the migration file for `-- +goose NO TRANSACTIONS`
- Based upon that line, either runs the up/down SQL with or without transactions
- Add test to check for transactions
- Update README

Closes #7.
2017-05-06 09:41:44 -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 c63bd171be103d606a2f8125710c1d4fb6e83086.

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