# Generated by Django 4.0.2 on 2022-04-20 13:39

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Year',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('year', models.IntegerField(default=2022)),
            ],
        ),
        migrations.CreateModel(
            name='User',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('password', models.CharField(max_length=128, verbose_name='password')),
                ('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')),
                ('name', models.CharField(max_length=255)),
                ('role', models.CharField(blank=True, choices=[('Lead', 'Lead'), ('Core', 'Core'), ('Co-Lead', 'Co-Lead'), ('Mentor', 'Mentor')], max_length=255, null=True)),
                ('email', models.EmailField(max_length=254, unique=True)),
                ('github_url', models.URLField(blank=True)),
                ('linkedin_url', models.URLField(blank=True)),
                ('twitter_url', models.URLField(blank=True)),
                ('medium_url', models.URLField(blank=True)),
                ('dev_url', models.URLField(blank=True)),
                ('image', models.ImageField(blank=True, upload_to='profile-images/')),
                ('is_staff', models.BooleanField(default=False, null=True)),
                ('is_admin', models.BooleanField(default=False, null=True)),
                ('is_active', models.BooleanField(default=True, null=True)),
                ('is_superuser', models.BooleanField(default=False, null=True)),
                ('year', models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.CASCADE, to='users.year')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]

# Generated by Django 4.0.2 on 2022-04-20 13:39

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Year',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('year', models.IntegerField(default=2022)),
            ],
        ),
        migrations.CreateModel(
            name='User',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('password', models.CharField(max_length=128, verbose_name='password')),
                ('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')),
                ('name', models.CharField(max_length=255)),
                ('role', models.CharField(blank=True, choices=[('Lead', 'Lead'), ('Core', 'Core'), ('Co-Lead', 'Co-Lead'), ('Mentor', 'Mentor')], max_length=255, null=True)),
                ('email', models.EmailField(max_length=254, unique=True)),
                ('github_url', models.URLField(blank=True)),
                ('linkedin_url', models.URLField(blank=True)),
                ('twitter_url', models.URLField(blank=True)),
                ('medium_url', models.URLField(blank=True)),
                ('dev_url', models.URLField(blank=True)),
                ('image', models.ImageField(blank=True, upload_to='profile-images/')),
                ('is_staff', models.BooleanField(default=False, null=True)),
                ('is_admin', models.BooleanField(default=False, null=True)),
                ('is_active', models.BooleanField(default=True, null=True)),
                ('is_superuser', models.BooleanField(default=False, null=True)),
                ('year', models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.CASCADE, to='users.year')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]

# Generated by Django 4.0.2 on 2022-04-20 13:39