reverting id on transaction

This commit is contained in:
DJ Gillespie 2020-04-06 19:29:56 -06:00
parent ea0a9636b9
commit 39114afc17

View File

@ -39,7 +39,7 @@ class Bank(models.Model):
on_delete=models.CASCADE)
institution = models.ForeignKey(Institution, on_delete=models.CASCADE,
related_name="banks")
id = models.CharField(max_length=250, primary_key=True)
acc_id = models.CharField(max_length=250, primary_key=True)
nickname = models.CharField(max_length=250)
official_name = models.CharField(max_length=250,blank=True, null=True)
balance_limit = models.DecimalField(decimal_places=3, max_digits=100, blank=True, null=True)