Closed sushant12 closed 5 years ago
Getting this err after migration
-- create_table("lines_authorables", {:force=>true}) rake aborted! StandardError: An error has occurred, this and all later migrations canceled: PG::UndefinedTable: ERROR: relation "authors" does not exist : CREATE TABLE "lines_authorables" ("id" serial primary key, "author_id" integer , "article_id" integer , "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, CONSTRAINT fk_lines_authorables_author_id FOREIGN KEY ("author_id") REFERENCES "authors" ("id"), CONSTRAINT fk_lines_authorables_article_id FOREIGN KEY ("article_id") REFERENCES "articles" ("id"))
Fixed with latest release (>=1.2.5)
Getting this err after migration