Version Silvertsripe 3
Question: can you have defaults on a DataObject?
class EstateItem extends DataObject
{
static $db = array(
'Active' => 'Boolean',);
static $defaults = array(
'Active' => true
);
}
this doesn't seem to work or 'Active' => 1