diff --git a/idhub/migrations/0004_alter_event_type.py b/idhub/migrations/0004_alter_event_type.py new file mode 100644 index 0000000..eda7da6 --- /dev/null +++ b/idhub/migrations/0004_alter_event_type.py @@ -0,0 +1,54 @@ +# Generated by Django 4.2.5 on 2024-03-01 14:47 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ('idhub', '0003_alter_did_type'), + ] + + 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'), + (33, 'User send credential'), + ], + verbose_name='Event', + ), + ), + ]