class Composed extends Hidden
{
protected string $_composed = '';
+ protected $_databaseIndex = true;
public function getDefaultAttributes()
{
protected $_cast = 'datetime';
protected $pickerOptions = ['format' => 'DD/MM/YYYY HH:mm', 'language' => 'fr'];
protected $_databaseType = 'datetime';
+ protected $_databaseIndex = true;
protected $_columnType = 'datetime';
protected $_columnFormat = 'YYYY-MM-DD HH:mm';
protected $_filterType = 'date_range';
protected $_adminType = 'email';
protected $_columnType = 'email';
protected $_databaseType = 'string';
+ protected $_databaseIndex = true;
}
{
protected static $_options = [];
protected $___options = null;
+ protected $_databaseIndex = true;
public function getDefaultAttributes()
{
protected $_columnType = 'select_from_array';
protected $_columnViewNamespace = CubistBackpackServiceProvider::NAMESPACE . '::columns';
protected $_databaseType = 'text';
- //protected $_databaseLength = 32;
+ protected $_databaseIndex = true;
protected $_multiple = false;
protected $_allowNull = true;
protected $_options = [];
'default' => '1',
'database_default' => '1',
'database_type' => 'boolean',
+ 'database_index' => true,
'translatable' => false,
'value' => '1',
'hidden' => true,