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
4a73f6aa
Commit
4a73f6aa
authored
Jun 08, 2012
by
Frank Becker
Committed by
Dave Lawrence
Jun 08, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 745533 - database add index audit_log_class_at_time_idx for audit_log
r=dkl, a=LpSolit
parent
e0bd7772
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
Schema.pm
Bugzilla/DB/Schema.pm
+3
-0
DB.pm
Bugzilla/Install/DB.pm
+3
-0
No files found.
Bugzilla/DB/Schema.pm
View file @
4a73f6aa
...
@@ -506,6 +506,9 @@ use constant ABSTRACT_SCHEMA => {
...
@@ -506,6 +506,9 @@ use constant ABSTRACT_SCHEMA => {
added
=>
{
TYPE
=>
'MEDIUMTEXT'
},
added
=>
{
TYPE
=>
'MEDIUMTEXT'
},
at_time
=>
{
TYPE
=>
'DATETIME'
,
NOTNULL
=>
1
},
at_time
=>
{
TYPE
=>
'DATETIME'
,
NOTNULL
=>
1
},
],
],
INDEXES
=>
[
audit_log_class_idx
=>
[
'class'
,
'at_time'
],
],
},
},
# Keywords
# Keywords
...
...
Bugzilla/Install/DB.pm
View file @
4a73f6aa
...
@@ -670,6 +670,9 @@ sub update_table_definitions {
...
@@ -670,6 +670,9 @@ sub update_table_definitions {
$dbh
->
bz_alter_column
(
'products'
,
'defaultmilestone'
,
$dbh
->
bz_alter_column
(
'products'
,
'defaultmilestone'
,
{
TYPE
=>
'varchar(64)'
,
NOTNULL
=>
1
,
DEFAULT
=>
"'---'"
});
{
TYPE
=>
'varchar(64)'
,
NOTNULL
=>
1
,
DEFAULT
=>
"'---'"
});
# 2012-04-15 Frank@Frank-Becker.de - Bug 740536
$dbh
->
bz_add_index
(
'audit_log'
,
'audit_log_class_idx'
,
[
'class'
,
'at_time'
]);
################################################################
################################################################
# New --TABLE-- changes should go *** A B O V E *** this point #
# 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