Skip to content

Commit 33740d4

Browse files
authored
Merge pull request #2791 from IBM/issue-2742-smallfix
Update Main
2 parents 048f77b + b417b1f commit 33740d4

File tree

1 file changed

+2
-4
lines changed
  • fhir-persistence-schema/src/main/java/com/ibm/fhir/schema/app

1 file changed

+2
-4
lines changed

fhir-persistence-schema/src/main/java/com/ibm/fhir/schema/app/Main.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,8 @@ protected void buildCommonModel(PhysicalDataModel pdm, boolean fhirSchema, boole
280280
default:
281281
throw new IllegalStateException("Unsupported db type: " + dbType);
282282
}
283-
}
284-
285-
// Add the tenant and tenant_keys tables and any other admin schema stuff
286-
if (dropAdmin) {
283+
} else if (dropAdmin) {
284+
// Add the tenant and tenant_keys tables and any other admin schema stuff
287285
FhirSchemaGenerator gen = new FhirSchemaGenerator(schema.getAdminSchemaName(), schema.getSchemaName(), isMultitenant());
288286
gen.buildAdminSchema(pdm);
289287
}

0 commit comments

Comments
 (0)