#89 ✓resolved
Rit Li

migration problem: add_admin should come after add_suspended_to_users

Reported by Rit Li | August 27th, 2009 @ 10:07 AM | in 0.9.7 "Steinitz"

This migration:
db/migrate/022_add_suspended_to_users.rb

should happen before:
db/migrate/021_add_admin_to_users.rb

When Setting::user_signup is set to "needs_approval"
and fresh run "rake crm:setup", it gives me this error:

rake aborted!
undefined method suspended_at=' for #<User:0xb6e9a35c>

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby on Rails CRM platform for Web 2.0 and beyond

People watching this ticket

Referenced by

Pages