You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
The current version does not seem to be able to read files with CRLF terminators.
I think this is causing it to effectively comment out all of the code.
noticed because it worked on the machine I created the files in, but not in any machine that updated the files from github.
I scanned two files for testing, this was the output of the files * command on Ubuntu:
20181123004251_test.sql: ASCII text, with CRLF line terminators
20181124185152_test1.sql: ASCII text
The test.sql file never ran, I forced good and bad SQL, it never created the tables or threw any errors.
The test1.sql always worked just fine.
Both files would show up on the schema_migrations table after running dbmate up.
After changing the line endings from CRLF to LF, test.sql ran as intended.
The text was updated successfully, but these errors were encountered:
Hi,
The current version does not seem to be able to read files with CRLF terminators.
I think this is causing it to effectively comment out all of the code.
noticed because it worked on the machine I created the files in, but not in any machine that updated the files from github.
I scanned two files for testing, this was the output of the
files *
command on Ubuntu:The
test.sql
file never ran, I forced good and bad SQL, it never created the tables or threw any errors.The
test1.sql
always worked just fine.Both files would show up on the
schema_migrations
table after runningdbmate up
.After changing the line endings from CRLF to LF,
test.sql
ran as intended.The text was updated successfully, but these errors were encountered: