Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [slg_saravanan] Creating Table with Foreign Key

Quote Reply
Re: [slg_saravanan] Creating Table with Foreign Key In reply to
When creating your table using GT::SQL::Creator, use:

Code:
$creator->fk('foreign_table_name' => { 'local_field_name' => 'foreign_field_name' };
Code:

for further details, check the GT module documentation for GT::SQL::Creator in your admin panel.

Philip
------------------
Limecat is not pleased.
Subject Author Views Date
Thread Creating Table with Foreign Key slg_saravanan 2743 Sep 7, 2006, 12:09 AM
Post Re: [slg_saravanan] Creating Table with Foreign Key
fuzzy logic 2691 Sep 7, 2006, 6:35 PM
Thread Re: [slg_saravanan] Creating Table with Foreign Key
brewt 2677 Sep 7, 2006, 10:32 PM
Thread Re: [brewt] Creating Table with Foreign Key
jdgamble 2631 Sep 8, 2006, 2:13 PM
Thread Re: [jdgamble] Creating Table with Foreign Key
fuzzy logic 2627 Sep 8, 2006, 3:48 PM
Thread Re: [fuzzy logic] Creating Table with Foreign Key
jdgamble 2631 Sep 8, 2006, 8:18 PM
Thread Re: [jdgamble] Creating Table with Foreign Key
fuzzy logic 2605 Sep 8, 2006, 8:56 PM
Post Re: [fuzzy logic] Creating Table with Foreign Key
jdgamble 2625 Sep 8, 2006, 9:08 PM