Fix for incorrect postgres datatype declaration for upgrading
quickfix for previous commit
Merge pull request #226 from BronyBorn/master

Postgres datatype bugfix