Fix 1175

#1175
It doesn't matter whether SQLite columns have `text` or `TEXT` as type so I've removed that part and added the PgSQL part.