mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-12 02:48:48 -04:00
Added protected fields for CI4 models
- primary table - primary key - useAutoIncrement - useSoftDeletes
This commit is contained in:
committed by
Steve Ireland
parent
6126483586
commit
dd3b7330d3
@@ -10,6 +10,10 @@ use CodeIgniter\Model;
|
||||
*/
|
||||
class Module extends Model
|
||||
{
|
||||
protected $table = 'modules';
|
||||
protected $primaryKey = 'module_id';
|
||||
protected $useAutoIncrement = false;
|
||||
protected $useSoftDeletes = false;
|
||||
protected $allowedFields = [
|
||||
'name_lang_key',
|
||||
'desc_lang_key',
|
||||
|
||||
Reference in New Issue
Block a user