diff --git a/datacenterlight/migrations/0028_stripeplan_stripe_plan_name.py b/datacenterlight/migrations/0028_stripeplan_stripe_plan_name.py new file mode 100644 index 00000000..1592e2e5 --- /dev/null +++ b/datacenterlight/migrations/0028_stripeplan_stripe_plan_name.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.4 on 2019-04-20 09:52 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('datacenterlight', '0027_dclcalculatorpluginmodel_enable_512mb_ram'), + ] + + operations = [ + migrations.AddField( + model_name='stripeplan', + name='stripe_plan_name', + field=models.CharField(default='', max_length=512, null=True), + ), + ] diff --git a/datacenterlight/models.py b/datacenterlight/models.py index 729bbdf9..5b1ebb79 100644 --- a/datacenterlight/models.py +++ b/datacenterlight/models.py @@ -103,6 +103,7 @@ class StripePlan(models.Model): A model to store Data Center Light's created Stripe plans """ stripe_plan_id = models.CharField(max_length=256, null=True) + stripe_plan_name = models.CharField(max_length=512, default="", null=True) @classmethod def create(cls, stripe_plan_id):