changed sqlite3 gem to PG gem