9 Commits

Author SHA1 Message Date
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
d0b5acabe5 minor README fix 2017-06-20 12:20:05 -04:00
Vojtech Vitek
4df66b56ef Add example READMEs 2017-06-20 12:11:08 -04: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
Vojtech Vitek (V-Teq)
c78d864291 Register Go functions as complex Go migrations 2016-03-03 18:48:45 -05:00
Vojtech Vitek (V-Teq)
59f7a561cb Refactor commands 2016-03-03 14:46:04 -05:00
Vojtech Vitek (V-Teq)
2cccd9df36 Refactor goose pkg 2016-03-02 17:23:15 -05:00