add credential_as_issuer in models
This commit is contained in:
parent
65b4d17d82
commit
a975d831f9
|
@ -0,0 +1,17 @@
|
||||||
|
# Generated by Django 4.2.5 on 2024-06-20 07:59
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
dependencies = [
|
||||||
|
('idhub', '0006_did_ether_address_did_ether_privkey'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='did',
|
||||||
|
name='credential_as_issuer',
|
||||||
|
field=models.TextField(null=True),
|
||||||
|
),
|
||||||
|
]
|
|
@ -454,6 +454,7 @@ class DID(models.Model):
|
||||||
)
|
)
|
||||||
# JSON-serialized DID document
|
# JSON-serialized DID document
|
||||||
didweb_document = models.TextField()
|
didweb_document = models.TextField()
|
||||||
|
credential_as_issuer = models.TextField(null=True)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_organization_did(self):
|
def is_organization_did(self):
|
||||||
|
|
Loading…
Reference in New Issue