cmsmanage/membershipworks/migrations/0003_transaction_unique_sid_timestamp.py

19 lines
477 B
Python
Raw Normal View History

# Generated by Django 5.1 on 2024-09-02 16:29
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("membershipworks", "0002_historical_member_and_flags"),
]
operations = [
migrations.AddConstraint(
model_name="transaction",
constraint=models.UniqueConstraint(
models.F("sid"), models.F("timestamp"), name="unique_sid_timestamp"
),
),
]