Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
b56d5f6c
Commit
b56d5f6c
authored
Sep 27, 2005
by
mkanat%kerio.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 309760: series.public rename breaks upgrades from 2.17.1
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=joel, a=justdave
parent
616cf8b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
checksetup.pl
checksetup.pl
+6
-2
No files found.
checksetup.pl
View file @
b56d5f6c
...
...
@@ -3917,8 +3917,12 @@ if ( $dbh->isa('Bugzilla::DB::Mysql') ) {
if
(
$approved_col
->
{
TYPE_NAME
}
eq
'TINYINT'
and
$approved_col
->
{
COLUMN_SIZE
}
==
1
)
{
$dbh
->
bz_alter_column_raw
(
'series'
,
'public'
,
{
TYPE
=>
'BOOLEAN'
,
NOTNULL
=>
1
,
DEFAULT
=>
'0'
});
# series.public could have been renamed to series.is_public,
# and so wouldn't need to be fixed manually.
if
(
$dbh
->
bz_column_info
(
'series'
,
'public'
))
{
$dbh
->
bz_alter_column_raw
(
'series'
,
'public'
,
{
TYPE
=>
'BOOLEAN'
,
NOTNULL
=>
1
,
DEFAULT
=>
'0'
});
}
$dbh
->
bz_alter_column_raw
(
'bug_status'
,
'isactive'
,
{
TYPE
=>
'BOOLEAN'
,
NOTNULL
=>
1
,
DEFAULT
=>
'1'
});
$dbh
->
bz_alter_column_raw
(
'rep_platform'
,
'isactive'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment