在我运行 heroku run db:migrate 之后,我得到了这个错误。. 该应用程序在开发中运行良好。我也在这个网站上做了一些研究,并尝试了几种解决方案,似乎不起作用。有人可以帮我弄清楚如何解决这个问题吗?
== CreatePins: migrating =====================================================
-- create_table(:pins)
NOTICE: CREATE TABLE will create implicit sequence "pins_id_seq1" for serial column "pins.id"
rake aborted!
An error has occurred, this and all later migrations canceled:
PG::Error: ERROR: relation "pins" already exists
: CREATE TABLE "pins" ("id" serial primary key, "description" character varying(255), "created_at" timestamp N
OT NULL, "updated_at" timestamp NOT NULL) /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_re
cord/connection_adapters/postgresql_adapter.rb:650:in `exec'