# Generated by Django 4.2.23 on 2025-08-08 11:29

from django.db import migrations, models
import django.db.models.deletion
import pretix_uic_barcode.models


class Migration(migrations.Migration):

    dependencies = [
        ('pretix_uic_barcode', '0001_squashed_0003_applewalletpass_order_position'),
    ]

    operations = [
        migrations.CreateModel(
            name='OrderPositionTotp',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False)),
                ('totp_key', models.BinaryField(default=pretix_uic_barcode.models.generate_totp_secret)),
                ('order_position', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='totp', to='pretixbase.orderposition')),
            ],
        ),
    ]
