有人可以帮我跑步heroku run db:migrate吗?我忘记在heroku 上运行db:migration 以及在dev env 上运行migration。我做了几个,现在收到以下错误:
wozane:~/workspace (master) $ heroku run rake db:migrate \nRunning rake db:migrate on \xe2\xac\xa2 wozane... up, run.7786\n (0.8ms) SELECT pg_try_advisory_lock(96974639112725850);\n ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations"\nMigrating to RemoveColumnImage (20160917131520)\n (0.7ms) BEGIN\n== 20160917131520 RemoveColumnImage: migrating ================================\n-- remove_column(:articles, :image_file_name, :string)\n (1.5ms) ALTER TABLE "articles" DROP "image_file_name"\n (0.7ms) ROLLBACK\n (0.8ms) SELECT pg_advisory_unlock(96974639112725850)\nrake aborted!\nStandardError: An error has occurred, this and all later migrations canceled:\n\nPG::UndefinedColumn: ERROR: column "image_file_name" of relation "articles" does not exist\n: ALTER TABLE …Run Code Online (Sandbox Code Playgroud) postgresql ruby-on-rails heroku database-migration heroku-postgres