# Generated by Django 5.1.9 on 2025-05-16 09:58

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


class Migration(migrations.Migration):

    dependencies = [
        ('access', '0009_migrate_organization_permission_tenant'),
    ]

    operations = [
        migrations.CreateModel(
            name='Company',
            fields=[
                ('entity_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='access.entity')),
                ('name', models.CharField(help_text='The name of this entity', max_length=80, verbose_name='Name')),
            ],
            options={
                'verbose_name': 'Company',
                'verbose_name_plural': 'Companies',
                'ordering': ['name'],
                'sub_model_type': 'company',
            },
            bases=('access.entity',),
        ),
        migrations.AlterField(
            model_name='entity',
            name='entity_type',
            field=models.CharField(help_text='Type this entity is', max_length=30, verbose_name='Entity Type'),
        ),
        migrations.AlterField(
            model_name='person',
            name='dob',
            field=models.DateField(blank=True, help_text='The Persons Date of Birth (DOB)', null=True, verbose_name='DOB'),
        ),
        migrations.AlterField(
            model_name='person',
            name='m_name',
            field=models.CharField(blank=True, help_text='The persons middle name(s)', max_length=100, null=True, verbose_name='Middle Name(s)'),
        ),
    ]
