--upgrade script for CRM-12065
Merge pull request #151 from pradpnayak/CRM-12065

--upgrade script for CRM-12065