# Generated by Django 2.2.6 on 2020-07-23 01:35

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='billingglobals',
            fields=[
                ('id', models.AutoField(db_column='id', primary_key=True, serialize=False)),
            ],
            options={
                'db_table': 'globals',
                'managed': True,
            },
        ),
        migrations.CreateModel(
            name='students',
            fields=[
                ('id', models.AutoField(db_column='id', primary_key=True, serialize=False)),
                ('cohort_type', models.CharField(blank=True, db_column='cohort_type', max_length=255, null=True)),
                ('last_name', models.CharField(blank=True, db_column='last_name', db_index=True, max_length=255, null=True)),
                ('middle_name', models.CharField(blank=True, db_column='middle_name', db_index=True, max_length=255, null=True)),
                ('first_name', models.CharField(blank=True, db_column='first_name', db_index=True, max_length=255, null=True)),
                ('street_address', models.CharField(blank=True, db_column='streetaddress', max_length=255, null=True)),
                ('city', models.CharField(blank=True, db_column='city', max_length=255, null=True)),
                ('state', models.CharField(blank=True, db_column='state', max_length=255, null=True)),
                ('country', models.CharField(blank=True, db_column='country', max_length=255, null=True)),
                ('zipcode', models.CharField(blank=True, db_index=True, max_length=15, null=True)),
                ('school', models.CharField(blank=True, db_column='school', max_length=255, null=True)),
                ('emailaddr', models.CharField(blank=True, db_column='emailaddr', max_length=255, null=True)),
                ('pmt_type', models.CharField(blank=True, db_column='pmt_type', max_length=255, null=True)),
                ('delivery_method', models.CharField(blank=True, db_column='delivery_method', max_length=255, null=True)),
                ('studentcomments', models.CharField(blank=True, db_column='studentcomments', max_length=255, null=True)),
                ('payment_amount_due', models.FloatField(blank=True, db_column='payment_amount_due', null=True)),
                ('invoicenumber', models.CharField(blank=True, db_column='invoicenumber', max_length=255, null=True)),
                ('graddate', models.DateTimeField(blank=True, db_column='graddate', null=True)),
                ('invoicenotes', models.TextField(blank=True, db_column='invoice_notes', null=True)),
                ('nextduedate', models.CharField(blank=True, db_column='next_due_date', max_length=255, null=True)),
                ('inactive', models.TextField(blank=True, null=True)),
                ('loa', models.TextField(blank=True, db_column='loa', null=True)),
                ('loa_date', models.DateTimeField(blank=True, db_column='loa_date', null=True)),
                ('pif', models.TextField(blank=True, db_column='pif', null=True)),
                ('wd', models.TextField(blank=True, db_column='wd', null=True)),
                ('wd_date', models.DateTimeField(blank=True, db_column='wd_date', null=True)),
                ('sus', models.TextField(blank=True, db_column='sus', null=True)),
                ('sus_date', models.DateTimeField(blank=True, db_column='sus_date', null=True)),
                ('ingroup', models.TextField(blank=True, null=True)),
                ('groupname', models.CharField(blank=True, max_length=255, null=True)),
                ('graduated', models.TextField(blank=True, null=True)),
                ('start_date', models.DateTimeField(blank=True, null=True)),
            ],
            options={
                'db_table': 'students',
                'managed': True,
            },
        ),
        migrations.CreateModel(
            name='studenttransactions',
            fields=[
                ('id', models.AutoField(db_column='id', primary_key=True, serialize=False)),
                ('transactiondate', models.DateTimeField(blank=True, db_column='transactiondate', null=True)),
                ('transactiontype', models.CharField(blank=True, db_column='transactiontype', max_length=255, null=True)),
                ('transactionamount', models.FloatField(blank=True, db_column='transactionamount', null=True)),
                ('transactionnotes', models.TextField(blank=True, db_column='transactionnotes', null=True)),
                ('student', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='englishbilling.students')),
            ],
            options={
                'db_table': 'studenttransactions',
                'managed': True,
            },
        ),
        migrations.CreateModel(
            name='invoices',
            fields=[
                ('id', models.AutoField(db_column='id', primary_key=True, serialize=False)),
                ('datesent', models.DateTimeField(blank=True, null=True)),
                ('nextdate', models.DateTimeField(blank=True, null=True)),
                ('amount', models.IntegerField(blank=True, null=True)),
                ('notes', models.CharField(blank=True, max_length=255, null=True)),
                ('invoicenumber', models.CharField(blank=True, max_length=255, null=True)),
                ('batchid', models.IntegerField(blank=True, db_column='batchid', db_index=True, null=True)),
                ('student', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='englishbilling.students')),
            ],
            options={
                'db_table': 'invoices',
                'managed': True,
            },
        ),
    ]
