switch gem sqlite3 to pg