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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
c988473a
Commit
c988473a
authored
Jun 26, 2012
by
Dave Lawrence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 762288 - Change bugs_activity.removed to match data type of bugs_activity.added
r/a=LpSolit
parent
5b3ea4d4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
Schema.pm
Bugzilla/DB/Schema.pm
+2
-1
DB.pm
Bugzilla/Install/DB.pm
+5
-0
No files found.
Bugzilla/DB/Schema.pm
View file @
c988473a
...
...
@@ -338,7 +338,7 @@ use constant ABSTRACT_SCHEMA => {
REFERENCES
=>
{
TABLE
=>
'fielddefs'
,
COLUMN
=>
'id'
}},
added
=>
{
TYPE
=>
'varchar(255)'
},
removed
=>
{
TYPE
=>
'
TINYTEXT
'
},
removed
=>
{
TYPE
=>
'
varchar(255)
'
},
comment_id
=>
{
TYPE
=>
'INT3'
,
REFERENCES
=>
{
TABLE
=>
'longdescs'
,
COLUMN
=>
'comment_id'
,
...
...
@@ -350,6 +350,7 @@ use constant ABSTRACT_SCHEMA => {
bugs_activity_bug_when_idx
=>
[
'bug_when'
],
bugs_activity_fieldid_idx
=>
[
'fieldid'
],
bugs_activity_added_idx
=>
[
'added'
],
bugs_activity_removed_idx
=>
[
'removed'
],
],
},
...
...
Bugzilla/Install/DB.pm
View file @
c988473a
...
...
@@ -673,6 +673,11 @@ sub update_table_definitions {
# 2012-04-15 Frank@Frank-Becker.de - Bug 740536
$dbh
->
bz_add_index
(
'audit_log'
,
'audit_log_class_idx'
,
[
'class'
,
'at_time'
]);
# 2012-06-06 dkl@mozilla.com - Bug 762288
$dbh
->
bz_alter_column
(
'bugs_activity'
,
'removed'
,
{
TYPE
=>
'varchar(255)'
});
$dbh
->
bz_add_index
(
'bugs_activity'
,
'bugs_activity_removed_idx'
,
[
'removed'
]);
################################################################
# 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