Bug 406351
| Summary: | 3.25: Foreign key support in DB schema. | ||
|---|---|---|---|
| Product: | [Community] Bugzilla | Reporter: | David Lawrence <dkl> |
| Component: | Bugzilla General | Assignee: | Tony Fu <tfu> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.2 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-02-15 07:24:37 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 420611 | ||
| Bug Blocks: | 406071, 427052 | ||
|
Description
David Lawrence
2007-11-30 16:58:46 UTC
It is implemented in bugs-fk.mysql file. I used historical method and the LOC is 640. Tony, how do you get 640 lines? I would expect that you only have to add the FK constraints. That would be around 100LOC, no? I used cloc to calculate the LOC of our existing db schema file, which includes FK constraints and all talbes definition as well. For FK constraints only, 100LOC is a reasonable number. Changing LOC to 100. Added FKs constraints in Bugzilla/DB/Schema.pm file. Please refer to bug #420611. Submitted a Bugzilla/DB/Schema.pm patch, which included all foreign key constraints, to upstream for review. Tony please attach the upstream bug link to this bug so we can keep track of it. Either in the External Bugzilla References section or in the URL text field. Thanks Get review feedback from upstream. Update the schema according to the feedback and submitted new patch for upstream review. Do we already have this in our 3.2 tree? If not we will need a patch for this bug so hit our first milestone. Dave (In reply to comment #8) > Do we already have this in our 3.2 tree? If not we will need a patch for this > bug so hit our first milestone. > > Dave It should have been included in Bugzilla/DB/Schema.pm I attached in #420611. Tony Will create a new bug to track the progress of mergering FKs constraints into upstream code. Close this bug. |