Add support for migrations autogeneration to 'gearbox migrate'