# Generated by Django 2.2 on 2020-09-18 14:21

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


class Migration(migrations.Migration):

    dependencies = [
        ('Customer', '0032_auto_20200917_2040'),
    ]

    operations = [
        migrations.AddField(
            model_name='order',
            name='charge_from_card',
            field=models.CharField(blank=True, default='', max_length=100, null=True),
        ),
        migrations.CreateModel(
            name='CustomerJobPayment',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('method', models.CharField(blank=True, default='card', max_length=100, null=True)),
                ('credits_to_be_used', models.FloatField(blank=True, default=0.0, null=True)),
                ('stripe_charge_response', models.TextField()),
                ('stripe_charge_id', models.CharField(blank=True, max_length=100, null=True)),
                ('stripe_amount', models.FloatField(blank=True, default=0.0, null=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('job', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='Customer.CustomerJob')),
            ],
        ),
    ]
