Skip to content

Commit

Permalink
Remove NOT NULL from content element field value
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Mühl authored May 27, 2019
1 parent 387f34e commit 14280c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/dca/tl_content.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
'exclude' => true,
'inputType' => 'text',
'eval' => ['tl_class' => 'w50', 'required' => true, 'rgxp' => 'recaptcha'],
'sql' => 'VARCHAR(120) NOT NULL',
'sql' => 'VARCHAR(120)',
],
];

1 comment on commit 14280c8

@fritzmg
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be either

"varchar(120) NOT NULL default ''"

or

"varchar(120) NULL"

Please sign in to comment.