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
3caf30c1
Commit
3caf30c1
authored
May 26, 2009
by
dkl%redhat.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 462067 - Add FK constraints to the bugs table for user, product, and component int fields
Patch by David Lawrence <dkl@redhat.com> - r=mkanat a=LpSolit
parent
49c4e3b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
Schema.pm
Bugzilla/DB/Schema.pm
+15
-5
No files found.
Bugzilla/DB/Schema.pm
View file @
3caf30c1
...
...
@@ -241,7 +241,9 @@ use constant ABSTRACT_SCHEMA => {
FIELDS
=>
[
bug_id
=>
{
TYPE
=>
'MEDIUMSERIAL'
,
NOTNULL
=>
1
,
PRIMARYKEY
=>
1
},
assigned_to
=>
{
TYPE
=>
'INT3'
,
NOTNULL
=>
1
},
assigned_to
=>
{
TYPE
=>
'INT3'
,
NOTNULL
=>
1
,
REFERENCES
=>
{
TABLE
=>
'profiles'
,
COLUMN
=>
'userid'
}},
bug_file_loc
=>
{
TYPE
=>
'MEDIUMTEXT'
},
bug_severity
=>
{
TYPE
=>
'varchar(64)'
,
NOTNULL
=>
1
},
bug_status
=>
{
TYPE
=>
'varchar(64)'
,
NOTNULL
=>
1
},
...
...
@@ -250,16 +252,24 @@ use constant ABSTRACT_SCHEMA => {
short_desc
=>
{
TYPE
=>
'varchar(255)'
,
NOTNULL
=>
1
},
op_sys
=>
{
TYPE
=>
'varchar(64)'
,
NOTNULL
=>
1
},
priority
=>
{
TYPE
=>
'varchar(64)'
,
NOTNULL
=>
1
},
product_id
=>
{
TYPE
=>
'INT2'
,
NOTNULL
=>
1
},
product_id
=>
{
TYPE
=>
'INT2'
,
NOTNULL
=>
1
,
REFERENCES
=>
{
TABLE
=>
'products'
,
COLUMN
=>
'id'
}},
rep_platform
=>
{
TYPE
=>
'varchar(64)'
,
NOTNULL
=>
1
},
reporter
=>
{
TYPE
=>
'INT3'
,
NOTNULL
=>
1
},
reporter
=>
{
TYPE
=>
'INT3'
,
NOTNULL
=>
1
,
REFERENCES
=>
{
TABLE
=>
'profiles'
,
COLUMN
=>
'userid'
}},
version
=>
{
TYPE
=>
'varchar(64)'
,
NOTNULL
=>
1
},
component_id
=>
{
TYPE
=>
'INT2'
,
NOTNULL
=>
1
},
component_id
=>
{
TYPE
=>
'INT2'
,
NOTNULL
=>
1
,
REFERENCES
=>
{
TABLE
=>
'components'
,
COLUMN
=>
'id'
}},
resolution
=>
{
TYPE
=>
'varchar(64)'
,
NOTNULL
=>
1
,
DEFAULT
=>
"''"
},
target_milestone
=>
{
TYPE
=>
'varchar(20)'
,
NOTNULL
=>
1
,
DEFAULT
=>
"'---'"
},
qa_contact
=>
{
TYPE
=>
'INT3'
},
qa_contact
=>
{
TYPE
=>
'INT3'
,
REERENCES
=>
{
TABLE
=>
'profiles'
,
COLUMN
=>
'userid'
}},
status_whiteboard
=>
{
TYPE
=>
'MEDIUMTEXT'
,
NOTNULL
=>
1
,
DEFAULT
=>
"''"
},
votes
=>
{
TYPE
=>
'INT3'
,
NOTNULL
=>
1
,
...
...
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