Link HostingBillLineItem to StripePlan
This commit is contained in:
		
					parent
					
						
							
								c8e35e63f0
							
						
					
				
			
			
				commit
				
					
						38d074811a
					
				
			
		
					 2 changed files with 27 additions and 2 deletions
				
			
		
							
								
								
									
										22
									
								
								hosting/migrations/0053_hostingbilllineitem_stripe_plan.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								hosting/migrations/0053_hostingbilllineitem_stripe_plan.py
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,22 @@
 | 
			
		|||
# -*- coding: utf-8 -*-
 | 
			
		||||
# Generated by Django 1.9.4 on 2019-04-20 10:10
 | 
			
		||||
from __future__ import unicode_literals
 | 
			
		||||
 | 
			
		||||
from django.db import migrations, models
 | 
			
		||||
import django.db.models.deletion
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Migration(migrations.Migration):
 | 
			
		||||
 | 
			
		||||
    dependencies = [
 | 
			
		||||
        ('datacenterlight', '0028_stripeplan_stripe_plan_name'),
 | 
			
		||||
        ('hosting', '0052_hostingbilllineitem'),
 | 
			
		||||
    ]
 | 
			
		||||
 | 
			
		||||
    operations = [
 | 
			
		||||
        migrations.AddField(
 | 
			
		||||
            model_name='hostingbilllineitem',
 | 
			
		||||
            name='stripe_plan',
 | 
			
		||||
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='datacenterlight.StripePlan'),
 | 
			
		||||
        ),
 | 
			
		||||
    ]
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue