summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-08 07:13:59 +0200
committerlpsolit%gmail.com <>2006-08-08 07:13:59 +0200
commit5c377e30d41de59b2c00beaea45710445e70f2c9 (patch)
tree643b3ebcbbb7fe45f0ce675cdfb7b930fdd3746f /Bugzilla/Install
parent7826a3a493f9d4b36cbbb177b2ab3d244624e6b2 (diff)
downloadbugzilla-5c377e30d41de59b2c00beaea45710445e70f2c9.tar.gz
bugzilla-5c377e30d41de59b2c00beaea45710445e70f2c9.tar.xz
Bug 347521: flagtypes.id should be an auto-increment field - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=myk
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r--Bugzilla/Install/DB.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm
index 5fe84a4f4..dfe7f957a 100644
--- a/Bugzilla/Install/DB.pm
+++ b/Bugzilla/Install/DB.pm
@@ -464,6 +464,10 @@ sub update_table_definitions {
$dbh->bz_drop_column('profiles', 'refreshed_when');
$dbh->bz_drop_column('groups', 'last_changed');
+ # 2006-08-06 LpSolit@gmail.com - Bug 347521
+ $dbh->bz_alter_column('flagtypes', 'id',
+ {TYPE => 'SMALLSERIAL', NOTNULL => 1, PRIMARYKEY => 1});
+
################################################################
# New --TABLE-- changes should go *** A B O V E *** this point #
################################################################