Increased length of function field in executiontime model from 32 to 64
This commit is contained in:
parent
70f2768797
commit
3bd6d03efe
|
@ -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),
|
||||||
|
),
|
||||||
|
]
|
|
@ -505,7 +505,7 @@ class BackupData(BaseModel):
|
||||||
|
|
||||||
class ExecutionTime(models.Model):
|
class ExecutionTime(models.Model):
|
||||||
module = models.CharField(max_length=32)
|
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='')
|
tag = models.CharField(max_length=64, blank=True, default='')
|
||||||
start_time = models.DateTimeField()
|
start_time = models.DateTimeField()
|
||||||
execution_time = models.FloatField() # in seconds
|
execution_time = models.FloatField() # in seconds
|
||||||
|
|
Loading…
Reference in New Issue