Class CreateVersionHistory
- java.lang.Object
-
- com.ibm.fhir.database.utils.version.CreateVersionHistory
-
public class CreateVersionHistory extends Object
We don't add the version_history to thePhysicalDataModel
because it's a schema management table, and the model shouldn't really care about it.
-
-
Constructor Summary
Constructors Constructor Description CreateVersionHistory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
createTableIfNeeded(String adminSchemaName, IDatabaseAdapter target)
Create the version history table in the given (admin) schema.
-
-
-
Method Detail
-
createTableIfNeeded
public static void createTableIfNeeded(String adminSchemaName, IDatabaseAdapter target)
Create the version history table in the given (admin) schema. This table is used to determine the current version of the schema, and hence which changes should be applied in order to migrate the schema to the latest version.
As this is the version table itself, it is assigned a version id of 0 which is used to indicate that versioning doesn't apply.- Parameters:
adminSchemaName
-target
-
-
-