Make CC brand 128 characters long
This commit is contained in:
		
					parent
					
						
							
								8bf6440110
							
						
					
				
			
			
				commit
				
					
						b69abf3edd
					
				
			
		
					 2 changed files with 27 additions and 2 deletions
				
			
		
							
								
								
									
										25
									
								
								hosting/migrations/0047_auto_20180821_1240.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								hosting/migrations/0047_auto_20180821_1240.py
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,25 @@ | |||
| # -*- coding: utf-8 -*- | ||||
| # Generated by Django 1.9.4 on 2018-08-21 12:40 | ||||
| from __future__ import unicode_literals | ||||
| 
 | ||||
| from django.db import migrations, models | ||||
| 
 | ||||
| 
 | ||||
| class Migration(migrations.Migration): | ||||
| 
 | ||||
|     dependencies = [ | ||||
|         ('hosting', '0046_usercarddetail'), | ||||
|     ] | ||||
| 
 | ||||
|     operations = [ | ||||
|         migrations.AlterField( | ||||
|             model_name='hostingorder', | ||||
|             name='cc_brand', | ||||
|             field=models.CharField(max_length=128), | ||||
|         ), | ||||
|         migrations.AlterField( | ||||
|             model_name='usercarddetail', | ||||
|             name='brand', | ||||
|             field=models.CharField(max_length=128), | ||||
|         ), | ||||
|     ] | ||||
|  | @ -69,7 +69,7 @@ class HostingOrder(AssignPermissionsMixin, models.Model): | |||
|     created_at = models.DateTimeField(auto_now_add=True) | ||||
|     approved = models.BooleanField(default=False) | ||||
|     last4 = models.CharField(max_length=4) | ||||
|     cc_brand = models.CharField(max_length=35) | ||||
|     cc_brand = models.CharField(max_length=128) | ||||
|     stripe_charge_id = models.CharField(max_length=100, null=True) | ||||
|     price = models.FloatField() | ||||
|     subscription_id = models.CharField(max_length=100, null=True) | ||||
|  | @ -212,7 +212,7 @@ class UserCardDetail(AssignPermissionsMixin, models.Model): | |||
|     permissions = ('view_usercarddetail',) | ||||
|     stripe_customer = models.ForeignKey(StripeCustomer) | ||||
|     last4 = models.CharField(max_length=4) | ||||
|     brand = models.CharField(max_length=35) | ||||
|     brand = models.CharField(max_length=128) | ||||
|     card_id = models.CharField(max_length=100, blank=True, default='') | ||||
|     fingerprint = models.CharField(max_length=100) | ||||
|     exp_month = models.IntegerField(null=False) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue