# Generated by Django 2.0.3 on 2018-03-07 19:40

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


class Migration(migrations.Migration):

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

    operations = [
        migrations.CreateModel(
            name='Students',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('students_firstname', models.CharField(max_length=200)),
                ('students_lastname', models.CharField(max_length=200)),
                ('students_course', models.IntegerField(default=0)),
                ('students_teacher', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='teacher.Teacher')),
            ],
            options={
                'db_table': 'students',
            },
        ),
    ]
