summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Schema.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 2ca0abc1a..c7d4a5583 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -469,7 +469,8 @@ use constant ABSTRACT_SCHEMA => {
FIELDS => [
product_id => {TYPE => 'INT2', NOTNULL => 1},
value => {TYPE => 'varchar(20)', NOTNULL => 1},
- sortkey => {TYPE => 'INT2', NOTNULL => 1},
+ sortkey => {TYPE => 'INT2', NOTNULL => 1,
+ DEFAULT => 0},
],
INDEXES => [
milestones_product_id_idx => {FIELDS => [qw(product_id value)],