mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-07-08 06:46:31 +00:00
feat(payment): add status field and is_expired property to Payment model for enhanced payment tracking ✨
This commit is contained in:
25
billing/migrations/0012_payment_status.py
Normal file
25
billing/migrations/0012_payment_status.py
Normal 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,
|
||||
),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user