Skip to content

Commit b417b1f

Browse files
committed
Update Main
Signed-off-by: Paul Bastide <[email protected]>
1 parent 47e0421 commit b417b1f

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)