Updated the gem from sqlite3 to PostgreSQL