# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-01-11 11:34
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Donation',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('donation_person', models.CharField(max_length=30)),
                ('donation_time', models.DateTimeField(auto_now_add=True)),
                ('donation_amount', models.FloatField()),
                ('donation_text', models.CharField(max_length=100)),
            ],
            options={
                'ordering': ['-donation_time', 'donation_person'],
            },
        ),
        migrations.CreateModel(
            name='Repo',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('repo_name', models.CharField(max_length=30)),
                ('repo_alias', models.CharField(max_length=50)),
                ('repo_total', models.FloatField()),
                ('repo_note', models.CharField(max_length=100)),
            ],
            options={
                'ordering': ['repo_name'],
            },
        ),
        migrations.AddField(
            model_name='donation',
            name='donation_repo',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='ChurchFinance.Repo'),
        ),
    ]
