membershipworks: Expand undersized Transaction.sid field
This commit is contained in:
parent
ea94d9a3df
commit
0ee423c079
17
membershipworks/migrations/0003_alter_transaction_sid.py
Normal file
17
membershipworks/migrations/0003_alter_transaction_sid.py
Normal 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),
|
||||||
|
),
|
||||||
|
]
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user