Welcome Guest, Not a member yet? Register   Sign In
How to add FOREIGN KEY constraint when creating a table?
#3

[eluser]kadishmal[/eluser]
[quote author="Bhashkar" date="1328943041"]
Code:
$this->dbforge->add_key('KEY_ID', TRUE);
[/quote]

That's the private key, not foreign key.


Messages In This Thread
How to add FOREIGN KEY constraint when creating a table? - by El Forum - 02-11-2012, 01:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB