diff --git a/stacktask/api/migrations/0004_auto_20160929_0317.py b/stacktask/api/migrations/0004_auto_20160929_0317.py new file mode 100644 index 0000000..9188ace --- /dev/null +++ b/stacktask/api/migrations/0004_auto_20160929_0317.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('api', '0003_task_approved_by'), + ] + + operations = [ + migrations.AlterField( + model_name='task', + name='project_id', + field=models.CharField(max_length=64, null=True, db_index=True), + ), + ] diff --git a/stacktask/api/models.py b/stacktask/api/models.py index 394ff7d..d8208ae 100644 --- a/stacktask/api/models.py +++ b/stacktask/api/models.py @@ -35,7 +35,7 @@ class Task(models.Model): # who is this: ip_address = models.GenericIPAddressField() keystone_user = JSONField(default={}) - project_id = models.CharField(max_length=32, db_index=True, null=True) + project_id = models.CharField(max_length=64, db_index=True, null=True) # keystone_user for the approver: approved_by = JSONField(default={})