Skip to content

Commit

Permalink
Merge pull request #825 from xzzy/master
Browse files Browse the repository at this point in the history
Fix model field to allow nulls
  • Loading branch information
xzzy committed Sep 30, 2020
2 parents e93b350 + cdf105f commit 8e0203a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions ledger/payments/bpoint/migrations/0014_auto_20200930_1728.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.8 on 2020-09-30 09:28
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('bpoint', '0013_bpointtransaction_integrity_check'),
]

operations = [
migrations.AlterField(
model_name='bpointtransaction',
name='integrity_check',
field=models.NullBooleanField(default=False),
),
]
2 changes: 1 addition & 1 deletion ledger/payments/bpoint/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class BpointTransaction(models.Model):
dvtoken = models.CharField(max_length=128,null=True,blank=True,help_text='Stored card dv token')
last_digits = models.CharField(max_length=4,blank=True,null=True,help_text='Last four digits of card used during checkout')
is_test = models.BooleanField(default=False,help_text='Transaction is in test mode')
integrity_check = models.BooleanField(default=False)
integrity_check = models.NullBooleanField(default=False)

class Meta:
ordering = ('-created',)
Expand Down

0 comments on commit 8e0203a

Please sign in to comment.