# Generated by Django 5.0.6 on 2024-11-15 18:55 import django.db.models.deletion from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ("user", "0001_initial"), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name="Dpp", fields=[ ( "id", models.BigAutoField( auto_created=True, primary_key=True, serialize=False, verbose_name="ID", ), ), ("timestamp", models.IntegerField()), ("key", models.CharField(max_length=256)), ("uuid", models.UUIDField()), ("signature", models.CharField(max_length=256)), ("normalizeDoc", models.TextField()), ("type", models.CharField(max_length=256)), ( "owner", models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to="user.institution", ), ), ( "user", models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, ), ), ], ), migrations.CreateModel( name="Proof", fields=[ ( "id", models.BigAutoField( auto_created=True, primary_key=True, serialize=False, verbose_name="ID", ), ), ("timestamp", models.IntegerField()), ("uuid", models.UUIDField()), ("signature", models.CharField(max_length=256)), ("normalizeDoc", models.TextField()), ("type", models.CharField(max_length=256)), ("action", models.CharField(max_length=256)), ( "owner", models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to="user.institution", ), ), ( "user", models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, ), ), ], ), ]