Displaying 1 result from an estimated 1 matches for "addtablerelation".
2006 May 22
1
Active Record Migrations -> Table Relations
Hi there !
I am currently investingation ROR.
I really like the idea of specifying my database schema via Migrations,
but one questions came to my mind.
How does one specify Table relations in the migration ?
1. There is a fancy way of doing it with Active Records.
2. I just add manually some Integer ID columns etc... and lateron add
the Foreign Key semantic via SQL..
Which one of the above