diff --git a/spid_cie_oidc/authority/migrations/0013_alter_federationdescendant_type_and_more.py b/spid_cie_oidc/authority/migrations/0013_alter_federationdescendant_type_and_more.py new file mode 100644 index 00000000..0a93f90e --- /dev/null +++ b/spid_cie_oidc/authority/migrations/0013_alter_federationdescendant_type_and_more.py @@ -0,0 +1,48 @@ +# Generated by Django 4.2.7 on 2023-11-14 14:03 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("spid_cie_oidc_authority", "0012_remove_federationdescendant_issue_x509"), + ] + + operations = [ + migrations.AlterField( + model_name="federationdescendant", + name="type", + field=models.CharField( + blank=True, + choices=[ + ("federation_entity", "federation_entity"), + ("openid_relying_party", "openid_relying_party"), + ("openid_provider", "openid_provider"), + ("openid_credential_issuer", "openid_credential_issuer"), + ("oauth_resource", "oauth_resource"), + ("wallet_provider", "wallet_provider"), + ("wallet_relying_party", "wallet_relying_party"), + ], + default="openid_relying_party", + help_text="OpenID Connect Federation entity type", + max_length=33, + ), + ), + migrations.AlterField( + model_name="federationentityprofile", + name="profile_category", + field=models.CharField( + choices=[ + ("federation_entity", "federation_entity"), + ("openid_relying_party", "openid_relying_party"), + ("openid_provider", "openid_provider"), + ("openid_credential_issuer", "openid_credential_issuer"), + ("oauth_resource", "oauth_resource"), + ("wallet_provider", "wallet_provider"), + ("wallet_relying_party", "wallet_relying_party"), + ], + help_text="Profile id. It SHOULD be a URL but feel free to put whatever", + max_length=64, + ), + ), + ] diff --git a/spid_cie_oidc/entity/migrations/0031_alter_federationentityconfiguration_entity_type.py b/spid_cie_oidc/entity/migrations/0031_alter_federationentityconfiguration_entity_type.py new file mode 100644 index 00000000..9cf093a3 --- /dev/null +++ b/spid_cie_oidc/entity/migrations/0031_alter_federationentityconfiguration_entity_type.py @@ -0,0 +1,34 @@ +# Generated by Django 4.2.7 on 2023-11-14 14:03 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ( + "spid_cie_oidc_entity", + "0030_remove_federationentityconfiguration_issue_x509", + ), + ] + + operations = [ + migrations.AlterField( + model_name="federationentityconfiguration", + name="entity_type", + field=models.CharField( + blank=True, + choices=[ + ("federation_entity", "federation_entity"), + ("openid_relying_party", "openid_relying_party"), + ("openid_provider", "openid_provider"), + ("openid_credential_issuer", "openid_credential_issuer"), + ("oauth_resource", "oauth_resource"), + ("wallet_provider", "wallet_provider"), + ("wallet_relying_party", "wallet_relying_party"), + ], + default="openid_relying_party", + help_text="OpenID Connect Federation entity type", + max_length=33, + ), + ), + ] diff --git a/spid_cie_oidc/onboarding/migrations/0010_alter_onboardingregistration_type.py b/spid_cie_oidc/onboarding/migrations/0010_alter_onboardingregistration_type.py new file mode 100644 index 00000000..182e282c --- /dev/null +++ b/spid_cie_oidc/onboarding/migrations/0010_alter_onboardingregistration_type.py @@ -0,0 +1,31 @@ +# Generated by Django 4.2.7 on 2023-11-14 14:07 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("spid_cie_oidc_onboarding", "0009_alter_onboardingregistration_type"), + ] + + operations = [ + migrations.AlterField( + model_name="onboardingregistration", + name="type", + field=models.CharField( + blank=True, + choices=[ + ("federation_entity", "federation_entity"), + ("openid_relying_party", "openid_relying_party"), + ("openid_provider", "openid_provider"), + ("openid_credential_issuer", "openid_credential_issuer"), + ("oauth_resource", "oauth_resource"), + ("wallet_provider", "wallet_provider"), + ("wallet_relying_party", "wallet_relying_party"), + ], + default="openid_relying_party", + help_text="OpenID Connect Federation entity type", + max_length=33, + ), + ), + ]