Hi all,

This is my error:

git@maverick:~$ pwd
/var/www/gitorious
git@maverick:~$ bundle exec rake db:migrate
.
.
.
==  AddProjectMemberships: migrating 
==========================================
-- create_table(:project_memberships)
   -> 0.0043s
-- add_index(:project_memberships, [:project_id, :member_id, :member_type], 
{:name=>"project_memberships_index"})
   -> 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 
exist: SELECT * FROM `content_memberships` 

(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 
`project_memberships` ADD `content_type` varchar(255)

*

I'm following this 
steps: http://gitorious.org/gitorious/pages/DebianSqueezeInstallation


How can I fix it?

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

Reply via email to