Remove duplicate type in pg schema upgrade script

Spotted by azlev.
Merge pull request #1358 from zeha/patch-1

Remove duplicate type in pg schema upgrade script