Replace gem sqlite3 to pg