I know that in heroku you can run
heroku rake db:migrate
from your ruby console and itll run the migrations on the database for your heroku app.
Is there something similar for appharbor and ef code first migrations?
I know that in heroku you can run
heroku rake db:migrate
from your ruby console and itll run the migrations on the database for your heroku app.
Is there something similar for appharbor and ef code first migrations?
Entity Framework 团队正在努力解决这个问题,并且有一个测试版。这是Scott Hanselman的博客文章。此功能还支持迁移到远程服务器(例如您在 AppHarbor 上可能拥有的服务器)。