forked from italia/spid-cie-oidc-django
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request italia#285 from vernans/add-migrations
Add missing migrations
- Loading branch information
Showing
3 changed files
with
113 additions
and
0 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
spid_cie_oidc/authority/migrations/0013_alter_federationdescendant_type_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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, | ||
), | ||
), | ||
] |
34 changes: 34 additions & 0 deletions
34
spid_cie_oidc/entity/migrations/0031_alter_federationentityconfiguration_entity_type.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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, | ||
), | ||
), | ||
] |
31 changes: 31 additions & 0 deletions
31
spid_cie_oidc/onboarding/migrations/0010_alter_onboardingregistration_type.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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, | ||
), | ||
), | ||
] |