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
046d3a48
Commit
046d3a48
authored
Mar 30, 2009
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 423613: Make profiles.extern_id actually UNIQUE in the DB schema.
Patch by arbingersys@gmail.com r=mkanat, a=mkanat
parent
d9041c3f
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
+2
-0
DB.pm
Bugzilla/Install/DB.pm
+4
-0
No files found.
Bugzilla/DB/Schema.pm
View file @
046d3a48
...
...
@@ -825,6 +825,8 @@ use constant ABSTRACT_SCHEMA => {
INDEXES
=>
[
profiles_login_name_idx
=>
{
FIELDS
=>
[
'login_name'
],
TYPE
=>
'UNIQUE'
},
profiles_extern_id_idx
=>
{
FIELDS
=>
[
'extern_id'
],
TYPE
=>
'UNIQUE'
}
],
},
...
...
Bugzilla/Install/DB.pm
View file @
046d3a48
...
...
@@ -554,6 +554,10 @@ sub update_table_definitions {
_add_visiblity_value_to_value_tables
();
# 2009-03-02 arbingersys@gmail.com - Bug 423613
$dbh
->
bz_add_index
(
'profiles'
,
'profiles_extern_id_idx'
,
{
TYPE
=>
'UNIQUE'
,
FIELDS
=>
[
qw(extern_id)
]});
################################################################
# 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