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.
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,
CommonDataModel::writeDdl(targetDialect = targetDialect,
cdmVersion = cdmVersion)
writePrimaryKeys(targetDialect = targetDialect,
CommonDataModel::writePrimaryKeys(targetDialect = targetDialect,
cdmVersion = cdmVersion)
writeForeignKeys(targetDialect = targetDialect,
CommonDataModel::writeForeignKeys(targetDialect = targetDialect,
cdmVersion = cdmVersion)
writeIndex(targetDialect = targetDialect,
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()