# Generated by Django 3.1.3 on 2020-11-11 07:23

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('users', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Order',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('token', models.CharField(default=payment.models.get_new_token, max_length=200, unique=True)),
                ('order_id', models.PositiveIntegerField(blank=True, null=True, unique=True)),
                ('email', models.EmailField(max_length=254, verbose_name='Email')),
                ('payed_date', models.DateTimeField(blank=True, null=True, verbose_name='Дата оплаты')),
                ('status', models.CharField(choices=[('Оплачен', 'Оплачен'), ('Не оплачен', 'Не оплачен')], default='Не оплачен', max_length=20, verbose_name='Статус оплаты')),
                ('is_active_link', models.BooleanField(default=True)),
                ('is_active_token', models.BooleanField(default=True)),
                ('client', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='users.client')),
            ],
            options={
                'verbose_name': 'Заказ',
                'verbose_name_plural': 'Заказы',
            },
        ),
    ]

c576159ca4a5bb970df17b7a2123e94c96d4ab81
<mask token>

<mask token>


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

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = [('users', '0001_initial')]
    operations = [migrations.CreateModel(name='Order', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('token', models.CharField(default=
        payment.models.get_new_token, max_length=200, unique=True)), (
        'order_id', models.PositiveIntegerField(blank=True, null=True,
        unique=True)), ('email', models.EmailField(max_length=254,
        verbose_name='Email')), ('payed_date', models.DateTimeField(blank=
        True, null=True, verbose_name='Дата оплаты')), ('status', models.
        CharField(choices=[('Оплачен', 'Оплачен'), ('Не оплачен',
        'Не оплачен')], default='Не оплачен', max_length=20, verbose_name=
        'Статус оплаты')), ('is_active_link', models.BooleanField(default=
        True)), ('is_active_token', models.BooleanField(default=True)), (
        'client', models.ForeignKey(on_delete=django.db.models.deletion.
        PROTECT, to='users.client'))], options={'verbose_name': 'Заказ',
        'verbose_name_plural': 'Заказы'})]

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


class Migration(migrations.Migration):
    initial = True
    dependencies = [('users', '0001_initial')]
    operations = [migrations.CreateModel(name='Order', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('token', models.CharField(default=
        payment.models.get_new_token, max_length=200, unique=True)), (
        'order_id', models.PositiveIntegerField(blank=True, null=True,
        unique=True)), ('email', models.EmailField(max_length=254,
        verbose_name='Email')), ('payed_date', models.DateTimeField(blank=
        True, null=True, verbose_name='Дата оплаты')), ('status', models.
        CharField(choices=[('Оплачен', 'Оплачен'), ('Не оплачен',
        'Не оплачен')], default='Не оплачен', max_length=20, verbose_name=
        'Статус оплаты')), ('is_active_link', models.BooleanField(default=
        True)), ('is_active_token', models.BooleanField(default=True)), (
        'client', models.ForeignKey(on_delete=django.db.models.deletion.
        PROTECT, to='users.client'))], options={'verbose_name': 'Заказ',
        'verbose_name_plural': 'Заказы'})]

# Generated by Django 3.1.3 on 2020-11-11 07:23

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('users', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Order',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('token', models.CharField(default=payment.models.get_new_token, max_length=200, unique=True)),
                ('order_id', models.PositiveIntegerField(blank=True, null=True, unique=True)),
                ('email', models.EmailField(max_length=254, verbose_name='Email')),
                ('payed_date', models.DateTimeField(blank=True, null=True, verbose_name='Дата оплаты')),
                ('status', models.CharField(choices=[('Оплачен', 'Оплачен'), ('Не оплачен', 'Не оплачен')], default='Не оплачен', max_length=20, verbose_name='Статус оплаты')),
                ('is_active_link', models.BooleanField(default=True)),
                ('is_active_token', models.BooleanField(default=True)),
                ('client', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='users.client')),
            ],
            options={
                'verbose_name': 'Заказ',
                'verbose_name_plural': 'Заказы',
            },
        ),
    ]
