Increased length of function field in executiontime model from 32 to 64

This commit is contained in:
dvanaken 2020-02-20 00:04:50 -05:00 committed by Dana Van Aken
parent 70f2768797
commit 3bd6d03efe
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.27 on 2020-02-20 05:02
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('website', '0008_change_result_taskids_field'),
]
operations = [
migrations.AlterField(
model_name='executiontime',
name='function',
field=models.CharField(max_length=64),
),
]

View File

@ -505,7 +505,7 @@ class BackupData(BaseModel):
class ExecutionTime(models.Model):
module = models.CharField(max_length=32)
function = models.CharField(max_length=32)
function = models.CharField(max_length=64)
tag = models.CharField(max_length=64, blank=True, default='')
start_time = models.DateTimeField()
execution_time = models.FloatField() # in seconds