SQLite type_to_sql