From c17b7b35b89a3489ad2d39b9feab2b54f1e0efff Mon Sep 17 00:00:00 2001
From: juuso-j <68938778+juuso-j@users.noreply.github.com>
Date: Fri, 17 May 2024 14:36:14 +0300
Subject: [PATCH] Add missing migrations

---
 ...4_alter_archivedparking_domain_and_more.py | 117 ++++++++++++++++++
 1 file changed, 117 insertions(+)
 create mode 100644 parkings/migrations/0064_alter_archivedparking_domain_and_more.py

diff --git a/parkings/migrations/0064_alter_archivedparking_domain_and_more.py b/parkings/migrations/0064_alter_archivedparking_domain_and_more.py
new file mode 100644
index 00000000..f5a80582
--- /dev/null
+++ b/parkings/migrations/0064_alter_archivedparking_domain_and_more.py
@@ -0,0 +1,117 @@
+# Generated by Django 4.2.8 on 2024-05-17 11:19
+
+import django.core.serializers.json
+import django.db.models.deletion
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('parkings', '0063_remove_permitarea_permitted_user'),
+    ]
+
+    operations = [
+        migrations.AlterField(
+            model_name='archivedparking',
+            name='domain',
+            field=models.ForeignKey(db_index=False, null=True,
+                                    on_delete=django.db.models.deletion.PROTECT, to='parkings.enforcementdomain'),
+        ),
+        migrations.AlterField(
+            model_name='archivedparking',
+            name='operator',
+            field=models.ForeignKey(db_index=False, on_delete=django.db.models.deletion.PROTECT,
+                                    to='parkings.operator', verbose_name='operator'),
+        ),
+        migrations.AlterField(
+            model_name='archivedparking',
+            name='parking_area',
+            field=models.ForeignKey(blank=True, db_index=False, null=True, on_delete=django.db.models.deletion.SET_NULL,
+                                    to='parkings.parkingarea', verbose_name='parking area'),
+        ),
+        migrations.AlterField(
+            model_name='archivedparking',
+            name='region',
+            field=models.ForeignKey(blank=True, db_index=False, null=True,
+                                    on_delete=django.db.models.deletion.SET_NULL, to='parkings.region', verbose_name='region'),
+        ),
+        migrations.AlterField(
+            model_name='archivedparking',
+            name='terminal',
+            field=models.ForeignKey(blank=True, db_index=False, null=True, on_delete=django.db.models.deletion.SET_NULL,
+                                    to='parkings.parkingterminal', verbose_name='terminal'),
+        ),
+        migrations.AlterField(
+            model_name='archivedparking',
+            name='zone',
+            field=models.ForeignKey(blank=True, db_index=False, null=True, on_delete=django.db.models.deletion.PROTECT,
+                                    to='parkings.paymentzone', verbose_name='PaymentZone'),
+        ),
+        migrations.AlterField(
+            model_name='eventparking',
+            name='domain',
+            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT,
+                                    to='parkings.enforcementdomain'),
+        ),
+        migrations.AlterField(
+            model_name='eventparking',
+            name='event_area',
+            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL,
+                                    to='parkings.eventarea', verbose_name='event area'),
+        ),
+        migrations.AlterField(
+            model_name='eventparking',
+            name='operator',
+            field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT,
+                                    to='parkings.operator', verbose_name='operator'),
+        ),
+        migrations.AlterField(
+            model_name='parking',
+            name='domain',
+            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT,
+                                    to='parkings.enforcementdomain'),
+        ),
+        migrations.AlterField(
+            model_name='parking',
+            name='operator',
+            field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT,
+                                    to='parkings.operator', verbose_name='operator'),
+        ),
+        migrations.AlterField(
+            model_name='parking',
+            name='parking_area',
+            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL,
+                                    to='parkings.parkingarea', verbose_name='parking area'),
+        ),
+        migrations.AlterField(
+            model_name='parking',
+            name='region',
+            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL,
+                                    to='parkings.region', verbose_name='region'),
+        ),
+        migrations.AlterField(
+            model_name='parking',
+            name='terminal',
+            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL,
+                                    to='parkings.parkingterminal', verbose_name='terminal'),
+        ),
+        migrations.AlterField(
+            model_name='parking',
+            name='zone',
+            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT,
+                                    to='parkings.paymentzone', verbose_name='PaymentZone'),
+        ),
+        migrations.AlterField(
+            model_name='parkingcheck',
+            name='result',
+            field=models.JSONField(
+                blank=True, encoder=django.core.serializers.json.DjangoJSONEncoder, verbose_name='result'),
+        ),
+        migrations.AlterField(
+            model_name='permit',
+            name='properties',
+            field=models.JSONField(blank=True, encoder=django.core.serializers.json.DjangoJSONEncoder,
+                                   null=True, verbose_name='properties'),
+        ),
+    ]