27 lines
1018 B
Python
27 lines
1018 B
Python
# Generated by Django 4.1.7 on 2023-03-15 10:14
|
|
|
|
import django.db.models.deletion
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('core', '0024_ad_send_reference'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Requisition',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('requisition_id', models.CharField(max_length=255)),
|
|
('payment_details', models.TextField()),
|
|
('transaction_source', models.CharField(choices=[('booked', 'Booked'), ('pending', 'Pending')], max_length=255)),
|
|
('aggregator', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.aggregator')),
|
|
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
|
|
],
|
|
),
|
|
]
|