This may a common problem, but I created a migration to change a table that already had some information in it. The rows that were already in the tables didn''t add the additional column. Would I need to drop all the information in my table and add it back, because that would be kind of a pain to do... --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
did you by any chance copy your application and did a new migration and then went back to your old one? if thats the case, you may need to have your older application catch up. Daniel Scrima wrote:> This may a common problem, but I created a migration to change a table > that already had some information in it. The rows that were already in > the tables didn''t add the additional column. Would I need to drop all > the information in my table and add it back, because that would be > kind of a pain to do...-- Posted via http://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
No I don''t believe so. v I had my table with some rows of data. I created a new migration that added an additional column to the table, but the column isn''t showing up when I did a "rake db:migrate" On Apr 15, 6:13 pm, mixplate <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> did you by any chance copy your application and did a new migration and > then went back to your old one? if thats the case, you may need to have > your older application catch up. > > Daniel Scrima wrote: > > This may a common problem, but I created a migration to change a table > > that already had some information in it. The rows that were already in > > the tables didn''t add the additional column. Would I need to drop all > > the information in my table and add it back, because that would be > > kind of a pain to do... > > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---