Fixing bug in postgres setup where role was not given permission to db.