haven't seen this on my end but I'm helping a customer facing the same
On 10/30/2012 09:18 PM, Peter Kjellerstedt wrote:
> I stumbled upon the same problem the other day when I migrated our
> The problem for you, however, is that you will have to revert the part
> *From:*firstname.lastname@example.org [mailto:email@example.com]
> Hi all,
> This is my error:
> git@maverick:~$ pwd
> git@maverick:~$ bundle exec rake db:migrate
> == AddProjectMemberships: migrating
> -- create_table(:project_memberships)
> -> 0.0043s
> -- add_index(:project_memberships, [:project_id, :member_id,
> -> 0.0062s
> == AddProjectMemberships: migrated (0.0110s)
> == MakeProjectMembershipPolymorphicOnSubject: migrating
> -- add_column(:project_memberships, :content_type, :string)
> -> 0.0062s
> rake aborted!
> An error has occurred, all later migrations canceled:
> Mysql::Error: Table 'gitorious_production.content_memberships' doesn't
> (See full trace by running task with --trace)
> *with --trace*
> *git@maverick:~$ bundle exec rake db:migrate --trace*
> *(in /var/www/gitorious)*
> *** Invoke db:migrate (first_time)*
> *** Invoke environment (first_time)*
> *** Execute environment*
> *** Execute db:migrate*
> *== MakeProjectMembershipPolymorphicOnSubject: migrating
> *-- add_column(:project_memberships, :content_type, :string)*
> *rake aborted!*
> *An error has occurred, all later migrations canceled:*
> *Mysql::Error: Duplicate column name 'content_type': ALTER TABLE
> I'm following this steps:
> How can I fix it?
Thomas Kjeldahl Nilsson
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.