1 # -*- coding: utf-8 -*-
2 # Generated by Django 1.11.20 on 2019-04-16 08:24
3 from __future__ import unicode_literals
5 from django.db import migrations, models
6 import django.db.models.deletion
9 class Migration(migrations.Migration):
12 ('club', '0001_initial'),
16 migrations.CreateModel(
19 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
20 ('disposable_token', models.CharField(max_length=255, unique=True)),
21 ('reusable_token', models.CharField(blank=True, max_length=255, null=True, unique=True)),
22 ('created_at', models.DateTimeField(auto_now_add=True)),
28 migrations.CreateModel(
29 name='PayUNotification',
31 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
32 ('body', models.TextField()),
33 ('received_at', models.DateTimeField(auto_now_add=True)),
39 migrations.CreateModel(
42 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
43 ('pos_id', models.CharField(max_length=255)),
44 ('customer_ip', models.GenericIPAddressField()),
45 ('amount', models.PositiveIntegerField()),
46 ('order_id', models.CharField(blank=True, max_length=255)),
47 ('status', models.CharField(blank=True, choices=[('PENDING', 'Pending'), ('WAITING_FOR_CONFIRMATION', 'Waiting for confirmation'), ('COMPLETED', 'Completed'), ('CANCELED', 'Canceled'), ('REJECTED', 'Rejected')], max_length=128)),
53 migrations.RemoveField(
58 model_name='membership',
60 field=models.BooleanField(default=False),
65 field=models.BooleanField(default=True, verbose_name='active'),
67 migrations.AlterField(
68 model_name='schedule',
70 field=models.CharField(choices=[('payu-re', 'PayU Recurring'), ('paypal-re', 'PayPal Recurring')], max_length=255, verbose_name='method'),
72 migrations.DeleteModel(
76 model_name='payuorder',
78 field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='club.Schedule'),
81 model_name='payunotification',
83 field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='club.PayUOrder'),
86 model_name='payucardtoken',
88 field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='club.Schedule'),