base model use

This commit is contained in:
2023-02-11 23:49:16 -05:00
parent e2b66a8647
commit 2dde12c20e
11 changed files with 46 additions and 25 deletions
+4 -4
View File
@@ -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)