Added reference to the package

This commit is contained in:
Clair Blacketer 2022-01-21 15:35:13 -05:00
parent 477fb8a191
commit af1effdedc
1 changed files with 11 additions and 11 deletions

View File

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