Add a warning on non-empty buffer.
Vinicius Baggio Fuentes
Branch: vinibaggio/goose:vinibaggio-raise-error-on-incomplete-buffer
Branch: liamstask/goose:master
Merged
Merged pull request
Merged in vinibaggio/goose/vinibaggio-raise-error-on-incomplete-buffer (pull request #45)
The use-case for this patch is to add a warning when a SQL migration is improperly defined. If the last line of a migration doesn't include a semicolon, that line will get silently ignored. This won't prevent it from happening, but will issue a warning to the user, making it helpful for developers to inspect the error.