我正在使用创建迁移脚本
orients migrate create something
up函数看起来像这样
db.class.create('User', 'V')
.then(function (User) {
console.log("Created class User");
})
}
'then' 函数没有被执行。但是这个类正在被创建。有什么遗漏吗?
我用的是orientjs版本:2.1.0 orientdb版本 2.1.6社区版
----更新----- 这是 github 问题:https ://github.com/orientechnologies/orientjs/issues/120