fundgoal: Start supporting migrations.
This commit is contained in:
		
							parent
							
								
									be0f82e3cd
								
							
						
					
					
						commit
						e952e2b26a
					
				
					 2 changed files with 30 additions and 0 deletions
				
			
		
							
								
								
									
										30
									
								
								www/conservancy/apps/fundgoal/migrations/0001_initial.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								www/conservancy/apps/fundgoal/migrations/0001_initial.py
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,30 @@ | |||
| # -*- coding: utf-8 -*- | ||||
| # Generated by Django 1.10.7 on 2018-11-18 12:09 | ||||
| from __future__ import unicode_literals | ||||
| 
 | ||||
| from django.db import migrations, models | ||||
| 
 | ||||
| 
 | ||||
| class Migration(migrations.Migration): | ||||
| 
 | ||||
|     initial = True | ||||
| 
 | ||||
|     dependencies = [ | ||||
|     ] | ||||
| 
 | ||||
|     operations = [ | ||||
|         migrations.CreateModel( | ||||
|             name='FundraisingGoal', | ||||
|             fields=[ | ||||
|                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||||
|                 ('fundraiser_code_name', models.CharField(max_length=200, unique=True)), | ||||
|                 ('fundraiser_goal_amount', models.DecimalField(decimal_places=2, max_digits=10)), | ||||
|                 ('fundraiser_so_far_amount', models.DecimalField(decimal_places=2, max_digits=10)), | ||||
|                 ('fundraiser_donation_count', models.IntegerField()), | ||||
|                 ('fundraiser_donation_count_disclose_threshold', models.IntegerField()), | ||||
|             ], | ||||
|             options={ | ||||
|                 'ordering': ('fundraiser_code_name',), | ||||
|             }, | ||||
|         ), | ||||
|     ] | ||||
							
								
								
									
										0
									
								
								www/conservancy/apps/fundgoal/migrations/__init__.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								www/conservancy/apps/fundgoal/migrations/__init__.py
									
										
									
									
									
										Normal file
									
								
							
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Brett Smith
						Brett Smith