
[英]$rake db:migrate An error has occurred, this and all later migrations canceled
[英]Heroku run rake db:migrate?
你能告诉我这是什么意思吗?
$ heroku run rake db:migrate
Running `rake db:migrate` attached to terminal... up, run.9927
ActiveRecord::SchemaMigration Load (10.1ms) SELECT "schema_migrations".* FROM
"schema_migrations"
这是正常运行的应用程序的正常输出吗?
谢谢
在heroku上部署时,“ heroku run rake db:migrate”命令将从应用程序读取您的schema.rb文件。 因为当用户创建新迁移并运行该迁移时,rails在schema.rb文件中记录了数据库模式的最终当前状态。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.