add migrations

This commit is contained in:
Cayo Puigdefabregas 2024-02-27 09:26:40 +01:00
parent 276a5a75a3
commit 35c04b0e39
3 changed files with 89 additions and 0 deletions

View File

@ -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',
),
),
]

View File

@ -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'
),
),
]

View File

@ -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),
),
]