# Generated by Django 3.1.3 on 2020-12-01 12:47

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='PayTransaction',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('amount', models.IntegerField()),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('status', models.IntegerField(default=-1)),
                ('track_id', models.IntegerField(default=-1)),
                ('idpay_track_id', models.IntegerField(default=-1)),
                ('pay_id', models.CharField(max_length=100)),
                ('order_id', models.CharField(max_length=100)),
                ('card_no', models.CharField(max_length=100)),
                ('pay_date', models.CharField(max_length=100)),
                ('received_response', models.BooleanField(default=False)),
                ('success', models.BooleanField(default=False)),
                ('link', models.CharField(max_length=100)),
                ('product_key', models.CharField(blank=True, default='', max_length=100)),
                ('user_url_redirect', models.CharField(default='127.0.0.1:8000', max_length=100)),
                ('user', models.ForeignKey(default=None, on_delete=django.db.models.deletion.SET_DEFAULT, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
