updating project id to match keystone

Change-Id: I98a18e955dceb070b2188c676c462d272bd3dbd5
This commit is contained in:
adrian-turjak 2016-09-29 16:20:55 +13:00 committed by Dale Smith
parent a8230846e6
commit 654da8ee29
2 changed files with 20 additions and 1 deletions

View File

@ -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),
),
]

View File

@ -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={})