{"action":"created","issue":{"url":"https://api.github.com/repos/PlayWithMagic/PlayWithMagic.org/issues/170","labels_url":"https://api.github.com/repos/PlayWithMagic/PlayWithMagic.org/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/PlayWithMagic/PlayWithMagic.org/issues/170/comments","events_url":"https://api.github.com/repos/PlayWithMagic/PlayWithMagic.org/issues/170/events","html_url":"https://github.com/PlayWithMagic/PlayWithMagic.org/issues/170","id":71738031,"number":170,"title":"Implement logical unique constraints on Magician","user":{"login":"marknelsonengineer","id":10577033,"avatar_url":"https://avatars.githubusercontent.com/u/10577033?v=3","gravatar_id":"","url":"https://api.github.com/users/marknelsonengineer","html_url":"https://github.com/marknelsonengineer","followers_url":"https://api.github.com/users/marknelsonengineer/followers","following_url":"https://api.github.com/users/marknelsonengineer/following{/other_user}","gists_url":"https://api.github.com/users/marknelsonengineer/gists{/gist_id}","starred_url":"https://api.github.com/users/marknelsonengineer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marknelsonengineer/subscriptions","organizations_url":"https://api.github.com/users/marknelsonengineer/orgs","repos_url":"https://api.github.com/users/marknelsonengineer/repos","events_url":"https://api.github.com/users/marknelsonengineer/events{/privacy}","received_events_url":"https://api.github.com/users/marknelsonengineer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PlayWithMagic/PlayWithMagic.org/labels/feature","name":"feature","color":"0052cc"},{"url":"https://api.github.com/repos/PlayWithMagic/PlayWithMagic.org/labels/Magician","name":"Magician","color":"eb6420"},{"url":"https://api.github.com/repos/PlayWithMagic/PlayWithMagic.org/labels/User%20Interface","name":"User Interface","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-28T23:42:22Z","updated_at":"2015-04-29T00:02:22Z","closed_at":null,"body":"There should be a few 'rules' preventing duplicate Magicians:\r\n* `firstName + \" \" + lastName`\r\n* `email`\r\n* `stageName`\r\n\r\nThe rules should be validated in `EditMagicianFormData.validate()` with helpful messages such as:\r\nThe Stage Name 'Slydini' has already been taken."},"comment":{"url":"https://api.github.com/repos/PlayWithMagic/PlayWithMagic.org/issues/comments/97268190","html_url":"https://github.com/PlayWithMagic/PlayWithMagic.org/issues/170#issuecomment-97268190","issue_url":"https://api.github.com/repos/PlayWithMagic/PlayWithMagic.org/issues/170","id":97268190,"user":{"login":"pkarjala","id":5232936,"avatar_url":"https://avatars.githubusercontent.com/u/5232936?v=3","gravatar_id":"","url":"https://api.github.com/users/pkarjala","html_url":"https://github.com/pkarjala","followers_url":"https://api.github.com/users/pkarjala/followers","following_url":"https://api.github.com/users/pkarjala/following{/other_user}","gists_url":"https://api.github.com/users/pkarjala/gists{/gist_id}","starred_url":"https://api.github.com/users/pkarjala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkarjala/subscriptions","organizations_url":"https://api.github.com/users/pkarjala/orgs","repos_url":"https://api.github.com/users/pkarjala/repos","events_url":"https://api.github.com/users/pkarjala/events{/privacy}","received_events_url":"https://api.github.com/users/pkarjala/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T00:02:22Z","updated_at":"2015-04-29T00:02:22Z","body":"We can use the @Unique constraint to help with the DB implementation."}}