opoloo / lines-engine

Lines is a customizable blog framework for Rails. It aims at making publishing simple and beautiful.
http://lines.opoloo.com
GNU Lesser General Public License v3.0
216 stars 102 forks source link

Error after running migrations #23

Closed sushant12 closed 5 years ago

sushant12 commented 6 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"))
thej commented 5 years ago

Fixed with latest release (>=1.2.5)