# Generated by Django 3.2.7 on 2021-09-23 12:35

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


class Migration(migrations.Migration):

    dependencies = [
        ('app', '0004_alter_customuser_user_type'),
    ]

    operations = [
        migrations.CreateModel(
            name='Courses',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('course_name', models.CharField(max_length=255)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
        ),
        migrations.CreateModel(
            name='SessionYearModel',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('session_start_year', models.DateField()),
                ('session_end_year', models.DateField()),
            ],
        ),
        migrations.CreateModel(
            name='Students',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('gender', models.CharField(max_length=50)),
                ('profile_pic', models.FileField(upload_to='')),
                ('address', models.TextField()),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('admin', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                ('course_id', models.ForeignKey(default=1, on_delete=django.db.models.deletion.DO_NOTHING, to='app.courses')),
                ('session_year_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='app.sessionyearmodel')),
            ],
        ),
    ]

c6862d625e9a96ec12928b068de994ca4df2fe49
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    dependencies = [('app', '0004_alter_customuser_user_type')]
    operations = [migrations.CreateModel(name='Courses', fields=[('id',
        models.BigAutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('course_name', models.CharField(
        max_length=255)), ('created_at', models.DateTimeField(auto_now_add=
        True)), ('updated_at', models.DateTimeField(auto_now=True))]),
        migrations.CreateModel(name='SessionYearModel', fields=[('id',
        models.BigAutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('session_start_year', models.DateField
        ()), ('session_end_year', models.DateField())]), migrations.
        CreateModel(name='Students', fields=[('id', models.BigAutoField(
        auto_created=True, primary_key=True, serialize=False, verbose_name=
        'ID')), ('gender', models.CharField(max_length=50)), ('profile_pic',
        models.FileField(upload_to='')), ('address', models.TextField()), (
        'created_at', models.DateTimeField(auto_now_add=True)), (
        'updated_at', models.DateTimeField(auto_now=True)), ('admin',
        models.OneToOneField(on_delete=django.db.models.deletion.CASCADE,
        to=settings.AUTH_USER_MODEL)), ('course_id', models.ForeignKey(
        default=1, on_delete=django.db.models.deletion.DO_NOTHING, to=
        'app.courses')), ('session_year_id', models.ForeignKey(on_delete=
        django.db.models.deletion.CASCADE, to='app.sessionyearmodel'))])]

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


class Migration(migrations.Migration):
    dependencies = [('app', '0004_alter_customuser_user_type')]
    operations = [migrations.CreateModel(name='Courses', fields=[('id',
        models.BigAutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('course_name', models.CharField(
        max_length=255)), ('created_at', models.DateTimeField(auto_now_add=
        True)), ('updated_at', models.DateTimeField(auto_now=True))]),
        migrations.CreateModel(name='SessionYearModel', fields=[('id',
        models.BigAutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('session_start_year', models.DateField
        ()), ('session_end_year', models.DateField())]), migrations.
        CreateModel(name='Students', fields=[('id', models.BigAutoField(
        auto_created=True, primary_key=True, serialize=False, verbose_name=
        'ID')), ('gender', models.CharField(max_length=50)), ('profile_pic',
        models.FileField(upload_to='')), ('address', models.TextField()), (
        'created_at', models.DateTimeField(auto_now_add=True)), (
        'updated_at', models.DateTimeField(auto_now=True)), ('admin',
        models.OneToOneField(on_delete=django.db.models.deletion.CASCADE,
        to=settings.AUTH_USER_MODEL)), ('course_id', models.ForeignKey(
        default=1, on_delete=django.db.models.deletion.DO_NOTHING, to=
        'app.courses')), ('session_year_id', models.ForeignKey(on_delete=
        django.db.models.deletion.CASCADE, to='app.sessionyearmodel'))])]

# Generated by Django 3.2.7 on 2021-09-23 12:35

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


class Migration(migrations.Migration):

    dependencies = [
        ('app', '0004_alter_customuser_user_type'),
    ]

    operations = [
        migrations.CreateModel(
            name='Courses',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('course_name', models.CharField(max_length=255)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
        ),
        migrations.CreateModel(
            name='SessionYearModel',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('session_start_year', models.DateField()),
                ('session_end_year', models.DateField()),
            ],
        ),
        migrations.CreateModel(
            name='Students',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('gender', models.CharField(max_length=50)),
                ('profile_pic', models.FileField(upload_to='')),
                ('address', models.TextField()),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('admin', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                ('course_id', models.ForeignKey(default=1, on_delete=django.db.models.deletion.DO_NOTHING, to='app.courses')),
                ('session_year_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='app.sessionyearmodel')),
            ],
        ),
    ]
