# Generated by Django 4.2.14 on 2025-04-03 09:47

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('practitioners', '0011_practitionerrolereference'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='practitioner',
            name='user',
        ),
        migrations.CreateModel(
            name='PractitionerExt',
            fields=[
                ('practitioner_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='practitioners.practitioner')),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='practitioner', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
            bases=('practitioners.practitioner',),
        ),
    ]
