Rails - ActiveRecord::PendingMigrationError - Qiita
リンクのとおり、基本は、db:migrate をしろって話なんだけど、環境的にdatabaseがいろいろあって、そんなことしてられねえよ、という場合。
schema_migrationsに、最新版のファイルのバージョン番号を突っ込む。
20141110100215 とかなんとか。ごにょごにょ。(非推奨)
Go to list of users who liked
More than 5 years have passed since last update.
Rails - ActiveRecord::PendingMigrationError - Qiita
リンクのとおり、基本は、db:migrate をしろって話なんだけど、環境的にdatabaseがいろいろあって、そんなことしてられねえよ、という場合。
schema_migrationsに、最新版のファイルのバージョン番号を突っ込む。
20141110100215 とかなんとか。ごにょごにょ。(非推奨)
Register as a new user and use Qiita more conveniently
Go to list of users who liked