]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 305927: [PostgreSQL] Adding a new product partly fails when 'makeproductgroups...
authorlpsolit%gmail.com <>
Sat, 5 Nov 2005 20:15:57 +0000 (20:15 +0000)
committerlpsolit%gmail.com <>
Sat, 5 Nov 2005 20:15:57 +0000 (20:15 +0000)
Bugzilla/DB/Schema.pm
checksetup.pl

index 5ffb41216efae7ee89475bd09d9e707f9fc61ce3..3894622633020673a0fc78ab20068a802f2cfdea 100644 (file)
@@ -717,7 +717,8 @@ use constant ABSTRACT_SCHEMA => {
             description  => {TYPE => 'TEXT', NOTNULL => 1},
             isbuggroup   => {TYPE => 'BOOLEAN', NOTNULL => 1},
             last_changed => {TYPE => 'DATETIME', NOTNULL => 1},
-            userregexp   => {TYPE => 'TINYTEXT', NOTNULL => 1},
+            userregexp   => {TYPE => 'TINYTEXT', NOTNULL => 1,
+                             DEFAULT => "''"},
             isactive     => {TYPE => 'BOOLEAN', NOTNULL => 1,
                              DEFAULT => 'TRUE'},
         ],
index 84c94f10811c1640ccf87d3b4f2f55dddaa6ae89..16edfae3d8c80005a191573519ef50acbc705575 100755 (executable)
@@ -4059,6 +4059,11 @@ $dbh->bz_add_column('attachments', 'isurl',
 $dbh->bz_add_column('namedqueries', 'query_type',
                     {TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 0});
 
+# 2005-11-04 LpSolit@gmail.com - Bug 305927
+$dbh->bz_alter_column('groups', 'userregexp', 
+                      {TYPE => 'TINYTEXT', NOTNULL => 1, DEFAULT => "''"});
+
+
 # If you had to change the --TABLE-- definition in any way, then add your
 # differential change code *** A B O V E *** this comment.
 #