Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Migration 如何导出Bookshelfjs、Knex.js中的现有模式?_Migration_Bookshelf.js_Knex.js - Fatal编程技术网

Migration 如何导出Bookshelfjs、Knex.js中的现有模式?

Migration 如何导出Bookshelfjs、Knex.js中的现有模式?,migration,bookshelf.js,knex.js,Migration,Bookshelf.js,Knex.js,我正在将Bookshelf.js映射到现有的模式。我想开始使用Knex迁移管理现有模式 有没有一种方法可以将现有模式导出为迁移,这样我就有了前进的起点 或者我必须手动创建迁移文件。(虽然不是世界末日,但最好是出口)

我正在将Bookshelf.js映射到现有的模式。我想开始使用Knex迁移管理现有模式

有没有一种方法可以将现有模式导出为迁移,这样我就有了前进的起点

或者我必须手动创建迁移文件。(虽然不是世界末日,但最好是出口)