Files @ a8122c846bd6
Branch filter:

Location: website/www/conservancy/apps/fundgoal/migrations/0002_goalprovider.py

brett
img: Rotate image from last commit.
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2018-11-18 12:11
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('fundgoal', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='GoalProvider',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('provider_name', models.CharField(max_length=512)),
                ('fundraising_goal', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='fundgoal.FundraisingGoal')),
            ],
        ),
    ]