Phusion Passenger - ActiveRecord :: PendingMigrationError

时间:2015-12-19 09:04:59

标签: mysql ruby-on-rails ruby linux activerecord

我正在尝试使用Phusion Passenger运行简单的RoR应用程序。在转到localhost的那一刻,我看到了来自主题的错误。事实上,我没有任何待处理的迁移:

     Status   Migration ID    Migration Name
--------------------------------------------------
   up     20150222215652  Create products
   up     20150405145349  Create carts
   up     20150405151313  Create line items
   up     20150407094606  Add quantity to line items
   up     20150409062414  Combine items in cart
   up     20150516084832  Create orders
   up     20150516084958  Add order id to line item
   up     20151005170430  Add ship date to orders
   up     20151011083822  Create users
   up     20151118212158  Add locale to products

我的平台是Linux(Debian 8 Jessie 64x)。

我的数据库是MySQL(gem' mysql2','〜> 0.3.18')。

我正在使用Ruby 2.2.1p85(2015-02-26修订版49769)[x86_64-linux]和Rails 4.1.8。

乘客版本为5.0.22。

有谁知道如何解决这个问题?我错过了什么?

0 个答案:

没有答案