# Generated by Django 5.1.1 on 2024-10-01 09:51 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name="NationalRegion", fields=[ ( "id", models.BigAutoField( auto_created=True, primary_key=True, serialize=False, verbose_name="ID", ), ), ("name", models.CharField(max_length=255)), ("nuts_code", models.CharField(max_length=255)), ], ), migrations.CreateModel( name="County", fields=[ ( "id", models.BigAutoField( auto_created=True, primary_key=True, serialize=False, verbose_name="ID", ), ), ("name", models.CharField(max_length=255)), ("code", models.CharField(max_length=255)), ("nuts_code", models.CharField(max_length=255)), ( "region", models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name="counties", to="core.nationalregion", ), ), ], ), ]