service key migration
This commit is contained in:
parent
d277fe6741
commit
dff59b4a39
3 changed files with 67 additions and 4 deletions
|
@ -888,8 +888,8 @@ class ServiceKey(BaseModel):
|
|||
name = CharField()
|
||||
kid = CharField(unique=True, index=True)
|
||||
service = CharField(index=True)
|
||||
jwk = JSONField(unique=True)
|
||||
metadata = JSONField(unique=True)
|
||||
jwk = JSONField()
|
||||
metadata = JSONField()
|
||||
created_date = DateTimeField(default=datetime.utcnow)
|
||||
expiration_date = DateTimeField(null=True)
|
||||
approval = ForeignKeyField(ServiceKeyApproval, index=True, null=True)
|
||||
|
|
Reference in a new issue