Re: [Rails] rake db:reset doesn't work, fails with unknown attribute: user_status
On Sat, Feb 18, 2012 at 5:42 PM, S Ahmed <sahmed1020@gmail.com> wrote:
-- If I manually drop the database, and run create, then migrate it works fine.But doing a:rake db:resetit fails with:unknown attribute: user_statusDoes this mean my migrations are not dropping things correctly?
First thing to do seems to check with --trace.
$ rake --trace db:reset
and study the order of execution of rake tasks in detail until the
point where it fails ...
HTH,
Peter
*** Available for a new project ***
Peter Vandenabeele
http://twitter.com/peter_vhttp://coderwall.com/peter_v
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home