How to define composite primary key using codeIgniter migrations?
Thanks i found the solution my self:
$this->dbforge->add_key('key_id', TRUE);$this->dbforge->add_key('user_id', TRUE);
here is the source link
Thanks i found the solution my self:
$this->dbforge->add_key('key_id', TRUE);$this->dbforge->add_key('user_id', TRUE);
here is the source link