On Jan 8, 3:34 am, alamodey
<alamo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi, I''m new to Rails. Does rake db:migrate only process things
under
> your /db/migrate/ folder?
Correct
> I made some changes in my /app/models/ files
> such as defining relationships between classes, but this doesn''t
seem
> to be reflected in my underlying database. So how do I create foreign
> keys in Rails without doing it manually in my DBMS?
>
You don''t. You create migrations that add those columns, keys etc...
Fred
--~--~---------~--~----~------------~-------~--~----~
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
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---