You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
974 B
Python
25 lines
974 B
Python
# Generated by Django 4.2.5 on 2024-04-09 19:06
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('osinacore', '0065_alter_customerprofile_status'),
|
|
('billing', '0014_servicepayment_comment'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Order',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('status', models.CharField(choices=[('Completed', 'Completed'), ('Failed', 'Failed'), ('Cancelled', 'Cancelled'), ('Pending', 'Pending'), ('None', 'None')], default='None', max_length=200)),
|
|
('order_id', models.CharField(blank=True, max_length=100, null=True)),
|
|
('customer', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='osinacore.customerprofile')),
|
|
],
|
|
),
|
|
]
|