From 4.0 to 4.1 db migrate fail

Created by: laiwei

I am try to upgrade gitlab from 4.0 to 4.1, by the wiki https://github.com/gitlabhq/gitlabhq/wiki/From-4.0-to-4.1

but db migrate fail.