API Add deprecation

This commit is contained in:
Steve Boyd 2024-10-16 10:40:54 +13:00
parent ebbd6427b2
commit baeaef4b61

View File

@ -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;