• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dbforge with foreign keys

Hi, I was wondering whether there was any way to specify foreign keys while defining columns with dbforge->add_field function besides altering the table manually with custom queries after the table is created. Thank you.

[eluser]Phil Sturgeon[/eluser]
Foreign Keys are not standard SQL and do not work with all systems, so as per AR principals there is no way to do it with nice syntax in DBForge. You will need to do it manually. :-(

Thank you.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.