handle upgrade for departments
Merge pull request #178 from yashodha/HR-183.upgrade

handle upgrade for departments