rubenv / sql-migrate

SQL schema migration tool for Go.
MIT License
3.19k stars 275 forks source link

Allow custom line terminator #55

Closed freakingawesome closed 7 years ago

freakingawesome commented 7 years ago

This PR adds the ability to specify a string that, if matched, will split up a list of migrations. This suits our workflow on MS SQL projects, where semicolons are optional and statements are separated by a line containing only the word GO, as in MS SQL Query Analyzer.

This PR also includes the line terminator bug fix from https://github.com/rubenv/sql-migrate/pull/53

rubenv commented 7 years ago

Beautiful, thanks a lot!