Skip to content

Commit

Permalink
API Add deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Oct 15, 2024
1 parent ebbd642 commit baeaef4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ORM/FieldType/DBField.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ abstract class DBField extends ViewableData implements DBIndexable
* @var $default mixed Default-value in the database.
* Might be overridden on DataObject-level, but still useful for setting defaults on
* already existing records after a db-build.
* @deprecated 5.4.0 Call setDefaultValue() in constructor instead
*/
protected $defaultVal;

Expand Down

0 comments on commit baeaef4

Please sign in to comment.