We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6787c9 commit a052cddCopy full SHA for a052cdd
models/User_model.php
@@ -5,6 +5,7 @@ public function __construct()
5
{
6
$this->table = 'users';
7
$this->primary_key = 'id';
8
+ $this->soft_deletes = true;
9
//$this->has_one['details'] = 'User_details_model';
10
// $this->has_one['details'] = array('User_details_model','user_id','id');
11
$this->has_one['details'] = array('local_key'=>'id', 'foreign_key'=>'user_id', 'foreign_model'=>'User_details_model');
0 commit comments