feat(models): add status field to Topup model with choices for Pending, Paid, and Cancelled

This commit is contained in:
2025-07-05 17:37:04 +05:00
parent 6431d61d39
commit 081366f87f
3 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# Generated by Django 5.2 on 2025-07-05 12:32
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("billing", "0010_add_expiry_notification_sent_to_topup"),
]
operations = [
migrations.AddField(
model_name="topup",
name="status",
field=models.CharField(
choices=[
("PENDING", "Pending"),
("PAID", "Paid"),
("CANCELLED", "Cancelled"),
],
default="PENDING",
max_length=20,
),
),
]