Skip to content

Commit

Permalink
Merge pull request Sunbird-RC#324 from holashchand/expiration-date-fix
Browse files Browse the repository at this point in the history
[BUG]: removed expiration date as mandatory field
  • Loading branch information
srprasanna authored May 20, 2024
2 parents ade1c04 + 174af0e commit 976bb45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE "VerifiableCredentials" ALTER COLUMN "expirationDate" DROP NOT NULL;
2 changes: 1 addition & 1 deletion services/credentials-service/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ model VerifiableCredentials {
type String[]
issuer String
issuanceDate String
expirationDate String
expirationDate String?
credential_schema String
subject Json
subjectId String
Expand Down

0 comments on commit 976bb45

Please sign in to comment.