# Generated by Django 4.2.1 on 2023-06-11 09:47

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('otentifikasi', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Poli',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('nama', models.CharField(blank=True, max_length=255, null=True)),
                ('nama_sub', models.CharField(blank=True, max_length=255, null=True)),
                ('kode', models.CharField(blank=True, max_length=255, null=True)),
                ('kode_sub', models.CharField(blank=True, max_length=255, null=True)),
            ],
            options={
                'verbose_name': 'Poli',
                'verbose_name_plural': 'Poli',
            },
        ),
        migrations.AddField(
            model_name='biodata',
            name='poli',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='otentifikasi.poli'),
        ),
    ]
