From f0dfcccd960839514610093fa483c63d2179a9f2 Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 8 May 2019 23:42:03 +0200 Subject: [PATCH] Increase configuration length in VMDetail to 128 chars --- hosting/migrations/0054_auto_20190508_2141.py | 20 +++++++++++++++++++ hosting/models.py | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 hosting/migrations/0054_auto_20190508_2141.py diff --git a/hosting/migrations/0054_auto_20190508_2141.py b/hosting/migrations/0054_auto_20190508_2141.py new file mode 100644 index 00000000..b3a99223 --- /dev/null +++ b/hosting/migrations/0054_auto_20190508_2141.py @@ -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), + ), + ] diff --git a/hosting/models.py b/hosting/models.py index 0ce4b140..aead430c 100644 --- a/hosting/models.py +++ b/hosting/models.py @@ -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)