Make UserCardDetail brand field 35 chars long
This commit is contained in:
		
					parent
					
						
							
								051408e134
							
						
					
				
			
			
				commit
				
					
						770b5e080b
					
				
			
		
					 2 changed files with 21 additions and 1 deletions
				
			
		
							
								
								
									
										20
									
								
								hosting/migrations/0047_auto_20180821_1124.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								hosting/migrations/0047_auto_20180821_1124.py
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,20 @@ | ||||||
|  | # -*- coding: utf-8 -*- | ||||||
|  | # Generated by Django 1.9.4 on 2018-08-21 11:24 | ||||||
|  | from __future__ import unicode_literals | ||||||
|  | 
 | ||||||
|  | from django.db import migrations, models | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | class Migration(migrations.Migration): | ||||||
|  | 
 | ||||||
|  |     dependencies = [ | ||||||
|  |         ('hosting', '0046_usercarddetail'), | ||||||
|  |     ] | ||||||
|  | 
 | ||||||
|  |     operations = [ | ||||||
|  |         migrations.AlterField( | ||||||
|  |             model_name='usercarddetail', | ||||||
|  |             name='brand', | ||||||
|  |             field=models.CharField(max_length=35), | ||||||
|  |         ), | ||||||
|  |     ] | ||||||
|  | @ -212,7 +212,7 @@ class UserCardDetail(AssignPermissionsMixin, models.Model): | ||||||
|     permissions = ('view_usercarddetail',) |     permissions = ('view_usercarddetail',) | ||||||
|     stripe_customer = models.ForeignKey(StripeCustomer) |     stripe_customer = models.ForeignKey(StripeCustomer) | ||||||
|     last4 = models.CharField(max_length=4) |     last4 = models.CharField(max_length=4) | ||||||
|     brand = models.CharField(max_length=10) |     brand = models.CharField(max_length=35) | ||||||
|     card_id = models.CharField(max_length=100, blank=True, default='') |     card_id = models.CharField(max_length=100, blank=True, default='') | ||||||
|     fingerprint = models.CharField(max_length=100) |     fingerprint = models.CharField(max_length=100) | ||||||
|     exp_month = models.IntegerField(null=False) |     exp_month = models.IntegerField(null=False) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue