Sqlite3 gem changed with postgres