diff options
author | mkanat%bugzilla.org <> | 2008-11-05 23:29:49 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2008-11-05 23:29:49 +0000 |
commit | 8dc59ccd1e9fc846efe991327f18b1538be8fc2c (patch) | |
tree | d24c3a85cdab69c5d41b2f82c71b6cfeb6c20c67 /Bugzilla/DB.pm | |
parent | Bug 460421: [Oracle] Adding custom fields with type FIELD_TYPE_MULTI_SELECT r... (diff) | |
download | bugzilla-8dc59ccd1e9fc846efe991327f18b1538be8fc2c.tar.gz bugzilla-8dc59ccd1e9fc846efe991327f18b1538be8fc2c.tar.bz2 bugzilla-8dc59ccd1e9fc846efe991327f18b1538be8fc2c.zip |
Oh, actually, Xiaoou was right about where the constraint is supposed to go.
Diffstat (limited to 'Bugzilla/DB.pm')
-rw-r--r-- | Bugzilla/DB.pm | 4 |
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', |