forked from CGM_Public/pretix_original
Connect giftcards with customer accounts, show giftcards during checkout and in account , show giftcard list in backend customer view
20 lines
535 B
Python
20 lines
535 B
Python
# Generated by Django 4.2.19 on 2025-05-19 11:06
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('pretixbase', '0291_alter_logentry_object_id'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='giftcard',
|
|
name='customer',
|
|
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, related_name='customer_gift_cards', to='pretixbase.customer'),
|
|
),
|
|
]
|