[ 
https://issues.apache.org/jira/browse/TC-222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15963361#comment-15963361
 ] 

ASF GitHub Bot commented on TC-222:
-----------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-trafficcontrol/pull/427


> TO - add unique constraints to parameter, job_status, job_agent, role, 
> status, and type tables
> ----------------------------------------------------------------------------------------------
>
>                 Key: TC-222
>                 URL: https://issues.apache.org/jira/browse/TC-222
>             Project: Traffic Control
>          Issue Type: Improvement
>          Components: Traffic Ops
>            Reporter: Jeremy Mitchell
>            Assignee: Jeremy Mitchell
>            Priority: Minor
>
> The following unique constraints would prevent duplicate entries in the 
> database:
> - parameter (name, config_file, value)
> - job_status (name)
> - job_agent (name)
> - role (name)
> - status (name)
> - type (name)
> Once these constraints are in place, seeds.sql can be enhanced to avoid 
> duplicate entries.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to