diff --git a/idhub/migrations/0002_alter_event_type.py b/idhub/migrations/0002_alter_event_type.py new file mode 100644 index 0000000..8da7883 --- /dev/null +++ b/idhub/migrations/0002_alter_event_type.py @@ -0,0 +1,53 @@ +# Generated by Django 4.2.5 on 2024-02-23 12:26 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ('idhub', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='event', + name='type', + field=models.PositiveSmallIntegerField( + choices=[ + (1, 'User registered'), + (2, 'User welcomed'), + (3, 'Data update requested by user'), + (4, 'Data update requested. Pending approval by administrator'), + (5, "User's data updated by admin"), + (6, 'Your data updated by admin'), + (7, 'User deactivated by admin'), + (8, 'DID created by user'), + (9, 'DID created'), + (10, 'DID deleted'), + (11, 'Credential deleted by user'), + (12, 'Credential deleted by admin'), + (13, 'Credential deleted'), + (14, 'Credential issued for user'), + (15, 'Credential issued'), + (16, 'Credential presented by user'), + (17, 'Credential presented'), + (18, 'Credential enabled'), + (19, 'Credential available'), + (20, 'Credential revoked by admin'), + (21, 'Credential revoked'), + (22, 'Role created by admin'), + (23, 'Role modified by admin'), + (24, 'Role deleted by admin'), + (25, 'Service created by admin'), + (26, 'Service modified by admin'), + (27, 'Service deleted by admin'), + (28, 'Organisational DID created by admin'), + (29, 'Organisational DID deleted by admin'), + (30, 'User deactivated'), + (31, 'User activated'), + (32, 'User send Verificable Presentation'), + ], + verbose_name='Event', + ), + ), + ] diff --git a/idhub/migrations/0003_alter_did_type.py b/idhub/migrations/0003_alter_did_type.py new file mode 100644 index 0000000..9431873 --- /dev/null +++ b/idhub/migrations/0003_alter_did_type.py @@ -0,0 +1,19 @@ +# Generated by Django 4.2.5 on 2024-02-27 08:04 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ('idhub', '0002_alter_event_type'), + ] + + operations = [ + migrations.AlterField( + model_name='did', + name='type', + field=models.PositiveSmallIntegerField( + choices=[(1, 'Web'), (2, 'Key')], verbose_name='Type' + ), + ), + ] diff --git a/oidc4vp/migrations/0003_organization_main.py b/oidc4vp/migrations/0003_organization_main.py new file mode 100644 index 0000000..4d85b2f --- /dev/null +++ b/oidc4vp/migrations/0003_organization_main.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.5 on 2024-02-27 08:04 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ('oidc4vp', '0002_organization_encrypted_sensitive_data_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='organization', + name='main', + field=models.BooleanField(default=False), + ), + ]