membershipworks: Expand undersized Transaction.sid field

This commit is contained in:
Adam Goldsmith 2022-03-03 14:03:40 -05:00
parent ea94d9a3df
commit 0ee423c079
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,17 @@
# Generated by Django 5.0 on 2023-12-20 06:03
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("membershipworks", "0002_remove_member_accepted_covid19_policy_and_more"),
]
operations = [
migrations.AlterField(
model_name="transaction",
name="sid",
field=models.CharField(blank=True, max_length=256, null=True),
),
]

View File

@ -274,7 +274,7 @@ class MemberFlag(BaseModel):
class Transaction(BaseModel): class Transaction(BaseModel):
sid = models.CharField(max_length=27, null=True, blank=True) sid = models.CharField(max_length=256, null=True, blank=True)
member = models.ForeignKey( member = models.ForeignKey(
Member, Member,
on_delete=models.PROTECT, on_delete=models.PROTECT,