Welcome Guest, Not a member yet? Register   Sign In
dbforge with foreign keys
#1

[eluser]Unknown[/eluser]
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.
#2

[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. :-(
#3

[eluser]Unknown[/eluser]
Thank you.




Theme © iAndrew 2016 - Forum software by © MyBB