Switched DB gem to postgres