Changeset - e952e2b26a5e
[Not reviewed]
0 0 2
Brett Smith (brett) - 3 years ago 2018-11-18 19:39:18
brett@sfconservancy.org
fundgoal: Start supporting migrations.
2 files changed with 30 insertions and 0 deletions:
0 comments (0 inline, 0 general)
www/conservancy/apps/fundgoal/migrations/0001_initial.py
Show inline comments
 
new file 100644
 
# -*- 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',),
 
            },
 
        ),
 
    ]
www/conservancy/apps/fundgoal/migrations/__init__.py
Show inline comments
 
new file 100644
0 comments (0 inline, 0 general)