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

[eluser]kadishmal[/eluser]
I am trying to create a table which has a foreign key reference to another table. The table is being created by CodeIgnier. However, in
Code:
$this->dbforge->add_key()
I cannot see how would I indicate that this key should be a foreign key which references another key. How would I do that?


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



Theme © iAndrew 2016 - Forum software by © MyBB