在 development 运行良好,今天在RAILS_ENV=production rake db:create db:migrate
时报错
== 20140623055658 AddRentEnvToSearches: migrating =============================
-- add_column(:searches, :rent_env_id, :integer)
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
SQLite3::SQLException: no such table: searches: ALTER TABLE "searches" ADD "rent_env_id" integer
是这个迁移文件没找到吗?
不知道问题点出在哪里?请教大家!