2015-12-07 175 views

回答

0

當應用程序啓動時插入一些數據非常簡單:Insert data in collection at Meteor's startuphttp://eureka.ykyuen.info/2015/02/19/meteor-insert-sample-data-if-the-mongodb-is-empty/

如果要編輯從版本X到版本Y的架構,可以查看此現有Meteor項目:https://github.com/wekan/wekan/blob/devel/server/migrations.js

如果你找真棒模式,使遷移(種子,回滾,等...),這是一個真棒(但在PHP):http://laravel.com/docs/5.1/migrations

相關問題