{"action":"created","issue":{"url":"https://api.github.com/repos/hyn/multi-tenant/issues/56","repository_url":"https://api.github.com/repos/hyn/multi-tenant","labels_url":"https://api.github.com/repos/hyn/multi-tenant/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/hyn/multi-tenant/issues/56/comments","events_url":"https://api.github.com/repos/hyn/multi-tenant/issues/56/events","html_url":"https://github.com/hyn/multi-tenant/issues/56","id":133682379,"number":56,"title":"Option to set website identifier during setup","user":{"login":"thijsvdanker","id":429548,"avatar_url":"https://avatars.githubusercontent.com/u/429548?v=3","gravatar_id":"","url":"https://api.github.com/users/thijsvdanker","html_url":"https://github.com/thijsvdanker","followers_url":"https://api.github.com/users/thijsvdanker/followers","following_url":"https://api.github.com/users/thijsvdanker/following{/other_user}","gists_url":"https://api.github.com/users/thijsvdanker/gists{/gist_id}","starred_url":"https://api.github.com/users/thijsvdanker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thijsvdanker/subscriptions","organizations_url":"https://api.github.com/users/thijsvdanker/orgs","repos_url":"https://api.github.com/users/thijsvdanker/repos","events_url":"https://api.github.com/users/thijsvdanker/events{/privacy}","received_events_url":"https://api.github.com/users/thijsvdanker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-15T10:46:28Z","updated_at":"2016-02-16T14:23:30Z","closed_at":null,"body":"I need to create two tenants:\r\n\r\n - customer-foo.example.com\r\n - customer-far.example.com\r\n\r\nas the identifier is currently based on the first 10 characters of the domain name, both website ids will be _customer-f_\r\nThis will cause the setup to fail as the `websites->identifier` is a unique key in the database.\r\n\r\nIt would be nice if you could set an identifier during setup.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hyn/multi-tenant/issues/comments/184699586","html_url":"https://github.com/hyn/multi-tenant/issues/56#issuecomment-184699586","issue_url":"https://api.github.com/repos/hyn/multi-tenant/issues/56","id":184699586,"user":{"login":"Luceos","id":504687,"avatar_url":"https://avatars.githubusercontent.com/u/504687?v=3","gravatar_id":"","url":"https://api.github.com/users/Luceos","html_url":"https://github.com/Luceos","followers_url":"https://api.github.com/users/Luceos/followers","following_url":"https://api.github.com/users/Luceos/following{/other_user}","gists_url":"https://api.github.com/users/Luceos/gists{/gist_id}","starred_url":"https://api.github.com/users/Luceos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luceos/subscriptions","organizations_url":"https://api.github.com/users/Luceos/orgs","repos_url":"https://api.github.com/users/Luceos/repos","events_url":"https://api.github.com/users/Luceos/events{/privacy}","received_events_url":"https://api.github.com/users/Luceos/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T14:23:30Z","updated_at":"2016-02-16T14:23:30Z","body":"Or maybe the whole way of defining an identifier should be different?"}}