Get column type from COLUMN_TYPE instead of DATA_TYPE

Addresses:
https://groups.google.com/d/msg/yesodweb/M1hGNedIvng/5EVWd5U36wUJ