base model use
This commit is contained in:
@@ -3,15 +3,15 @@ namespace App\Models;
|
||||
|
||||
use CodeIgniter\Model;
|
||||
|
||||
class myfitUserReminders extends Model
|
||||
class myfitUserReminders extends baseModel
|
||||
{
|
||||
protected $db;
|
||||
public $con_name = 'mermsemr';
|
||||
// protected $db;
|
||||
// public $con_name = 'mermsemr';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->db = \Config\Database::connect($this->con_name);
|
||||
// $this->db = \Config\Database::connect($this->con_name);
|
||||
}
|
||||
|
||||
public function readReminders($in)
|
||||
|
||||
Reference in New Issue
Block a user