# Generated by Django 2.1.7 on 2020-12-21 15:18

import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('sales', '0102_rebatepayee'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='rebatepayee',
            name='company',
        ),
        migrations.AddField(
            model_name='rebatepayable',
            name='is_closed',
            field=models.BooleanField(blank=True, default=False, null=True, verbose_name='是否已关闭'),
        ),
        migrations.AddField(
            model_name='rebatepayable',
            name='log_edit',
            field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=list, null=True),
        ),
        migrations.AddField(
            model_name='rebatepayee',
            name='company_id',
            field=models.IntegerField(db_index=True, default=1644, verbose_name='公司ID'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='rebatepayee',
            name='log_edit',
            field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=list, null=True),
        ),
        migrations.AlterField(
            model_name='rebatepayable',
            name='agent',
            field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='rebatepayable_agent', to='company.Company', verbose_name='收款经销商'),
        ),
    ]
