Replaced sqlite3 gem with pg gem