Make webyast migration compatible with devise 3.0

For 12.3 and factory