feat(payment): add status field and is_expired property to Payment model for enhanced payment tracking

This commit is contained in:
2025-07-06 21:22:56 +05:00
parent f10fa74fbb
commit 950f42ae3f
2 changed files with 40 additions and 0 deletions

View File

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