Skip to content

Instantly share code, notes, and snippets.

@donpdonp
Created May 6, 2011 01:45
Show Gist options
  • Select an option

  • Save donpdonp/958316 to your computer and use it in GitHub Desktop.

Select an option

Save donpdonp/958316 to your computer and use it in GitHub Desktop.
== AddRedirectionsModel: migrating ===========================================
-- create_table(:redirections)
NOTICE: CREATE TABLE will create implicit sequence "redirections_id_seq" for serial column "redirections.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "redirections_pkey" for table "redirections"
-> 0.2534s
Creating shortened URL for existing contents, this may take a moment
rake aborted!
An error has occurred, this and all later migrations canceled:
The single-table inheritance mechanism failed to locate the subclass: 'Page'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Content.inheritance_column to use another column for that information.
(See full trace by running task with --trace)
@ahpook

ahpook commented Jul 3, 2011

Copy link
Copy Markdown

Did you figure out what caused this? I got this gist from google because I'm seeing the same error.

@donpdonp

donpdonp commented Jul 3, 2011

Copy link
Copy Markdown
Author

oh man i cant even remember what caused that error. sorry.

@ahpook

ahpook commented Jul 3, 2011

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment