#4692 removed semi colon from query
#4573 added new indicies to extra sql pg
#4682
#4693
Merge pull request #4697 from dotCMS/merge-4682-to-master

#4682
#4678 added upgrade task. can be disable by config
Merge pull request #4698 from dotCMS/issue-4678-upgrade-pg-indicies

Issue 4678 upgrade pg indicies
Merge remote-tracking branch 'origin/master' into issue-3266-Make-New-WAR-Infrastructure