Commit 6c62f841 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 431669: The "product_id" column is incorrectly defined in the…

Bug 431669: The "product_id" column is incorrectly defined in the "group_control_map" DB table - Patch by Tony Fu <tfu@redhat.com> r=LpSolit a=mkanat
parent f33f4824
......@@ -990,7 +990,7 @@ use constant ABSTRACT_SCHEMA => {
group_control_map => {
FIELDS => [
group_id => {TYPE => 'INT3', NOTNULL => 1},
product_id => {TYPE => 'INT3', NOTNULL => 1},
product_id => {TYPE => 'INT2', NOTNULL => 1},
entry => {TYPE => 'BOOLEAN', NOTNULL => 1},
membercontrol => {TYPE => 'BOOLEAN', NOTNULL => 1},
othercontrol => {TYPE => 'BOOLEAN', NOTNULL => 1},
......
......@@ -528,6 +528,10 @@ sub update_table_definitions {
# Add FK to multi select field tables
_add_foreign_keys_to_multiselects();
# 2008-07-28 tfu@redhat.com - Bug 431669
$dbh->bz_alter_column('group_control_map', 'product_id',
{ TYPE => 'INT2', NOTNULL => 1 });
################################################################
# New --TABLE-- changes should go *** A B O V E *** this point #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment