зеркало из https://github.com/mozilla/pjs.git
Bug 305927: [PostgreSQL] Adding a new product partly fails when 'makeproductgroups' is enabled - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
This commit is contained in:
Родитель
8c82ffde3a
Коммит
99d90eaaad
|
@ -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'},
|
||||
],
|
||||
|
|
|
@ -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.
|
||||
#
|
||||
|
|
Загрузка…
Ссылка в новой задаче