Bug 409593: namedqueries.query_type has the wrong definition in DB::Schema
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat git-svn-id: svn://10.0.0.236/trunk@242025 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c26071924c
commit
d1b286724c
@ -783,7 +783,7 @@ use constant ABSTRACT_SCHEMA => {
|
||||
DELETE => 'CASCADE'}},
|
||||
name => {TYPE => 'varchar(64)', NOTNULL => 1},
|
||||
query => {TYPE => 'LONGTEXT', NOTNULL => 1},
|
||||
query_type => {TYPE => 'BOOLEAN', NOTNULL => 1},
|
||||
query_type => {TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 0},
|
||||
],
|
||||
INDEXES => [
|
||||
namedqueries_userid_idx => {FIELDS => [qw(userid name)],
|
||||
|
||||
@ -521,6 +521,10 @@ sub update_table_definitions {
|
||||
# 2007-09-09 LpSolit@gmail.com - Bug 99215
|
||||
_fix_attachment_modification_date();
|
||||
|
||||
# This had the wrong definition in DB::Schema.
|
||||
$dbh->bz_alter_column('namedqueries', 'query_type',
|
||||
{TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 0});
|
||||
|
||||
################################################################
|
||||
# New --TABLE-- changes should go *** A B O V E *** this point #
|
||||
################################################################
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user