Change alias field allowing null values.

This commit is contained in:
David Molineus
2016-10-06 14:19:01 +02:00
parent 92b7080217
commit 2e5139a756
7 changed files with 7 additions and 7 deletions

View File

@@ -183,7 +183,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_icon'] = array
\Netzmacht\Contao\Leaflet\Dca\Validator::callback('validateAlias'), \Netzmacht\Contao\Leaflet\Dca\Validator::callback('validateAlias'),
), ),
'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50', 'unique' => true), 'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50', 'unique' => true),
'sql' => "varchar(255) NOT NULL default ''" 'sql' => "varchar(255) NULL"
), ),
'type' => array 'type' => array
( (

View File

@@ -270,7 +270,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = array
\Netzmacht\Contao\Leaflet\Dca\Validator::callback('validateAlias'), \Netzmacht\Contao\Leaflet\Dca\Validator::callback('validateAlias'),
), ),
'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50', 'unique' => true), 'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50', 'unique' => true),
'sql' => "varchar(255) NOT NULL default ''" 'sql' => "varchar(255) NULL"
), ),
'type' => array 'type' => array
( (

View File

@@ -172,7 +172,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_map'] = array
\Netzmacht\Contao\Leaflet\Dca\Validator::callback('validateAlias') \Netzmacht\Contao\Leaflet\Dca\Validator::callback('validateAlias')
), ),
'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50', 'unique' => true), 'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50', 'unique' => true),
'sql' => "varchar(255) NOT NULL default ''" 'sql' => "varchar(255) NULL"
), ),
'center' => array 'center' => array
( (

View File

@@ -181,7 +181,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_marker'] = array
\Netzmacht\Contao\Leaflet\Dca\Validator::callback('validateAlias'), \Netzmacht\Contao\Leaflet\Dca\Validator::callback('validateAlias'),
), ),
'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50', 'unique' => true), 'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50', 'unique' => true),
'sql' => "varchar(255) NOT NULL default ''" 'sql' => "varchar(255) NULL"
), ),
'coordinates' => array 'coordinates' => array
( (

View File

@@ -169,7 +169,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_popup'] = array
\Netzmacht\Contao\Leaflet\Dca\Validator::callback('validateAlias'), \Netzmacht\Contao\Leaflet\Dca\Validator::callback('validateAlias'),
), ),
'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50', 'unique' => true), 'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50', 'unique' => true),
'sql' => "varchar(255) NOT NULL default ''" 'sql' => "varchar(255) NULL"
), ),
'maxWidth' => array 'maxWidth' => array
( (

View File

@@ -162,7 +162,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_style'] = array
\Netzmacht\Contao\Leaflet\Dca\Validator::callback('validateAlias'), \Netzmacht\Contao\Leaflet\Dca\Validator::callback('validateAlias'),
), ),
'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50', 'unique' => true), 'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50', 'unique' => true),
'sql' => "varchar(255) NOT NULL default ''" 'sql' => "varchar(255) NULL"
), ),
'type' => array 'type' => array
( (

View File

@@ -207,7 +207,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_vector'] = array
\Netzmacht\Contao\Leaflet\Dca\Validator::callback('validateAlias'), \Netzmacht\Contao\Leaflet\Dca\Validator::callback('validateAlias'),
), ),
'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50', 'unique' => true), 'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50', 'unique' => true),
'sql' => "varchar(255) NOT NULL default ''" 'sql' => "varchar(255) NULL"
), ),
'type' => array 'type' => array
( (