Migrations. Look into migrations. You can add, remove, change, etc.
columns and anything in the database through migrations.

On Mar 11, 1:07 pm, tappind <[email protected]> wrote:
> I took a run at the blog tutorial and now I am working on my first
> Ruby app. I have two models with the same relationship as the post /
> comments example in the blog tutorial.
>
> When I created the second model I forgot to add the 'reference' column
> to link the two together.
>
> I can't seem to find anywhere the correct way to fix this and in
> general to add columns to an existing database table.
>
> Thanks,
>
> Dan
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to