# Generated by Django 3.2 on 2021-06-05 13:44

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Users',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('password', models.CharField(max_length=128, verbose_name='password')),
                ('first_name', models.CharField(blank=True, max_length=50, null=True)),
                ('last_name', models.CharField(blank=True, max_length=50, null=True)),
                ('email', models.EmailField(max_length=255, unique=True, verbose_name='email address')),
                ('phone', models.CharField(blank=True, max_length=15, null=True)),
                ('alternative_phone', models.CharField(blank=True, max_length=15, null=True)),
                ('aadhar_no', models.CharField(blank=True, default=None, max_length=15, null=True, unique=True)),
                ('user_role', models.SmallIntegerField(choices=[(1, 'MSEB Chief Engineer'), (2, 'Municipal Commissioner'), (3, 'Water Conservation officer'), (4, 'Public grievance officer'), (5, 'Department Safety Officer')], default=0)),
                ('is_active', models.BooleanField(default=False)),
                ('is_admin', models.BooleanField(default=False)),
                ('otp_code', models.CharField(blank=True, max_length=6, null=True)),
                ('otp_created_at', models.DateTimeField(blank=True, null=True)),
                ('no_of_complaint', models.IntegerField(default=0)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('last_login', models.DateTimeField(auto_now=True)),
                ('upload_aadhar', models.FileField(upload_to='media/servant_aadhar')),
                ('upload_id', models.FileField(upload_to='media/servant_doc')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]

1ebb5798ba7f40fe77c521d6b37384b8d3c40d71
<mask token>

<mask token>


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

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = []
    operations = [migrations.CreateModel(name='Users', fields=[('id',
        models.BigAutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('password', models.CharField(
        max_length=128, verbose_name='password')), ('first_name', models.
        CharField(blank=True, max_length=50, null=True)), ('last_name',
        models.CharField(blank=True, max_length=50, null=True)), ('email',
        models.EmailField(max_length=255, unique=True, verbose_name=
        'email address')), ('phone', models.CharField(blank=True,
        max_length=15, null=True)), ('alternative_phone', models.CharField(
        blank=True, max_length=15, null=True)), ('aadhar_no', models.
        CharField(blank=True, default=None, max_length=15, null=True,
        unique=True)), ('user_role', models.SmallIntegerField(choices=[(1,
        'MSEB Chief Engineer'), (2, 'Municipal Commissioner'), (3,
        'Water Conservation officer'), (4, 'Public grievance officer'), (5,
        'Department Safety Officer')], default=0)), ('is_active', models.
        BooleanField(default=False)), ('is_admin', models.BooleanField(
        default=False)), ('otp_code', models.CharField(blank=True,
        max_length=6, null=True)), ('otp_created_at', models.DateTimeField(
        blank=True, null=True)), ('no_of_complaint', models.IntegerField(
        default=0)), ('created_at', models.DateTimeField(auto_now_add=True)
        ), ('updated_at', models.DateTimeField(auto_now=True)), (
        'last_login', models.DateTimeField(auto_now=True)), (
        'upload_aadhar', models.FileField(upload_to='media/servant_aadhar')
        ), ('upload_id', models.FileField(upload_to='media/servant_doc'))],
        options={'abstract': False})]

from django.db import migrations, models


class Migration(migrations.Migration):
    initial = True
    dependencies = []
    operations = [migrations.CreateModel(name='Users', fields=[('id',
        models.BigAutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('password', models.CharField(
        max_length=128, verbose_name='password')), ('first_name', models.
        CharField(blank=True, max_length=50, null=True)), ('last_name',
        models.CharField(blank=True, max_length=50, null=True)), ('email',
        models.EmailField(max_length=255, unique=True, verbose_name=
        'email address')), ('phone', models.CharField(blank=True,
        max_length=15, null=True)), ('alternative_phone', models.CharField(
        blank=True, max_length=15, null=True)), ('aadhar_no', models.
        CharField(blank=True, default=None, max_length=15, null=True,
        unique=True)), ('user_role', models.SmallIntegerField(choices=[(1,
        'MSEB Chief Engineer'), (2, 'Municipal Commissioner'), (3,
        'Water Conservation officer'), (4, 'Public grievance officer'), (5,
        'Department Safety Officer')], default=0)), ('is_active', models.
        BooleanField(default=False)), ('is_admin', models.BooleanField(
        default=False)), ('otp_code', models.CharField(blank=True,
        max_length=6, null=True)), ('otp_created_at', models.DateTimeField(
        blank=True, null=True)), ('no_of_complaint', models.IntegerField(
        default=0)), ('created_at', models.DateTimeField(auto_now_add=True)
        ), ('updated_at', models.DateTimeField(auto_now=True)), (
        'last_login', models.DateTimeField(auto_now=True)), (
        'upload_aadhar', models.FileField(upload_to='media/servant_aadhar')
        ), ('upload_id', models.FileField(upload_to='media/servant_doc'))],
        options={'abstract': False})]

# Generated by Django 3.2 on 2021-06-05 13:44

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Users',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('password', models.CharField(max_length=128, verbose_name='password')),
                ('first_name', models.CharField(blank=True, max_length=50, null=True)),
                ('last_name', models.CharField(blank=True, max_length=50, null=True)),
                ('email', models.EmailField(max_length=255, unique=True, verbose_name='email address')),
                ('phone', models.CharField(blank=True, max_length=15, null=True)),
                ('alternative_phone', models.CharField(blank=True, max_length=15, null=True)),
                ('aadhar_no', models.CharField(blank=True, default=None, max_length=15, null=True, unique=True)),
                ('user_role', models.SmallIntegerField(choices=[(1, 'MSEB Chief Engineer'), (2, 'Municipal Commissioner'), (3, 'Water Conservation officer'), (4, 'Public grievance officer'), (5, 'Department Safety Officer')], default=0)),
                ('is_active', models.BooleanField(default=False)),
                ('is_admin', models.BooleanField(default=False)),
                ('otp_code', models.CharField(blank=True, max_length=6, null=True)),
                ('otp_created_at', models.DateTimeField(blank=True, null=True)),
                ('no_of_complaint', models.IntegerField(default=0)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('last_login', models.DateTimeField(auto_now=True)),
                ('upload_aadhar', models.FileField(upload_to='media/servant_aadhar')),
                ('upload_id', models.FileField(upload_to='media/servant_doc')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
