HomePhabricator

Add unique constraint for Almanac network names

Description

Add unique constraint for Almanac network names

Summary:
The name of networks should be unique.

Also adds support for exact-name queries for AlamanacNetworks.

Test Plan: Applied migration with existing duplicates, saw networks renamed, attempted to add duplicates, got a nice error message.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin, PHID-OPKG-gm6ozazyms6q6i22gyam

Differential Revision: https://secure.phabricator.com/D19379

Details

Provenance
amckinleyAuthored on Apr 18 2018, 6:45 PM
amckinleyPushed on Apr 19 2018, 8:41 PM
Reviewer
epriestley
Differential Revision
D19379: Add unique constraint for Almanac network names
Parents
rPa817aa6c7171: Add an "Abort Older Builds" build step to Harbormaster
Branches
Unknown
Tags
Unknown
Build Status
Buildable 20184
Build 27389: Run Core Tests