Skip to content

Instantly share code, notes, and snippets.

@timuckun
Created March 16, 2011 21:06
Show Gist options
  • Save timuckun/873301 to your computer and use it in GitHub Desktop.
Save timuckun/873301 to your computer and use it in GitHub Desktop.
Rake error
== CreateRefinerycmsResourcesSchema: migrating ===============================
-- create_table("resources", {:force=>true})
NOTICE: CREATE TABLE will create implicit sequence "resources_id_seq" for serial column "resources.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "resources_pkey" for table "resources"
-> 0.0050s
== CreateRefinerycmsResourcesSchema: migrated (0.0055s) ======================
== CreateNewsItems: migrating ================================================
-- create_table(:news_items, {:id=>true})
NOTICE: CREATE TABLE will create implicit sequence "news_items_id_seq" for serial column "news_items.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "news_items_pkey" for table "news_items"
-> 0.0068s
-- add_index(:news_items, :id)
-> 0.0034s
NOTICE: CREATE TABLE will create implicit sequence "news_item_translations_id_seq" for serial column "news_item_translations.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "news_item_translations_pkey" for table "news_item_translations"
rake aborted!
An error has occurred, this and all later migrations canceled:
PGError: ERROR: column "custom_title" of relation "pages" does not exist
LINE 1: ...itle_type", "updated_at", "browser_title", "lft", "custom_ti...
^
: INSERT INTO "pages" ("meta_description", "title", "menu_match", "position", "link_url", "rgt", "path", "custom_title_type", "updated_at", "browser_title", "lft", "custom_title", "parent_id", "draft", "skip_to_first_child", "meta_keywords", "depth", "created_at", "deletable", "show_in_menu") VALUES (NULL, 'News', '^/news.*$', 2, '/news', 8, NULL, 'none', '2011-03-16 21:06:04.352812', NULL, 7, NULL, NULL, 'f', 'f', NULL, NULL, '2011-03-16 21:06:04.352812', 'f', 't') RETURNING "id"
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment