# Generated by Django 3.1.6 on 2021-03-10 09:01

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


class Migration(migrations.Migration):

    dependencies = [
        ('vendor', '0040_auto_20210310_1509'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='vendorperorangan',
            name='kode_pos',
        ),
        migrations.RemoveField(
            model_name='vendorperorangan',
            name='kota',
        ),
        migrations.AddField(
            model_name='vendorperorangan',
            name='kode_pos_perorangan',
            field=models.CharField(default=0, max_length=5),
            preserve_default=True,
        ),
        migrations.AddField(
            model_name='vendorperorangan',
            name='kota_perorangan',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, related_name='kota_perorangan', to='vendor.masterkota'),
            preserve_default=True,
        ),
        migrations.AlterField(
            model_name='vendorperorangan',
            name='tanggal_berakhir',
            field=models.DateTimeField(null=True),
        ),
    ]

# Generated by Django 3.1.6 on 2021-03-10 09:01

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


class Migration(migrations.Migration):

    dependencies = [
        ('vendor', '0040_auto_20210310_1509'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='vendorperorangan',
            name='kode_pos',
        ),
        migrations.RemoveField(
            model_name='vendorperorangan',
            name='kota',
        ),
        migrations.AddField(
            model_name='vendorperorangan',
            name='kode_pos_perorangan',
            field=models.CharField(default=0, max_length=5),
            preserve_default=True,
        ),
        migrations.AddField(
            model_name='vendorperorangan',
            name='kota_perorangan',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, related_name='kota_perorangan', to='vendor.masterkota'),
            preserve_default=True,
        ),
        migrations.AlterField(
            model_name='vendorperorangan',
            name='tanggal_berakhir',
            field=models.DateTimeField(null=True),
        ),
    ]

# Generated by Django 3.1.6 on 2021-03-10 09:01