]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 776972 - Increase bugs_activity primary key size to INTSERIAL for future growth
authorDave Lawrence <dlawrence@mozilla.com>
Wed, 25 Jul 2012 19:49:12 +0000 (15:49 -0400)
committerDave Lawrence <dlawrence@mozilla.com>
Wed, 25 Jul 2012 19:49:12 +0000 (15:49 -0400)
r/a=LpSolit

Bugzilla/DB/Schema.pm
Bugzilla/Install/DB.pm

index 1ca7d9d7c89454bed65745e292c381c7cb6c40f0..a4bd40cbb3ef92c94b6e4aa25a11d2dcb4b4979e 100644 (file)
@@ -322,7 +322,7 @@ use constant ABSTRACT_SCHEMA => {
 
     bugs_activity => {
         FIELDS => [
-            id        => {TYPE => 'MEDIUMSERIAL', NOTNULL => 1, 
+            id        => {TYPE => 'INTSERIAL', NOTNULL => 1, 
                           PRIMARYKEY => 1}, 
             bug_id    => {TYPE => 'INT3', NOTNULL => 1,
                           REFERENCES    =>  {TABLE  =>  'bugs',
index 194ed310b16dab5cc49485d162baedfc47921915..382a50e5093c2318622c1e0b72db831413231515 100644 (file)
@@ -680,12 +680,17 @@ sub update_table_definitions {
 
     # 2012-06-13 dkl@mozilla.com - Bug 764457
     $dbh->bz_add_column('bugs_activity', 'id', 
-                        {TYPE => 'MEDIUMSERIAL', NOTNULL => 1, PRIMARYKEY => 1});
+                        {TYPE => 'INTSERIAL', NOTNULL => 1, PRIMARYKEY => 1});
 
     # 2012-06-13 dkl@mozilla.com - Bug 764466
     $dbh->bz_add_column('profiles_activity', 'id', 
                         {TYPE => 'MEDIUMSERIAL', NOTNULL => 1, PRIMARYKEY => 1});
 
+    # 2012-07-24 dkl@mozilla.com - Bug 776972
+    $dbh->bz_alter_column('bugs_activity', 'id', 
+                          {TYPE => 'INTSERIAL', NOTNULL => 1, PRIMARYKEY => 1});
+
+
     ################################################################
     # New --TABLE-- changes should go *** A B O V E *** this point #
     ################################################################