refactor(model): remove default 'id' from dbIgnoreSave list
This commit is contained in:
@@ -31,7 +31,7 @@ class Model
|
|||||||
/**
|
/**
|
||||||
* @var array Attributes to ignore when saving to the database.
|
* @var array Attributes to ignore when saving to the database.
|
||||||
*/
|
*/
|
||||||
protected static array $dbIgnoreSave = ['id'];
|
protected static array $dbIgnoreSave = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var array Attributes that should be explicitly saved, even if private/protected.
|
* @var array Attributes that should be explicitly saved, even if private/protected.
|
||||||
|
|||||||
Reference in New Issue
Block a user