# Generated by Django 3.2.18 on 2023-05-15 11:55

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


class Migration(migrations.Migration):

    dependencies = [
        ('location', '0013_auto_20230317_1534'),
        ('product', '0006_insert_ceiling_type'),
        ('claim_batch', '0006_capitationpayment'),
    ]

    operations = [
        migrations.AddField(
            model_name='batchrun',
            name='location',
            field=models.ForeignKey(blank=True, db_column='LocationId', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='location.location'),
        ),
        migrations.AddField(
            model_name='relativedistribution',
            name='product',
            field=models.ForeignKey(db_column='ProdID', on_delete=django.db.models.deletion.DO_NOTHING, related_name='relative_distributions', to='product.product'),
        ),
        migrations.AddField(
            model_name='relativeindex',
            name='location',
            field=models.ForeignKey(blank=True, db_column='LocationId', null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='relative_indexes', to='location.location'),
        ),
        migrations.AddField(
            model_name='relativeindex',
            name='product',
            field=models.ForeignKey(db_column='ProdID', on_delete=django.db.models.deletion.DO_NOTHING, to='product.product'),
        ),
        migrations.AlterField(
            model_name='relativedistribution',
            name='care_type',
            field=models.CharField(choices=[('B', 'Both'), ('I', 'In-Patient'), ('O', 'Out-Patient')], db_column='DistrCareType', max_length=1),
        ),
        migrations.AlterField(
            model_name='relativedistribution',
            name='type',
            field=models.SmallIntegerField(choices=[(12, 'Month'), (4, 'Quarter'), (1, 'Year')], db_column='DistrType'),
        ),
    ]
