[typo] db migrate failure in new 6.0.5
alpartis at thundernet.com
Tue Jul 5 22:38:06 EDT 2011
I went ahead and pulled down a clone of the typo git repo and noted in the
git log that you committed a change that says it fixes issue #209. Given
your fix, I chose to re-attempt my typo install using this code instead of
making the patch to 6.0.5. Unfortunately, the problem as described below
Is it possible that commit #a7964f4 was subsequently re-broken by one of
the two following commits?
For the time being, I've decided to just work with 6.0.5 and the patch.
thundernet development group
On Tue, 5 Jul 2011, Matijs van Zuijlen wrote:
> Hi Alan,
> Sadly, this is a known bug :-(. I'm working on an overhaul of the migrations,
> many of which were created in prehistory, but I'll try to rush a fix for this
> particular problem today.
> In the mean time, you can take a look at
> The patch there apparently works (though I have not tested it myself), but DO
> be sure to remove it once the migration is done.
> On 05/07/2011 00:38, Alan Partis wrote:
> > I'm setting up a fresh typo 6.0.5 installation. Downloaded and untarred
> > the 6.0.5 tarball. Ran 'bundle install' and then tried rake db:migrate
> > RAILS_ENV=production. The database existed, but was empty. I expected
> > everything to run smoothly, of course, so I am surprised to be seeing
> > this:
> > ---
> > Creating shortened URL for existing contents, this may take a moment
> > rake aborted!
> > An error has occurred, 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.
> > Tasks: TOP => db:migrate
> > (See full trace by running task with --trace)
> > ---
> > What am I missing? I can't imagine there is/was a problem with the
> > database as I'm staring with a fresh empty database. Any thoughts?
> > Thanks.
> > _______________________________________________________
> > Alan Partis
> > thundernet development group
More information about the Typo-list