From 3bd6d03efef536f7192cb554d391b7895c6fde31 Mon Sep 17 00:00:00 2001 From: dvanaken Date: Thu, 20 Feb 2020 00:04:50 -0500 Subject: [PATCH] Increased length of function field in executiontime model from 32 to 64 --- ...009_change_executiontime_function_field.py | 20 +++++++++++++++++++ server/website/website/models.py | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 server/website/website/migrations/0009_change_executiontime_function_field.py diff --git a/server/website/website/migrations/0009_change_executiontime_function_field.py b/server/website/website/migrations/0009_change_executiontime_function_field.py new file mode 100644 index 0000000..ec2e04a --- /dev/null +++ b/server/website/website/migrations/0009_change_executiontime_function_field.py @@ -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), + ), + ] diff --git a/server/website/website/models.py b/server/website/website/models.py index c65bb40..c7005e0 100644 --- a/server/website/website/models.py +++ b/server/website/website/models.py @@ -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