Added payment field to transaction
This commit is contained in:
parent
215787e204
commit
b45150d4ff
3 changed files with 32 additions and 4 deletions
|
@ -6,13 +6,13 @@ from django.db import migrations, models
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('main', '0002_alter_snapshot_date_alter_snapshot_diff'),
|
||||
("main", "0002_alter_snapshot_date_alter_snapshot_diff"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='transaction',
|
||||
name='real_date',
|
||||
model_name="transaction",
|
||||
name="real_date",
|
||||
field=models.DateField(blank=True, null=True),
|
||||
),
|
||||
]
|
||||
|
|
18
nummi/main/migrations/0004_transaction_payment.py
Normal file
18
nummi/main/migrations/0004_transaction_payment.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 4.0.4 on 2022-05-22 11:51
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("main", "0003_transaction_real_date"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="transaction",
|
||||
name="payment",
|
||||
field=models.CharField(blank=True, max_length=128, null=True),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue