Unbreak migrations for PostgreSQL

王权利请求将github/fork/denispeplin/master合并到master

Created by: denispeplin

I'm not sure it is good idea to mess with existing migrations, but it is easiest way. Is it applicable?

合并请求报告