Skip to content
This repository has been archived by the owner on Nov 13, 2018. It is now read-only.

Fix TO duplicate PRE_PROD on new install #1217

Merged
merged 1 commit into from
Mar 28, 2016

Conversation

rob05c
Copy link
Member

@rob05c rob05c commented Mar 24, 2016

The PRE_PROD status was being added by both dataload.go via status.json, and a Goose migration. Since the migration will always run on both new installs and upgrades, removing it from dataload seems like the right solution.

I looked into letting both dataload and the migration insert it with insert ignore (so status.json could sort of act as documentation of the statuses), but the PK is an ID, not the name, so there's no way to do that without a nontrivial query or schema modification.

Fixes #950

@rob05c rob05c added this to the 1.5.0 milestone Mar 24, 2016
@elsloo elsloo merged commit 7001737 into Comcast:master Mar 28, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants