Files @ a8122c846bd6
Branch filter:

Location: website/www/conservancy/apps/fundgoal/migrations/0001_initial.py

brett
img: Rotate image from last commit.
# -*- 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',),
            },
        ),
    ]