Skip to content

Relation posts does not exist #44

Open
@jengweneg

Description

@jengweneg

Hello,
I've been through blogo install and i am constantly coming to this error saying that relation posts does not exist when i run * rake db:migrate*
COuld you help please?


== 20160330195628 CreateBlogoTaggings: migrating ==============================
-- create_table("blogo_taggings")
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

PG::UndefinedTable: ERROR: relation "posts" does not exist
: CREATE TABLE "blogo_taggings" ("id" serial primary key, "post_id" integer NOT NULL, "tag_id" integer NOT NULL, CONSTRAINT fk_blogo_taggings_post_id FOREIGN KEY ("post_id") REFERENCES "posts" ("id"), CONSTRAINT fk_blogo_taggings_tag_id FOREIGN KEY ("tag_id") REFERENCES "tags" ("id")) /usr/local/rvm/gems/ruby-2.1.3/gems/activerecord-4.1.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:128:in `async_exec'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions