Open tamalsaha opened 7 years ago
I have a SQL file that ends with a commented out line. SQL migration fails with the following error:
I0404 16:17:30.659541 22029 error.go:293] Error:INTERNAL ERROR: The last statement must be ended by a semicolon or '-- +migrate StatementEnd' marker.
Same error when a comment is present between -- +migrate StatementEnd and -- +migrate Down
-- +migrate StatementEnd
-- +migrate Down
Seems to be OK with 48fb62e01c6f5d73d6650c4c9f54d1141b3c79a1. Sorry for the noise.
I have a SQL file that ends with a commented out line. SQL migration fails with the following error: