Merging DB scripts for repo + quartz + activiti (MID-2077).