# Generated by Django 2.0.3 on 2018-05-19 07:51

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('vendor', '0003_auto_20180515_1409'),
        ('banks', '0001_initial'),
        ('purchase_invoice', '0003_auto_20180516_1839'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Payment',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('purchase_inv_no', models.CharField(max_length=255)),
                ('purchase_inv_date', models.DateTimeField()),
                ('payment_mode', models.CharField(max_length=255)),
                ('payment_refrence', models.CharField(max_length=255)),
                ('total_amount', models.DecimalField(decimal_places=2, max_digits=20)),
                ('special_note', models.TextField()),
                ('is_approve', models.CharField(choices=[('2', 'False'), ('1', 'True'), ('0', 'None')], default='0', max_length=1)),
                ('status', models.BooleanField(default=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('bank', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='banks.Bank')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL)),
                ('pur_inv', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='purchase_invoice.PurchaseInvoice')),
                ('vendor', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='vendor.Vendor')),
                ('vendor_address', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='vendor.VendorAddress')),
            ],
        ),
        migrations.CreateModel(
            name='PaymentMap',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('payment_no', models.CharField(max_length=255)),
                ('payment', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='payment_map', to='payment.Payment')),
            ],
        ),
    ]

2518e94bbf4111ff1332206444efa6fe7fc93466
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = [('vendor', '0003_auto_20180515_1409'), ('banks',
        '0001_initial'), ('purchase_invoice', '0003_auto_20180516_1839'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL)]
    operations = [migrations.CreateModel(name='Payment', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('purchase_inv_no', models.CharField(
        max_length=255)), ('purchase_inv_date', models.DateTimeField()), (
        'payment_mode', models.CharField(max_length=255)), (
        'payment_refrence', models.CharField(max_length=255)), (
        'total_amount', models.DecimalField(decimal_places=2, max_digits=20
        )), ('special_note', models.TextField()), ('is_approve', models.
        CharField(choices=[('2', 'False'), ('1', 'True'), ('0', 'None')],
        default='0', max_length=1)), ('status', models.BooleanField(default
        =True)), ('created_at', models.DateTimeField(auto_now_add=True)), (
        'bank', models.ForeignKey(blank=True, null=True, on_delete=django.
        db.models.deletion.SET_NULL, to='banks.Bank')), ('created_by',
        models.ForeignKey(blank=True, null=True, on_delete=django.db.models
        .deletion.SET_NULL, to=settings.AUTH_USER_MODEL)), ('pur_inv',
        models.ForeignKey(blank=True, null=True, on_delete=django.db.models
        .deletion.SET_NULL, to='purchase_invoice.PurchaseInvoice')), (
        'vendor', models.ForeignKey(blank=True, null=True, on_delete=django
        .db.models.deletion.SET_NULL, to='vendor.Vendor')), (
        'vendor_address', models.ForeignKey(blank=True, null=True,
        on_delete=django.db.models.deletion.SET_NULL, to=
        'vendor.VendorAddress'))]), migrations.CreateModel(name=
        'PaymentMap', fields=[('id', models.AutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), (
        'payment_no', models.CharField(max_length=255)), ('payment', models
        .ForeignKey(on_delete=django.db.models.deletion.CASCADE,
        related_name='payment_map', to='payment.Payment'))])]

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


class Migration(migrations.Migration):
    initial = True
    dependencies = [('vendor', '0003_auto_20180515_1409'), ('banks',
        '0001_initial'), ('purchase_invoice', '0003_auto_20180516_1839'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL)]
    operations = [migrations.CreateModel(name='Payment', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('purchase_inv_no', models.CharField(
        max_length=255)), ('purchase_inv_date', models.DateTimeField()), (
        'payment_mode', models.CharField(max_length=255)), (
        'payment_refrence', models.CharField(max_length=255)), (
        'total_amount', models.DecimalField(decimal_places=2, max_digits=20
        )), ('special_note', models.TextField()), ('is_approve', models.
        CharField(choices=[('2', 'False'), ('1', 'True'), ('0', 'None')],
        default='0', max_length=1)), ('status', models.BooleanField(default
        =True)), ('created_at', models.DateTimeField(auto_now_add=True)), (
        'bank', models.ForeignKey(blank=True, null=True, on_delete=django.
        db.models.deletion.SET_NULL, to='banks.Bank')), ('created_by',
        models.ForeignKey(blank=True, null=True, on_delete=django.db.models
        .deletion.SET_NULL, to=settings.AUTH_USER_MODEL)), ('pur_inv',
        models.ForeignKey(blank=True, null=True, on_delete=django.db.models
        .deletion.SET_NULL, to='purchase_invoice.PurchaseInvoice')), (
        'vendor', models.ForeignKey(blank=True, null=True, on_delete=django
        .db.models.deletion.SET_NULL, to='vendor.Vendor')), (
        'vendor_address', models.ForeignKey(blank=True, null=True,
        on_delete=django.db.models.deletion.SET_NULL, to=
        'vendor.VendorAddress'))]), migrations.CreateModel(name=
        'PaymentMap', fields=[('id', models.AutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), (
        'payment_no', models.CharField(max_length=255)), ('payment', models
        .ForeignKey(on_delete=django.db.models.deletion.CASCADE,
        related_name='payment_map', to='payment.Payment'))])]

# Generated by Django 2.0.3 on 2018-05-19 07:51

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('vendor', '0003_auto_20180515_1409'),
        ('banks', '0001_initial'),
        ('purchase_invoice', '0003_auto_20180516_1839'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Payment',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('purchase_inv_no', models.CharField(max_length=255)),
                ('purchase_inv_date', models.DateTimeField()),
                ('payment_mode', models.CharField(max_length=255)),
                ('payment_refrence', models.CharField(max_length=255)),
                ('total_amount', models.DecimalField(decimal_places=2, max_digits=20)),
                ('special_note', models.TextField()),
                ('is_approve', models.CharField(choices=[('2', 'False'), ('1', 'True'), ('0', 'None')], default='0', max_length=1)),
                ('status', models.BooleanField(default=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('bank', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='banks.Bank')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL)),
                ('pur_inv', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='purchase_invoice.PurchaseInvoice')),
                ('vendor', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='vendor.Vendor')),
                ('vendor_address', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='vendor.VendorAddress')),
            ],
        ),
        migrations.CreateModel(
            name='PaymentMap',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('payment_no', models.CharField(max_length=255)),
                ('payment', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='payment_map', to='payment.Payment')),
            ],
        ),
    ]
