changed database.yml production adapter to postgresql from sqlite3