Changed the subscription plan id field size to 256 characters

This commit is contained in:
PCoder 2017-08-22 01:55:45 +05:30
commit 487ab6b927
2 changed files with 21 additions and 1 deletions

View file

@ -65,7 +65,7 @@ class StripePlan(models.Model):
"""
A model to store Data Center Light's created Stripe plans
"""
stripe_plan_id = models.CharField(max_length=100, null=True)
stripe_plan_id = models.CharField(max_length=256, null=True)
@classmethod
def create(cls, stripe_plan_id):