# Generated by Django 2.2.28 on 2024-07-03 13:49 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('food', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='food', name='code', ), migrations.CreateModel( name='QRCode', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('qr_code_number', models.PositiveIntegerField(verbose_name='QR-code number')), ('food_container', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='QR_code', to='food.Food', unique=True, verbose_name='food container')), ], options={ 'verbose_name': 'QR-code', 'verbose_name_plural': 'QR-codes', }, ), ]