adds postgres gem
changes db from sqlite3 to postgres