mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Increase size of monetary decimal fields
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.2.18 on 2023-03-16 20:23
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('banktransfer', '0007_refundexport'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='banktransaction',
|
||||
name='amount',
|
||||
field=models.DecimalField(decimal_places=2, max_digits=13),
|
||||
),
|
||||
]
|
||||
@@ -83,7 +83,7 @@ class BankTransaction(models.Model):
|
||||
checksum = models.CharField(max_length=190, db_index=True)
|
||||
payer = models.TextField(blank=True)
|
||||
reference = models.TextField(blank=True)
|
||||
amount = models.DecimalField(max_digits=10, decimal_places=2)
|
||||
amount = models.DecimalField(max_digits=13, decimal_places=2)
|
||||
date = models.CharField(max_length=50)
|
||||
date_parsed = models.DateField(null=True)
|
||||
iban = models.CharField(max_length=250, blank=True)
|
||||
|
||||
Reference in New Issue
Block a user