You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.6 KiB
39 lines
1.6 KiB
# Generated by Django 4.2.11 on 2024-03-14 07:02
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='skyonnAdmin',
|
|
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)),
|
|
('phone_number_2', 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)),
|
|
('admin_id', models.CharField(max_length=10, unique=True)),
|
|
('is_active', models.BooleanField(default=True)),
|
|
('is_staff', models.BooleanField(default=False)),
|
|
],
|
|
options={
|
|
'abstract': False,
|
|
},
|
|
),
|
|
]
|