summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-11-06 00:29:49 +0100
committermkanat%bugzilla.org <>2008-11-06 00:29:49 +0100
commit8dc59ccd1e9fc846efe991327f18b1538be8fc2c (patch)
treed24c3a85cdab69c5d41b2f82c71b6cfeb6c20c67 /Bugzilla
parent17cf16167f43217f8f878693347b1e170126daaa (diff)
downloadbugzilla-8dc59ccd1e9fc846efe991327f18b1538be8fc2c.tar.gz
bugzilla-8dc59ccd1e9fc846efe991327f18b1538be8fc2c.tar.xz
Oh, actually, Xiaoou was right about where the constraint is supposed to go.
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/DB.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm
index ff3ea0d4c..03e8e4de3 100644
--- a/Bugzilla/DB.pm
+++ b/Bugzilla/DB.pm
@@ -680,11 +680,11 @@ sub bz_add_field_tables {
my ($self, $field) = @_;
$self->_bz_add_field_table($field->name,
- $self->_bz_schema->FIELD_TABLE_SCHEMA);
+ $self->_bz_schema->FIELD_TABLE_SCHEMA, $field->type);
if ($field->type == FIELD_TYPE_MULTI_SELECT) {
my $ms_table = "bug_" . $field->name;
$self->_bz_add_field_table($ms_table,
- $self->_bz_schema->MULTI_SELECT_VALUE_TABLE, $field->type);
+ $self->_bz_schema->MULTI_SELECT_VALUE_TABLE);
$self->bz_add_fk($ms_table, 'bug_id', {TABLE => 'bugs',
COLUMN => 'bug_id',