{"action":"created","issue":{"url":"https://api.github.com/repos/dj-stripe/dj-stripe/issues/735","repository_url":"https://api.github.com/repos/dj-stripe/dj-stripe","labels_url":"https://api.github.com/repos/dj-stripe/dj-stripe/issues/735/labels{/name}","comments_url":"https://api.github.com/repos/dj-stripe/dj-stripe/issues/735/comments","events_url":"https://api.github.com/repos/dj-stripe/dj-stripe/issues/735/events","html_url":"https://github.com/dj-stripe/dj-stripe/issues/735","id":370003375,"node_id":"MDU6SXNzdWUzNzAwMDMzNzU=","number":735,"title":"Long indexed Customer email charfield(max_length=5000, db_index=True,) breaks mysql","user":{"login":"therefromhere","id":197540,"node_id":"MDQ6VXNlcjE5NzU0MA==","avatar_url":"https://avatars2.githubusercontent.com/u/197540?v=4","gravatar_id":"","url":"https://api.github.com/users/therefromhere","html_url":"https://github.com/therefromhere","followers_url":"https://api.github.com/users/therefromhere/followers","following_url":"https://api.github.com/users/therefromhere/following{/other_user}","gists_url":"https://api.github.com/users/therefromhere/gists{/gist_id}","starred_url":"https://api.github.com/users/therefromhere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therefromhere/subscriptions","organizations_url":"https://api.github.com/users/therefromhere/orgs","repos_url":"https://api.github.com/users/therefromhere/repos","events_url":"https://api.github.com/users/therefromhere/events{/privacy}","received_events_url":"https://api.github.com/users/therefromhere/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dj-stripe/dj-stripe/milestones/5","html_url":"https://github.com/dj-stripe/dj-stripe/milestone/5","labels_url":"https://api.github.com/repos/dj-stripe/dj-stripe/milestones/5/labels","id":3480761,"node_id":"MDk6TWlsZXN0b25lMzQ4MDc2MQ==","number":5,"title":"2.0.0","description":"Note: this was originally numbered 1.3.0 (see https://github.com/dj-stripe/dj-stripe/milestone/6 for what was the 2.0.0 milestone previously)\r\n","creator":{"login":"jleclanche","id":235410,"node_id":"MDQ6VXNlcjIzNTQxMA==","avatar_url":"https://avatars1.githubusercontent.com/u/235410?v=4","gravatar_id":"","url":"https://api.github.com/users/jleclanche","html_url":"https://github.com/jleclanche","followers_url":"https://api.github.com/users/jleclanche/followers","following_url":"https://api.github.com/users/jleclanche/following{/other_user}","gists_url":"https://api.github.com/users/jleclanche/gists{/gist_id}","starred_url":"https://api.github.com/users/jleclanche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleclanche/subscriptions","organizations_url":"https://api.github.com/users/jleclanche/orgs","repos_url":"https://api.github.com/users/jleclanche/repos","events_url":"https://api.github.com/users/jleclanche/events{/privacy}","received_events_url":"https://api.github.com/users/jleclanche/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":4,"state":"open","created_at":"2018-07-08T08:27:56Z","updated_at":"2018-12-08T01:09:09Z","due_on":null,"closed_at":null},"comments":18,"created_at":"2018-10-15T05:24:09Z","updated_at":"2018-12-11T01:56:49Z","closed_at":null,"author_association":"COLLABORATOR","body":"Migrations on master are failing with\r\n```\r\ndjango.db.utils.OperationalError: (1071, 'Specified key was too long; max key length is 3072 bytes')\r\n```\r\n\r\nOn the latest release (1.2.3) migrations are working because the column is a textfield.\r\n\r\nI'm not sure what length Stripe supports, but would it be possible to reduce the email address maxiumum length to something more smaller, eg 1000 characters?\r\n\r\nIn any case, I don't think email addresses longer than 254 are valid."},"comment":{"url":"https://api.github.com/repos/dj-stripe/dj-stripe/issues/comments/446043710","html_url":"https://github.com/dj-stripe/dj-stripe/issues/735#issuecomment-446043710","issue_url":"https://api.github.com/repos/dj-stripe/dj-stripe/issues/735","id":446043710,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjA0MzcxMA==","user":{"login":"jleclanche","id":235410,"node_id":"MDQ6VXNlcjIzNTQxMA==","avatar_url":"https://avatars1.githubusercontent.com/u/235410?v=4","gravatar_id":"","url":"https://api.github.com/users/jleclanche","html_url":"https://github.com/jleclanche","followers_url":"https://api.github.com/users/jleclanche/followers","following_url":"https://api.github.com/users/jleclanche/following{/other_user}","gists_url":"https://api.github.com/users/jleclanche/gists{/gist_id}","starred_url":"https://api.github.com/users/jleclanche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleclanche/subscriptions","organizations_url":"https://api.github.com/users/jleclanche/orgs","repos_url":"https://api.github.com/users/jleclanche/repos","events_url":"https://api.github.com/users/jleclanche/events{/privacy}","received_events_url":"https://api.github.com/users/jleclanche/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T01:56:49Z","updated_at":"2018-12-11T01:56:49Z","author_association":"CONTRIBUTOR","body":"Stripe has multiple validation layers. It has a base 5000 max size on *all* text fields. On top of this there can be extra validation. On the receipt_email, there's additional validation done at 800 characters."}}
{"actor":{"display_login":"jleclanche"}}