graphile / migrate

Opinionated SQL-powered productive roll-forward migration tool for PostgreSQL.
MIT License
751 stars 58 forks source link

Improve error message on CRLF issues in committed migrations #226

Closed benjie closed 2 months ago

benjie commented 2 months ago

Description

Fixes #224

The git conversion of LF to CRLF will cause issues not just with header parsing but also with hash signatures; as such we must require that these files are uncompromized. The error message now provides hints how to configure git to not mess with line endings for these files.

Performance impact

Negligible.

Security impact

Negligible.

Checklist