'X' => text, 'X2' => longtext

Adjusted so that columns of type "X" result in a mysql column of type "text", and that "X2" results in a a"longtext" column, to match the behavior of Concrete < 5.7

My application relies on detecting the difference between these two columns, and that's impossible with the current implementation. Also, it is in contradiction with your own documentation: http://www.concrete5.org/documentation/how-tos/developers/creating-and-working-with-db-xml-files/

Unfortunately, this change here *does* fix the database side of things, but I am nevertheless still not able to discern between these two types in my code. The Doctrine DBAL doesn't have the required functionality to do that. Newer versions do (the 2.5 release candidate does, see https://github.com/doctrine/dbal/blob/829eb1c8380ec7529d8efc7a970a0a8b4144b25c/lib/Doctrine/DBAL/Schema/MySqlSchemaManager.php), but that version can't be installed without creating conflicting requirements in Composer. So, I fixed that by manually replacing that one file (sigh), while I wait for the 2.5 Release Candidate to turn into an actual release...
Merge branch 'patch-5' of https://github.com/infostreams/concrete5-5.7.0 into infostreams-patch-5