mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-23 09:08:39 +02:00
feat(transactions): add internal_id field to transactions
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# Generated by Django 5.1.5 on 2025-01-21 01:56
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("transactions", "0032_transaction_created_at_transaction_updated_at"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="transaction",
|
||||
name="internal_id",
|
||||
field=models.TextField(
|
||||
blank=True, null=True, unique=True, verbose_name="Internal ID"
|
||||
),
|
||||
),
|
||||
]
|
||||
@@ -190,6 +190,9 @@ class Transaction(models.Model):
|
||||
verbose_name=_("Recurring Transaction"),
|
||||
)
|
||||
internal_note = models.TextField(blank=True, verbose_name=_("Internal Note"))
|
||||
internal_id = models.TextField(
|
||||
blank=True, null=True, unique=True, verbose_name=_("Internal ID")
|
||||
)
|
||||
|
||||
deleted = models.BooleanField(
|
||||
default=False, verbose_name=_("Deleted"), db_index=True
|
||||
|
||||
Reference in New Issue
Block a user