diff --git a/extras/codeToRun.R b/extras/codeToRun.R index 617ab73..39862e5 100644 --- a/extras/codeToRun.R +++ b/extras/codeToRun.R @@ -4,30 +4,30 @@ # Results are written to inst/ddl/cdm_version/dialect. cdmVersion <- "5.4" -supportedVersions <- listSupportedVersions() +supportedVersions <- CommonDataModel::listSupportedVersions() for (cdmVersion in supportedVersions) { for (targetDialect in c("oracle", "postgresql", "pdw", "redshift", "impala", "netezza", "bigquery", "sql server", "spark")) { - writeDdl(targetDialect = targetDialect, - cdmVersion = cdmVersion) + CommonDataModel::writeDdl(targetDialect = targetDialect, + cdmVersion = cdmVersion) - writePrimaryKeys(targetDialect = targetDialect, - cdmVersion = cdmVersion) + CommonDataModel::writePrimaryKeys(targetDialect = targetDialect, + cdmVersion = cdmVersion) - writeForeignKeys(targetDialect = targetDialect, - cdmVersion = cdmVersion) + CommonDataModel::writeForeignKeys(targetDialect = targetDialect, + cdmVersion = cdmVersion) - writeIndex(targetDialect = targetDialect, - cdmVersion = cdmVersion) + CommonDataModel::writeIndex(targetDialect = targetDialect, + cdmVersion = cdmVersion) } } -CommonDataModel::buildRelease("5.4") +CommonDataModel::buildRelease("5.3") ############# # Zipping release # All dialects -buildReleaseZip(cdmVersion="5.4", outputfolder="output") +CommonDataModel::buildReleaseZip(cdmVersion="5.3", outputfolder="output") buildReleaseZip()