Skip to content

Commit

Permalink
intersection tables names are now done alphabetically
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Pinsel <[email protected]>
  • Loading branch information
DominikPinsel committed Feb 9, 2024
1 parent 2f33a65 commit 8b2d0eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
@ToString
public class VerifiableCredentialIssuerIntersectionEntity extends AbstractEntity {

public static final String TABLE_NAME = "verifiable_credential_issuer_intersection";
public static final String TABLE_NAME = "issuer_verifiable_credential_intersection";
public static final String COLUMN_VERIFIABLE_CREDENTIAL_ID = "verifiable_credential_id";
public static final String COLUMN_VERIFIABLE_CREDENTIAL_ISSUER_ID = "verifiable_credential_issuer_id";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
@ToString
public class VerifiableCredentialTypeIntersectionEntity extends AbstractEntity {

public static final String TABLE_NAME = "verifiable_credential_type_intersection";
public static final String TABLE_NAME = "type_verifiable_credential_intersection";
public static final String COLUMN_VERIFIABLE_CREDENTIAL_ID = "verifiable_credential_id";
public static final String COLUMN_VERIFIABLE_CREDENTIAL_ISSUER_ID = "verifiable_credential_type_id";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ CREATE TABLE IF NOT EXISTS verifiable_credential_wallet_intersection
);

/* Verifiable Credential Type Intersection Table */
CREATE TABLE IF NOT EXISTS verifiable_credential_type_intersection
CREATE TABLE IF NOT EXISTS type_verifiable_credential_intersection
(
verifiable_credential_id varchar(255) NOT NULL,
verifiable_credential_type_id varchar(255) NOT NULL,
Expand All @@ -107,7 +107,7 @@ CREATE TABLE IF NOT EXISTS verifiable_credential_type_intersection
);

/* Verifiable Credential Issuer Intersection Table */
CREATE TABLE IF NOT EXISTS verifiable_credential_issuer_intersection
CREATE TABLE IF NOT EXISTS issuer_verifiable_credential_intersection
(
verifiable_credential_id varchar(255) NOT NULL,
verifiable_credential_issuer_id varchar(255) NOT NULL,
Expand Down

0 comments on commit 8b2d0eb

Please sign in to comment.