Switched from gem sqlite3 to pg