# Generated by Django 2.1.2 on 2018-10-31 03:47

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Classes',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('c_name', models.CharField(max_length=20)),
            ],
            options={
                'db_table': 'classes',
            },
        ),
        migrations.CreateModel(
            name='Student',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('s_name', models.CharField(max_length=20)),
                ('classes_one', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='cls_one', to='viewsforginkey.Classes')),
                ('classes_two', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='cls_two', to='viewsforginkey.Classes')),
            ],
            options={
                'db_table': 'student',
            },
        ),
    ]
