refactor(model): remove default 'id' from dbIgnoreSave list

This commit is contained in:
kj
2026-06-19 16:08:29 -03:00
parent 83c80bd4ab
commit b8dd1fd0f6

View File

@@ -31,7 +31,7 @@ class Model
/**
* @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.