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
2ca283e7
Commit
2ca283e7
authored
May 06, 2010
by
Edmund Wong
Committed by
Max Kanat-Alexander
May 06, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 463945: Add default values for membercontrol and othercontrol
in group_control_map, and fix their DB type to be correct r=mkanat, a=mkanat
parent
dea4b333
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
Schema.pm
Bugzilla/DB/Schema.pm
+4
-2
DB.pm
Bugzilla/Install/DB.pm
+6
-0
No files found.
Bugzilla/DB/Schema.pm
View file @
2ca283e7
...
...
@@ -1037,8 +1037,10 @@ use constant ABSTRACT_SCHEMA => {
DELETE
=>
'CASCADE'
}},
entry
=>
{
TYPE
=>
'BOOLEAN'
,
NOTNULL
=>
1
,
DEFAULT
=>
'FALSE'
},
membercontrol
=>
{
TYPE
=>
'BOOLEAN'
,
NOTNULL
=>
1
},
othercontrol
=>
{
TYPE
=>
'BOOLEAN'
,
NOTNULL
=>
1
},
membercontrol
=>
{
TYPE
=>
'INT1'
,
NOTNULL
=>
1
,
DEFAULT
=>
CONTROLMAPNA
},
othercontrol
=>
{
TYPE
=>
'INT1'
,
NOTNULL
=>
1
,
DEFAULT
=>
CONTROLMAPNA
},
canedit
=>
{
TYPE
=>
'BOOLEAN'
,
NOTNULL
=>
1
,
DEFAULT
=>
'FALSE'
},
editcomponents
=>
{
TYPE
=>
'BOOLEAN'
,
NOTNULL
=>
1
,
...
...
Bugzilla/Install/DB.pm
View file @
2ca283e7
...
...
@@ -604,6 +604,12 @@ sub update_table_definitions {
# 2010-04-07 LpSolit@gmail.com - Bug 69621
$dbh
->
bz_drop_column
(
'bugs'
,
'keywords'
);
# 2010-05-07 ewong@pw-wspx.org - Bug 463945
$dbh
->
bz_alter_column
(
'group_control_map'
,
'membercontrol'
,
{
TYPE
=>
'INT1'
,
NOTNULL
=>
1
,
DEFAULT
=>
CONTROLMAPNA
});
$dbh
->
bz_alter_column
(
'group_control_map'
,
'othercontrol'
,
{
TYPE
=>
'INT1'
,
NOTNULL
=>
1
,
DEFAULT
=>
CONTROLMAPNA
});
################################################################
# New --TABLE-- changes should go *** A B O V E *** this point #
...
...
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