# Generated by Django 4.2.11 on 2024-03-13 06:29

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='CustomUser',
            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')),
                ('first_name', models.CharField(max_length=50)),
                ('last_name', models.CharField(max_length=50)),
                ('phone', models.CharField(max_length=15, unique=True)),
                ('phone2', models.CharField(blank=True, max_length=15, null=True)),
                ('company_email', models.EmailField(max_length=254, null=True)),
                ('personal_email', models.EmailField(max_length=254, null=True)),
                ('address', models.TextField(null=True)),
                ('work_location', models.CharField(max_length=100, null=True)),
                ('picture', models.ImageField(null=True, upload_to='profile_pics/')),
                ('role', models.CharField(max_length=20)),
                ('user_id', models.CharField(max_length=10, unique=True)),
                ('is_active', models.BooleanField(default=True)),
                ('is_staff', models.BooleanField(default=False)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
            options={
                'abstract': False,
            },
        ),
    ]