This PR would enable MySQL's strict mode for connections coming from the application. This causes MySQL to raise errors instead of silently truncating too-long data, among other changes. This PR would have prevented https://github.com/yesodweb/persistent/issues/122.
This PR would enable MySQL's strict mode for connections coming from the application. This causes MySQL to raise errors instead of silently truncating too-long data, among other changes. This PR would have prevented https://github.com/yesodweb/persistent/issues/122.
Current wiki page about this: https://github.com/yesodweb/persistent/wiki/Database-Configuration#strict-mode