Re: add to migration not working (Rails 2.0.2)

Jabbslad
2008-02-28T20:11:44Z

Ah sorry should have mentioned that ;)

"rake db:migrate:redo" might have done the trick and still kept the
data in ur db.

Have a glance at some of the rake tasks for your project (rake -T).
theres loads of them that should help if u ever have the prob again :)

Glad prob is solved now though.

Jabbslad

On Feb 28, 7:47 pm, Dave Amos
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:
> Yes, that worked, though it wiped the contents of my db, as well. No
> biggie, though. Thanks!
>
> Jabbslad wrote:
> > I just tried the exact same and it worked for me, i wonder if ur
> > schema/db is in a bad state. Try:-
>
> > rake db:migrate:reset
>
> > Then try running the migrations again.
>
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com