Skip to content

Commit a052cdd

Browse files
committed
...
...
1 parent d6787c9 commit a052cdd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/User_model.php

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ public function __construct()
55
{
66
$this->table = 'users';
77
$this->primary_key = 'id';
8+
$this->soft_deletes = true;
89
//$this->has_one['details'] = 'User_details_model';
910
// $this->has_one['details'] = array('User_details_model','user_id','id');
1011
$this->has_one['details'] = array('local_key'=>'id', 'foreign_key'=>'user_id', 'foreign_model'=>'User_details_model');

0 commit comments

Comments
 (0)