You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Jeremy Mitchell (JIRA)" <ji...@apache.org> on 2017/04/11 02:28:42 UTC

[jira] [Resolved] (TC-222) TO - add unique constraints to parameter, job_status, job_agent, role, status, and type tables

     [ https://issues.apache.org/jira/browse/TC-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Mitchell resolved TC-222.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0

> 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
>             Fix For: 2.1.0
>
>
> 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)