案例: 我有10个迁移文件。每个文件都有10个迁移属性,如下所示
return queryInterface.removeConstraint('customers', 'customers_ibfk_1').then(function() {
queryInterface.changeColumn('users', 'password', {
type: Sequelize.STRING(70)
})
queryInterface.removeIndex('users', 'username')
queryInterface.removeIndex('users', 'users_username_unique')
queryInterface.removeIndex('customers', 'user_id')
.....
......
})
但是有些时候特定的Cloumn无法迁移(那时候看到日志显示以下错误)
ResourceRequest超时