Increase configuration length in VMDetail to 128 chars

This commit is contained in:
PCoder 2019-05-08 23:42:03 +02:00
parent f837e2b206
commit f0dfcccd96
2 changed files with 21 additions and 1 deletions

View file

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2019-05-08 21:41
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('hosting', '0053_hostingbilllineitem_stripe_plan'),
]
operations = [
migrations.AlterField(
model_name='vmdetail',
name='configuration',
field=models.CharField(default='', max_length=128),
),
]

View file

@ -538,7 +538,7 @@ class VMDetail(models.Model):
disk_size = models.FloatField(default=0.0)
cores = models.FloatField(default=0.0)
memory = models.FloatField(default=0.0)
configuration = models.CharField(default='', max_length=25)
configuration = models.CharField(default='', max_length=128)
ipv4 = models.TextField(default='')
ipv6 = models.TextField(default='')
created_at = models.DateTimeField(auto_now_add=True)