diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2011-12-16 21:43:21 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2011-12-16 21:43:21 +0100 |
commit | 55430d087503640c7637ed8bdfe8765d5653dc85 (patch) | |
tree | f56c55d52f63a8ca0a4fa3c50d4970608001ae1e /Bugzilla/Field.pm | |
parent | c1b82081c90926e701c4c9b2dc8ad65163663b42 (diff) | |
download | bugzilla-55430d087503640c7637ed8bdfe8765d5653dc85.tar.gz bugzilla-55430d087503640c7637ed8bdfe8765d5653dc85.tar.xz |
Last Comment Bug 685611 - delta_ts is updated even when no changes are made to bugs created via WebServices
r/a=LpSolit
Diffstat (limited to 'Bugzilla/Field.pm')
-rw-r--r-- | Bugzilla/Field.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Bugzilla/Field.pm b/Bugzilla/Field.pm index 219172094..dbee5df3d 100644 --- a/Bugzilla/Field.pm +++ b/Bugzilla/Field.pm @@ -152,10 +152,12 @@ use constant UPDATE_COLUMNS => qw( use constant SQL_DEFINITIONS => { # Using commas because these are constants and they shouldn't # be auto-quoted by the "=>" operator. - FIELD_TYPE_FREETEXT, { TYPE => 'varchar(255)' }, + FIELD_TYPE_FREETEXT, { TYPE => 'varchar(255)', + NOTNULL => 1, DEFAULT => "''"}, FIELD_TYPE_SINGLE_SELECT, { TYPE => 'varchar(64)', NOTNULL => 1, DEFAULT => "'---'" }, - FIELD_TYPE_TEXTAREA, { TYPE => 'MEDIUMTEXT' }, + FIELD_TYPE_TEXTAREA, { TYPE => 'MEDIUMTEXT', + NOTNULL => 1, DEFAULT => "''"}, FIELD_TYPE_DATETIME, { TYPE => 'DATETIME' }, FIELD_TYPE_BUG_ID, { TYPE => 'INT3' }, }; |