Skip to content
This repository was archived by the owner on Jun 7, 2018. It is now read-only.

Commit 8ea3400

Browse files
committed
Handle contact labelIDs greater than 2^32
1 parent 6f35b5e commit 8ea3400

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# -*- coding: utf-8 -*-
2+
# Generated by Django 1.11.5 on 2017-10-06 00:47
3+
from __future__ import unicode_literals
4+
5+
from django.db import migrations, models
6+
7+
8+
class Migration(migrations.Migration):
9+
10+
dependencies = [
11+
('standingsrequests', '0001_initial'),
12+
]
13+
14+
operations = [
15+
migrations.AlterField(
16+
model_name='contactlabel',
17+
name='labelID',
18+
field=models.BigIntegerField(),
19+
),
20+
]

models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def get_standing_for_id(self, contact_id, contact_type):
4141

4242

4343
class ContactLabel(models.Model):
44-
labelID = models.IntegerField()
44+
labelID = models.BigIntegerField()
4545
set = models.ForeignKey(ContactSet)
4646
name = models.CharField(max_length=254)
4747

0 commit comments

Comments
 (0)