Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issuer component migration out of sync #94

Closed
jjeroch opened this issue Apr 30, 2024 · 0 comments
Closed

Fix issuer component migration out of sync #94

jjeroch opened this issue Apr 30, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jjeroch
Copy link
Contributor

jjeroch commented Apr 30, 2024

Summary:
There is a bug in the issuer component migration where the INT database does not match with the seeder files in our repository. This indicates that the issuer component migration is out of sync and needs to be fixed.

To resolve this bug, we need to investigate and identify the cause of the mismatch between the INT database and the seeder files. Once the cause is determined, we can update the issuer component migration to ensure that it properly reflects the state of the INT database. This will bring the migration back in sync with the seeder files and ensure consistency in the issuer component.

Steps to Reproduce:

  1. Compare the INT database with the seeder files in the repository for the issuer component.
  2. Observe the mismatch between the two.

Expected Result: The INT database should match with the seeder files for the issuer component.

Actual Result: There is a mismatch between the INT database and the seeder files, indicating an out of sync migration.


Run
SELECT id, verified_credential_external_type_id, version, template, valid_from, expiry FROM issuer.verified_credential_external_type_detail_versions;
Compare result with
/src/database/SsiCredentialIssuer.Migrations/Seeder/Data/verified_credential_external_type_detail_versions.json

@jjeroch jjeroch added the bug Something isn't working label Apr 30, 2024
@jjeroch jjeroch added this to the Release 24.05 milestone Apr 30, 2024
@jjeroch jjeroch added this to Portal Apr 30, 2024
@github-project-automation github-project-automation bot moved this to NEW USER REQUEST in Portal Apr 30, 2024
@jjeroch jjeroch moved this from NEW USER REQUEST to BACKLOG in Portal Apr 30, 2024
Phil91 added a commit that referenced this issue May 2, 2024
* add consortia to the seeding paths to seed consortia related data

Refs: #94 , #45
Phil91 added a commit that referenced this issue May 2, 2024
* add consortia to the seeding paths to seed consortia related data
-----------------
Reviewed-By: Evelyn Gurschler <evelyn.gurschler@bmw.de>
Refs: #94 , #45
@Phil91 Phil91 moved this from BACKLOG to IN REVIEW in Portal May 2, 2024
@jjeroch jjeroch moved this from IN REVIEW to USER READY in Portal May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants