Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#118762237] Increase device type max length #9

Merged
merged 2 commits into from
May 3, 2016

Conversation

percyperez
Copy link
Contributor

@orcasgit/orcas-developers Please review. This should take care of the following warning/messages/error:
Task misfitapp.tasks.import_historical_cls reject requeue=False: value too long for type character varying(5)

@@ -168,7 +168,7 @@ class Device(MisfitModel):

id = models.CharField(max_length=MAX_KEY_LEN, primary_key=True)
user = models.ForeignKey(UserModel)
device_type = models.CharField(choices=DEVICE_TYPES, max_length=5)
device_type = models.CharField(choices=DEVICE_TYPES, max_length=64)
Copy link
Contributor

@grokcode grokcode May 3, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@percyperez Can we get rid of these choices as well? DEVICE_TYPES isn't an accurate list of possibilities, so it is confusing to keep it around.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@grokcode good point

@grokcode
Copy link
Contributor

grokcode commented May 3, 2016

LGTM 🎸

@brad
Copy link
Member

brad commented May 3, 2016

Thanks for the human readable migration file name :shipit:

@brad brad merged commit 97efcbd into master May 3, 2016
@brad brad deleted the increase-devicetype-maxlenght branch May 3, 2016 22:15
@coveralls
Copy link

coveralls commented May 3, 2016

Coverage Status

Coverage increased (+0.03%) to 97.65% when pulling 7a3bad8 on increase-devicetype-maxlenght into 08de897 on master.

@coveralls
Copy link

coveralls commented May 3, 2016

Coverage Status

Coverage increased (+0.02%) to 97.645% when pulling 1223abd on increase-devicetype-maxlenght into 08de897 on master.

@grokcode grokcode mentioned this pull request Nov 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants