# -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2017-05-08 09:13
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('subjects', '0001_initial'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('schools', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Teachers',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('fstname', models.CharField(max_length=45)),
                ('lstname', models.CharField(max_length=45)),
                ('phone_no', models.CharField(max_length=20)),
                ('teacher_type', models.CharField(choices=[(b'TSC', b'TSC'), (b'BRD', b'BOARD')], default=b'TSC', max_length=3)),
                ('birthday', models.DateField(blank=True, null=True)),
                ('gender', models.CharField(choices=[(b'M', b'MALE'), (b'F', b'FEMALE')], default=b'ML', max_length=2)),
                ('tsc_no', models.CharField(blank=True, max_length=200, null=True)),
                ('bom_no', models.CharField(blank=True, max_length=200, null=True)),
                ('qualifications', models.CharField(blank=True, choices=[(b'UNI', b'UNIVERSITY'), (b'COL', b'COLLEGE')], default=b'COL', max_length=3, null=True)),
                ('date_started_teaching', models.DateField(blank=True, null=True)),
                ('joined_current_school', models.DateField(blank=True, null=True)),
                ('headteacher', models.BooleanField(default=False)),
                ('active', models.BooleanField(default=True)),
                ('school', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='schools.Schools')),
                ('subjects', models.ManyToManyField(blank=True, null=True, to='subjects.Subjects')),
                ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]

# -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2017-05-08 09:13
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('subjects', '0001_initial'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('schools', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Teachers',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('fstname', models.CharField(max_length=45)),
                ('lstname', models.CharField(max_length=45)),
                ('phone_no', models.CharField(max_length=20)),
                ('teacher_type', models.CharField(choices=[(b'TSC', b'TSC'), (b'BRD', b'BOARD')], default=b'TSC', max_length=3)),
                ('birthday', models.DateField(blank=True, null=True)),
                ('gender', models.CharField(choices=[(b'M', b'MALE'), (b'F', b'FEMALE')], default=b'ML', max_length=2)),
                ('tsc_no', models.CharField(blank=True, max_length=200, null=True)),
                ('bom_no', models.CharField(blank=True, max_length=200, null=True)),
                ('qualifications', models.CharField(blank=True, choices=[(b'UNI', b'UNIVERSITY'), (b'COL', b'COLLEGE')], default=b'COL', max_length=3, null=True)),
                ('date_started_teaching', models.DateField(blank=True, null=True)),
                ('joined_current_school', models.DateField(blank=True, null=True)),
                ('headteacher', models.BooleanField(default=False)),
                ('active', models.BooleanField(default=True)),
                ('school', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='schools.Schools')),
                ('subjects', models.ManyToManyField(blank=True, null=True, to='subjects.Subjects')),
                ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]

# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-05-08 09:13