took out sqlite3 and changed to postgres