From d17a4c3e2ef75022238cfd1f532b872aaf5a23e4 Mon Sep 17 00:00:00 2001 From: Adam Black Date: Fri, 20 Aug 2021 12:05:15 -0400 Subject: [PATCH] move ddl folder to inst so it is accessible from tests --- R/buildRelease.R | 6 +++--- .../ddl}/5.3/bigquery/OMOPCDM_bigquery_5.3_constraints.sql | 0 {ddl => inst/ddl}/5.3/bigquery/OMOPCDM_bigquery_5.3_ddl.sql | 0 .../ddl}/5.3/bigquery/OMOPCDM_bigquery_5.3_indices.sql | 0 .../ddl}/5.3/bigquery/OMOPCDM_bigquery_5.3_primary_keys.sql | 0 .../ddl}/5.3/impala/OMOPCDM_impala_5.3_constraints.sql | 0 {ddl => inst/ddl}/5.3/impala/OMOPCDM_impala_5.3_ddl.sql | 0 {ddl => inst/ddl}/5.3/impala/OMOPCDM_impala_5.3_indices.sql | 0 .../ddl}/5.3/impala/OMOPCDM_impala_5.3_primary_keys.sql | 0 .../ddl}/5.3/netezza/OMOPCDM_netezza_5.3_constraints.sql | 0 {ddl => inst/ddl}/5.3/netezza/OMOPCDM_netezza_5.3_ddl.sql | 0 .../ddl}/5.3/netezza/OMOPCDM_netezza_5.3_indices.sql | 0 .../ddl}/5.3/netezza/OMOPCDM_netezza_5.3_primary_keys.sql | 0 .../ddl}/5.3/oracle/OMOPCDM_oracle_5.3_constraints.sql | 0 {ddl => inst/ddl}/5.3/oracle/OMOPCDM_oracle_5.3_ddl.sql | 0 {ddl => inst/ddl}/5.3/oracle/OMOPCDM_oracle_5.3_indices.sql | 0 .../ddl}/5.3/oracle/OMOPCDM_oracle_5.3_primary_keys.sql | 0 {ddl => inst/ddl}/5.3/pdw/OMOPCDM_pdw_5.3_constraints.sql | 0 {ddl => inst/ddl}/5.3/pdw/OMOPCDM_pdw_5.3_ddl.sql | 0 {ddl => inst/ddl}/5.3/pdw/OMOPCDM_pdw_5.3_indices.sql | 0 {ddl => inst/ddl}/5.3/pdw/OMOPCDM_pdw_5.3_primary_keys.sql | 0 .../5.3/postgresql/OMOPCDM_postgresql_5.3_constraints.sql | 0 .../ddl}/5.3/postgresql/OMOPCDM_postgresql_5.3_ddl.sql | 0 .../ddl}/5.3/postgresql/OMOPCDM_postgresql_5.3_indices.sql | 0 .../5.3/postgresql/OMOPCDM_postgresql_5.3_primary_keys.sql | 0 .../ddl}/5.3/redshift/OMOPCDM_redshift_5.3_constraints.sql | 0 {ddl => inst/ddl}/5.3/redshift/OMOPCDM_redshift_5.3_ddl.sql | 0 .../ddl}/5.3/redshift/OMOPCDM_redshift_5.3_indices.sql | 0 .../ddl}/5.3/redshift/OMOPCDM_redshift_5.3_primary_keys.sql | 0 .../5.3/sql_server/OMOPCDM_sql_server_5.3_constraints.sql | 0 .../ddl}/5.3/sql_server/OMOPCDM_sql_server_5.3_ddl.sql | 0 .../ddl}/5.3/sql_server/OMOPCDM_sql_server_5.3_indices.sql | 0 .../5.3/sql_server/OMOPCDM_sql_server_5.3_primary_keys.sql | 0 .../ddl}/5.4/bigquery/OMOPCDM_bigquery_5.4_constraints.sql | 0 {ddl => inst/ddl}/5.4/bigquery/OMOPCDM_bigquery_5.4_ddl.sql | 0 .../ddl}/5.4/bigquery/OMOPCDM_bigquery_5.4_indices.sql | 0 .../ddl}/5.4/bigquery/OMOPCDM_bigquery_5.4_primary_keys.sql | 0 .../ddl}/5.4/impala/OMOPCDM_impala_5.4_constraints.sql | 0 {ddl => inst/ddl}/5.4/impala/OMOPCDM_impala_5.4_ddl.sql | 0 {ddl => inst/ddl}/5.4/impala/OMOPCDM_impala_5.4_indices.sql | 0 .../ddl}/5.4/impala/OMOPCDM_impala_5.4_primary_keys.sql | 0 .../ddl}/5.4/netezza/OMOPCDM_netezza_5.4_constraints.sql | 0 {ddl => inst/ddl}/5.4/netezza/OMOPCDM_netezza_5.4_ddl.sql | 0 .../ddl}/5.4/netezza/OMOPCDM_netezza_5.4_indices.sql | 0 .../ddl}/5.4/netezza/OMOPCDM_netezza_5.4_primary_keys.sql | 0 .../ddl}/5.4/oracle/OMOPCDM_oracle_5.4_constraints.sql | 0 {ddl => inst/ddl}/5.4/oracle/OMOPCDM_oracle_5.4_ddl.sql | 0 {ddl => inst/ddl}/5.4/oracle/OMOPCDM_oracle_5.4_indices.sql | 0 .../ddl}/5.4/oracle/OMOPCDM_oracle_5.4_primary_keys.sql | 0 {ddl => inst/ddl}/5.4/pdw/OMOPCDM_pdw_5.4_constraints.sql | 0 {ddl => inst/ddl}/5.4/pdw/OMOPCDM_pdw_5.4_ddl.sql | 0 {ddl => inst/ddl}/5.4/pdw/OMOPCDM_pdw_5.4_indices.sql | 0 {ddl => inst/ddl}/5.4/pdw/OMOPCDM_pdw_5.4_primary_keys.sql | 0 .../5.4/postgresql/OMOPCDM_postgresql_5.4_constraints.sql | 0 .../ddl}/5.4/postgresql/OMOPCDM_postgresql_5.4_ddl.sql | 0 .../ddl}/5.4/postgresql/OMOPCDM_postgresql_5.4_indices.sql | 0 .../5.4/postgresql/OMOPCDM_postgresql_5.4_primary_keys.sql | 0 .../ddl}/5.4/redshift/OMOPCDM_redshift_5.4_constraints.sql | 0 {ddl => inst/ddl}/5.4/redshift/OMOPCDM_redshift_5.4_ddl.sql | 0 .../ddl}/5.4/redshift/OMOPCDM_redshift_5.4_indices.sql | 0 .../ddl}/5.4/redshift/OMOPCDM_redshift_5.4_primary_keys.sql | 0 .../5.4/sql_server/OMOPCDM_sql_server_5.4_constraints.sql | 0 .../ddl}/5.4/sql_server/OMOPCDM_sql_server_5.4_ddl.sql | 0 .../ddl}/5.4/sql_server/OMOPCDM_sql_server_5.4_indices.sql | 0 .../5.4/sql_server/OMOPCDM_sql_server_5.4_primary_keys.sql | 0 65 files changed, 3 insertions(+), 3 deletions(-) rename {ddl => inst/ddl}/5.3/bigquery/OMOPCDM_bigquery_5.3_constraints.sql (100%) rename {ddl => inst/ddl}/5.3/bigquery/OMOPCDM_bigquery_5.3_ddl.sql (100%) rename {ddl => inst/ddl}/5.3/bigquery/OMOPCDM_bigquery_5.3_indices.sql (100%) rename {ddl => inst/ddl}/5.3/bigquery/OMOPCDM_bigquery_5.3_primary_keys.sql (100%) rename {ddl => inst/ddl}/5.3/impala/OMOPCDM_impala_5.3_constraints.sql (100%) rename {ddl => inst/ddl}/5.3/impala/OMOPCDM_impala_5.3_ddl.sql (100%) rename {ddl => inst/ddl}/5.3/impala/OMOPCDM_impala_5.3_indices.sql (100%) rename {ddl => inst/ddl}/5.3/impala/OMOPCDM_impala_5.3_primary_keys.sql (100%) rename {ddl => inst/ddl}/5.3/netezza/OMOPCDM_netezza_5.3_constraints.sql (100%) rename {ddl => inst/ddl}/5.3/netezza/OMOPCDM_netezza_5.3_ddl.sql (100%) rename {ddl => inst/ddl}/5.3/netezza/OMOPCDM_netezza_5.3_indices.sql (100%) rename {ddl => inst/ddl}/5.3/netezza/OMOPCDM_netezza_5.3_primary_keys.sql (100%) rename {ddl => inst/ddl}/5.3/oracle/OMOPCDM_oracle_5.3_constraints.sql (100%) rename {ddl => inst/ddl}/5.3/oracle/OMOPCDM_oracle_5.3_ddl.sql (100%) rename {ddl => inst/ddl}/5.3/oracle/OMOPCDM_oracle_5.3_indices.sql (100%) rename {ddl => inst/ddl}/5.3/oracle/OMOPCDM_oracle_5.3_primary_keys.sql (100%) rename {ddl => inst/ddl}/5.3/pdw/OMOPCDM_pdw_5.3_constraints.sql (100%) rename {ddl => inst/ddl}/5.3/pdw/OMOPCDM_pdw_5.3_ddl.sql (100%) rename {ddl => inst/ddl}/5.3/pdw/OMOPCDM_pdw_5.3_indices.sql (100%) rename {ddl => inst/ddl}/5.3/pdw/OMOPCDM_pdw_5.3_primary_keys.sql (100%) rename {ddl => inst/ddl}/5.3/postgresql/OMOPCDM_postgresql_5.3_constraints.sql (100%) rename {ddl => inst/ddl}/5.3/postgresql/OMOPCDM_postgresql_5.3_ddl.sql (100%) rename {ddl => inst/ddl}/5.3/postgresql/OMOPCDM_postgresql_5.3_indices.sql (100%) rename {ddl => inst/ddl}/5.3/postgresql/OMOPCDM_postgresql_5.3_primary_keys.sql (100%) rename {ddl => inst/ddl}/5.3/redshift/OMOPCDM_redshift_5.3_constraints.sql (100%) rename {ddl => inst/ddl}/5.3/redshift/OMOPCDM_redshift_5.3_ddl.sql (100%) rename {ddl => inst/ddl}/5.3/redshift/OMOPCDM_redshift_5.3_indices.sql (100%) rename {ddl => inst/ddl}/5.3/redshift/OMOPCDM_redshift_5.3_primary_keys.sql (100%) rename {ddl => inst/ddl}/5.3/sql_server/OMOPCDM_sql_server_5.3_constraints.sql (100%) rename {ddl => inst/ddl}/5.3/sql_server/OMOPCDM_sql_server_5.3_ddl.sql (100%) rename {ddl => inst/ddl}/5.3/sql_server/OMOPCDM_sql_server_5.3_indices.sql (100%) rename {ddl => inst/ddl}/5.3/sql_server/OMOPCDM_sql_server_5.3_primary_keys.sql (100%) rename {ddl => inst/ddl}/5.4/bigquery/OMOPCDM_bigquery_5.4_constraints.sql (100%) rename {ddl => inst/ddl}/5.4/bigquery/OMOPCDM_bigquery_5.4_ddl.sql (100%) rename {ddl => inst/ddl}/5.4/bigquery/OMOPCDM_bigquery_5.4_indices.sql (100%) rename {ddl => inst/ddl}/5.4/bigquery/OMOPCDM_bigquery_5.4_primary_keys.sql (100%) rename {ddl => inst/ddl}/5.4/impala/OMOPCDM_impala_5.4_constraints.sql (100%) rename {ddl => inst/ddl}/5.4/impala/OMOPCDM_impala_5.4_ddl.sql (100%) rename {ddl => inst/ddl}/5.4/impala/OMOPCDM_impala_5.4_indices.sql (100%) rename {ddl => inst/ddl}/5.4/impala/OMOPCDM_impala_5.4_primary_keys.sql (100%) rename {ddl => inst/ddl}/5.4/netezza/OMOPCDM_netezza_5.4_constraints.sql (100%) rename {ddl => inst/ddl}/5.4/netezza/OMOPCDM_netezza_5.4_ddl.sql (100%) rename {ddl => inst/ddl}/5.4/netezza/OMOPCDM_netezza_5.4_indices.sql (100%) rename {ddl => inst/ddl}/5.4/netezza/OMOPCDM_netezza_5.4_primary_keys.sql (100%) rename {ddl => inst/ddl}/5.4/oracle/OMOPCDM_oracle_5.4_constraints.sql (100%) rename {ddl => inst/ddl}/5.4/oracle/OMOPCDM_oracle_5.4_ddl.sql (100%) rename {ddl => inst/ddl}/5.4/oracle/OMOPCDM_oracle_5.4_indices.sql (100%) rename {ddl => inst/ddl}/5.4/oracle/OMOPCDM_oracle_5.4_primary_keys.sql (100%) rename {ddl => inst/ddl}/5.4/pdw/OMOPCDM_pdw_5.4_constraints.sql (100%) rename {ddl => inst/ddl}/5.4/pdw/OMOPCDM_pdw_5.4_ddl.sql (100%) rename {ddl => inst/ddl}/5.4/pdw/OMOPCDM_pdw_5.4_indices.sql (100%) rename {ddl => inst/ddl}/5.4/pdw/OMOPCDM_pdw_5.4_primary_keys.sql (100%) rename {ddl => inst/ddl}/5.4/postgresql/OMOPCDM_postgresql_5.4_constraints.sql (100%) rename {ddl => inst/ddl}/5.4/postgresql/OMOPCDM_postgresql_5.4_ddl.sql (100%) rename {ddl => inst/ddl}/5.4/postgresql/OMOPCDM_postgresql_5.4_indices.sql (100%) rename {ddl => inst/ddl}/5.4/postgresql/OMOPCDM_postgresql_5.4_primary_keys.sql (100%) rename {ddl => inst/ddl}/5.4/redshift/OMOPCDM_redshift_5.4_constraints.sql (100%) rename {ddl => inst/ddl}/5.4/redshift/OMOPCDM_redshift_5.4_ddl.sql (100%) rename {ddl => inst/ddl}/5.4/redshift/OMOPCDM_redshift_5.4_indices.sql (100%) rename {ddl => inst/ddl}/5.4/redshift/OMOPCDM_redshift_5.4_primary_keys.sql (100%) rename {ddl => inst/ddl}/5.4/sql_server/OMOPCDM_sql_server_5.4_constraints.sql (100%) rename {ddl => inst/ddl}/5.4/sql_server/OMOPCDM_sql_server_5.4_ddl.sql (100%) rename {ddl => inst/ddl}/5.4/sql_server/OMOPCDM_sql_server_5.4_indices.sql (100%) rename {ddl => inst/ddl}/5.4/sql_server/OMOPCDM_sql_server_5.4_primary_keys.sql (100%) diff --git a/R/buildRelease.R b/R/buildRelease.R index 73cae9b..15dae6b 100644 --- a/R/buildRelease.R +++ b/R/buildRelease.R @@ -25,10 +25,10 @@ #' Defaults to all supported dialects. #' @param outputfolder The base folder where the SQL files will be written. #' Subfolders will be created for each cdmVersion and targetDialect. -#' +#' @export buildRelease <- function(cdmVersions = listSupportedVersions(), targetDialects = listSupportedDialects(), - outputfolder = file.path(getwd(), "ddl")){ + outputfolder = file.path(getwd(), "inst", "ddl")){ basefolder <- outputfolder for (cdmVersion in cdmVersions) { for (targetDialect in targetDialects) { @@ -73,7 +73,7 @@ buildRelease <- function(cdmVersions = listSupportedVersions(), #' buildReleaseZip <- function(cdmVersion, targetDialect = listSupportedDialects(), - outputfolder = file.path(getwd(), "ddl")){ + outputfolder = file.path(getwd(), "inst", "ddl")){ # argument checks stopifnot(is.character(cdmVersion), length(cdmVersion) == 1, cdmVersion %in% listSupportedVersions()) diff --git a/ddl/5.3/bigquery/OMOPCDM_bigquery_5.3_constraints.sql b/inst/ddl/5.3/bigquery/OMOPCDM_bigquery_5.3_constraints.sql similarity index 100% rename from ddl/5.3/bigquery/OMOPCDM_bigquery_5.3_constraints.sql rename to inst/ddl/5.3/bigquery/OMOPCDM_bigquery_5.3_constraints.sql diff --git a/ddl/5.3/bigquery/OMOPCDM_bigquery_5.3_ddl.sql b/inst/ddl/5.3/bigquery/OMOPCDM_bigquery_5.3_ddl.sql similarity index 100% rename from ddl/5.3/bigquery/OMOPCDM_bigquery_5.3_ddl.sql rename to inst/ddl/5.3/bigquery/OMOPCDM_bigquery_5.3_ddl.sql diff --git a/ddl/5.3/bigquery/OMOPCDM_bigquery_5.3_indices.sql b/inst/ddl/5.3/bigquery/OMOPCDM_bigquery_5.3_indices.sql similarity index 100% rename from ddl/5.3/bigquery/OMOPCDM_bigquery_5.3_indices.sql rename to inst/ddl/5.3/bigquery/OMOPCDM_bigquery_5.3_indices.sql diff --git a/ddl/5.3/bigquery/OMOPCDM_bigquery_5.3_primary_keys.sql b/inst/ddl/5.3/bigquery/OMOPCDM_bigquery_5.3_primary_keys.sql similarity index 100% rename from ddl/5.3/bigquery/OMOPCDM_bigquery_5.3_primary_keys.sql rename to inst/ddl/5.3/bigquery/OMOPCDM_bigquery_5.3_primary_keys.sql diff --git a/ddl/5.3/impala/OMOPCDM_impala_5.3_constraints.sql b/inst/ddl/5.3/impala/OMOPCDM_impala_5.3_constraints.sql similarity index 100% rename from ddl/5.3/impala/OMOPCDM_impala_5.3_constraints.sql rename to inst/ddl/5.3/impala/OMOPCDM_impala_5.3_constraints.sql diff --git a/ddl/5.3/impala/OMOPCDM_impala_5.3_ddl.sql b/inst/ddl/5.3/impala/OMOPCDM_impala_5.3_ddl.sql similarity index 100% rename from ddl/5.3/impala/OMOPCDM_impala_5.3_ddl.sql rename to inst/ddl/5.3/impala/OMOPCDM_impala_5.3_ddl.sql diff --git a/ddl/5.3/impala/OMOPCDM_impala_5.3_indices.sql b/inst/ddl/5.3/impala/OMOPCDM_impala_5.3_indices.sql similarity index 100% rename from ddl/5.3/impala/OMOPCDM_impala_5.3_indices.sql rename to inst/ddl/5.3/impala/OMOPCDM_impala_5.3_indices.sql diff --git a/ddl/5.3/impala/OMOPCDM_impala_5.3_primary_keys.sql b/inst/ddl/5.3/impala/OMOPCDM_impala_5.3_primary_keys.sql similarity index 100% rename from ddl/5.3/impala/OMOPCDM_impala_5.3_primary_keys.sql rename to inst/ddl/5.3/impala/OMOPCDM_impala_5.3_primary_keys.sql diff --git a/ddl/5.3/netezza/OMOPCDM_netezza_5.3_constraints.sql b/inst/ddl/5.3/netezza/OMOPCDM_netezza_5.3_constraints.sql similarity index 100% rename from ddl/5.3/netezza/OMOPCDM_netezza_5.3_constraints.sql rename to inst/ddl/5.3/netezza/OMOPCDM_netezza_5.3_constraints.sql diff --git a/ddl/5.3/netezza/OMOPCDM_netezza_5.3_ddl.sql b/inst/ddl/5.3/netezza/OMOPCDM_netezza_5.3_ddl.sql similarity index 100% rename from ddl/5.3/netezza/OMOPCDM_netezza_5.3_ddl.sql rename to inst/ddl/5.3/netezza/OMOPCDM_netezza_5.3_ddl.sql diff --git a/ddl/5.3/netezza/OMOPCDM_netezza_5.3_indices.sql b/inst/ddl/5.3/netezza/OMOPCDM_netezza_5.3_indices.sql similarity index 100% rename from ddl/5.3/netezza/OMOPCDM_netezza_5.3_indices.sql rename to inst/ddl/5.3/netezza/OMOPCDM_netezza_5.3_indices.sql diff --git a/ddl/5.3/netezza/OMOPCDM_netezza_5.3_primary_keys.sql b/inst/ddl/5.3/netezza/OMOPCDM_netezza_5.3_primary_keys.sql similarity index 100% rename from ddl/5.3/netezza/OMOPCDM_netezza_5.3_primary_keys.sql rename to inst/ddl/5.3/netezza/OMOPCDM_netezza_5.3_primary_keys.sql diff --git a/ddl/5.3/oracle/OMOPCDM_oracle_5.3_constraints.sql b/inst/ddl/5.3/oracle/OMOPCDM_oracle_5.3_constraints.sql similarity index 100% rename from ddl/5.3/oracle/OMOPCDM_oracle_5.3_constraints.sql rename to inst/ddl/5.3/oracle/OMOPCDM_oracle_5.3_constraints.sql diff --git a/ddl/5.3/oracle/OMOPCDM_oracle_5.3_ddl.sql b/inst/ddl/5.3/oracle/OMOPCDM_oracle_5.3_ddl.sql similarity index 100% rename from ddl/5.3/oracle/OMOPCDM_oracle_5.3_ddl.sql rename to inst/ddl/5.3/oracle/OMOPCDM_oracle_5.3_ddl.sql diff --git a/ddl/5.3/oracle/OMOPCDM_oracle_5.3_indices.sql b/inst/ddl/5.3/oracle/OMOPCDM_oracle_5.3_indices.sql similarity index 100% rename from ddl/5.3/oracle/OMOPCDM_oracle_5.3_indices.sql rename to inst/ddl/5.3/oracle/OMOPCDM_oracle_5.3_indices.sql diff --git a/ddl/5.3/oracle/OMOPCDM_oracle_5.3_primary_keys.sql b/inst/ddl/5.3/oracle/OMOPCDM_oracle_5.3_primary_keys.sql similarity index 100% rename from ddl/5.3/oracle/OMOPCDM_oracle_5.3_primary_keys.sql rename to inst/ddl/5.3/oracle/OMOPCDM_oracle_5.3_primary_keys.sql diff --git a/ddl/5.3/pdw/OMOPCDM_pdw_5.3_constraints.sql b/inst/ddl/5.3/pdw/OMOPCDM_pdw_5.3_constraints.sql similarity index 100% rename from ddl/5.3/pdw/OMOPCDM_pdw_5.3_constraints.sql rename to inst/ddl/5.3/pdw/OMOPCDM_pdw_5.3_constraints.sql diff --git a/ddl/5.3/pdw/OMOPCDM_pdw_5.3_ddl.sql b/inst/ddl/5.3/pdw/OMOPCDM_pdw_5.3_ddl.sql similarity index 100% rename from ddl/5.3/pdw/OMOPCDM_pdw_5.3_ddl.sql rename to inst/ddl/5.3/pdw/OMOPCDM_pdw_5.3_ddl.sql diff --git a/ddl/5.3/pdw/OMOPCDM_pdw_5.3_indices.sql b/inst/ddl/5.3/pdw/OMOPCDM_pdw_5.3_indices.sql similarity index 100% rename from ddl/5.3/pdw/OMOPCDM_pdw_5.3_indices.sql rename to inst/ddl/5.3/pdw/OMOPCDM_pdw_5.3_indices.sql diff --git a/ddl/5.3/pdw/OMOPCDM_pdw_5.3_primary_keys.sql b/inst/ddl/5.3/pdw/OMOPCDM_pdw_5.3_primary_keys.sql similarity index 100% rename from ddl/5.3/pdw/OMOPCDM_pdw_5.3_primary_keys.sql rename to inst/ddl/5.3/pdw/OMOPCDM_pdw_5.3_primary_keys.sql diff --git a/ddl/5.3/postgresql/OMOPCDM_postgresql_5.3_constraints.sql b/inst/ddl/5.3/postgresql/OMOPCDM_postgresql_5.3_constraints.sql similarity index 100% rename from ddl/5.3/postgresql/OMOPCDM_postgresql_5.3_constraints.sql rename to inst/ddl/5.3/postgresql/OMOPCDM_postgresql_5.3_constraints.sql diff --git a/ddl/5.3/postgresql/OMOPCDM_postgresql_5.3_ddl.sql b/inst/ddl/5.3/postgresql/OMOPCDM_postgresql_5.3_ddl.sql similarity index 100% rename from ddl/5.3/postgresql/OMOPCDM_postgresql_5.3_ddl.sql rename to inst/ddl/5.3/postgresql/OMOPCDM_postgresql_5.3_ddl.sql diff --git a/ddl/5.3/postgresql/OMOPCDM_postgresql_5.3_indices.sql b/inst/ddl/5.3/postgresql/OMOPCDM_postgresql_5.3_indices.sql similarity index 100% rename from ddl/5.3/postgresql/OMOPCDM_postgresql_5.3_indices.sql rename to inst/ddl/5.3/postgresql/OMOPCDM_postgresql_5.3_indices.sql diff --git a/ddl/5.3/postgresql/OMOPCDM_postgresql_5.3_primary_keys.sql b/inst/ddl/5.3/postgresql/OMOPCDM_postgresql_5.3_primary_keys.sql similarity index 100% rename from ddl/5.3/postgresql/OMOPCDM_postgresql_5.3_primary_keys.sql rename to inst/ddl/5.3/postgresql/OMOPCDM_postgresql_5.3_primary_keys.sql diff --git a/ddl/5.3/redshift/OMOPCDM_redshift_5.3_constraints.sql b/inst/ddl/5.3/redshift/OMOPCDM_redshift_5.3_constraints.sql similarity index 100% rename from ddl/5.3/redshift/OMOPCDM_redshift_5.3_constraints.sql rename to inst/ddl/5.3/redshift/OMOPCDM_redshift_5.3_constraints.sql diff --git a/ddl/5.3/redshift/OMOPCDM_redshift_5.3_ddl.sql b/inst/ddl/5.3/redshift/OMOPCDM_redshift_5.3_ddl.sql similarity index 100% rename from ddl/5.3/redshift/OMOPCDM_redshift_5.3_ddl.sql rename to inst/ddl/5.3/redshift/OMOPCDM_redshift_5.3_ddl.sql diff --git a/ddl/5.3/redshift/OMOPCDM_redshift_5.3_indices.sql b/inst/ddl/5.3/redshift/OMOPCDM_redshift_5.3_indices.sql similarity index 100% rename from ddl/5.3/redshift/OMOPCDM_redshift_5.3_indices.sql rename to inst/ddl/5.3/redshift/OMOPCDM_redshift_5.3_indices.sql diff --git a/ddl/5.3/redshift/OMOPCDM_redshift_5.3_primary_keys.sql b/inst/ddl/5.3/redshift/OMOPCDM_redshift_5.3_primary_keys.sql similarity index 100% rename from ddl/5.3/redshift/OMOPCDM_redshift_5.3_primary_keys.sql rename to inst/ddl/5.3/redshift/OMOPCDM_redshift_5.3_primary_keys.sql diff --git a/ddl/5.3/sql_server/OMOPCDM_sql_server_5.3_constraints.sql b/inst/ddl/5.3/sql_server/OMOPCDM_sql_server_5.3_constraints.sql similarity index 100% rename from ddl/5.3/sql_server/OMOPCDM_sql_server_5.3_constraints.sql rename to inst/ddl/5.3/sql_server/OMOPCDM_sql_server_5.3_constraints.sql diff --git a/ddl/5.3/sql_server/OMOPCDM_sql_server_5.3_ddl.sql b/inst/ddl/5.3/sql_server/OMOPCDM_sql_server_5.3_ddl.sql similarity index 100% rename from ddl/5.3/sql_server/OMOPCDM_sql_server_5.3_ddl.sql rename to inst/ddl/5.3/sql_server/OMOPCDM_sql_server_5.3_ddl.sql diff --git a/ddl/5.3/sql_server/OMOPCDM_sql_server_5.3_indices.sql b/inst/ddl/5.3/sql_server/OMOPCDM_sql_server_5.3_indices.sql similarity index 100% rename from ddl/5.3/sql_server/OMOPCDM_sql_server_5.3_indices.sql rename to inst/ddl/5.3/sql_server/OMOPCDM_sql_server_5.3_indices.sql diff --git a/ddl/5.3/sql_server/OMOPCDM_sql_server_5.3_primary_keys.sql b/inst/ddl/5.3/sql_server/OMOPCDM_sql_server_5.3_primary_keys.sql similarity index 100% rename from ddl/5.3/sql_server/OMOPCDM_sql_server_5.3_primary_keys.sql rename to inst/ddl/5.3/sql_server/OMOPCDM_sql_server_5.3_primary_keys.sql diff --git a/ddl/5.4/bigquery/OMOPCDM_bigquery_5.4_constraints.sql b/inst/ddl/5.4/bigquery/OMOPCDM_bigquery_5.4_constraints.sql similarity index 100% rename from ddl/5.4/bigquery/OMOPCDM_bigquery_5.4_constraints.sql rename to inst/ddl/5.4/bigquery/OMOPCDM_bigquery_5.4_constraints.sql diff --git a/ddl/5.4/bigquery/OMOPCDM_bigquery_5.4_ddl.sql b/inst/ddl/5.4/bigquery/OMOPCDM_bigquery_5.4_ddl.sql similarity index 100% rename from ddl/5.4/bigquery/OMOPCDM_bigquery_5.4_ddl.sql rename to inst/ddl/5.4/bigquery/OMOPCDM_bigquery_5.4_ddl.sql diff --git a/ddl/5.4/bigquery/OMOPCDM_bigquery_5.4_indices.sql b/inst/ddl/5.4/bigquery/OMOPCDM_bigquery_5.4_indices.sql similarity index 100% rename from ddl/5.4/bigquery/OMOPCDM_bigquery_5.4_indices.sql rename to inst/ddl/5.4/bigquery/OMOPCDM_bigquery_5.4_indices.sql diff --git a/ddl/5.4/bigquery/OMOPCDM_bigquery_5.4_primary_keys.sql b/inst/ddl/5.4/bigquery/OMOPCDM_bigquery_5.4_primary_keys.sql similarity index 100% rename from ddl/5.4/bigquery/OMOPCDM_bigquery_5.4_primary_keys.sql rename to inst/ddl/5.4/bigquery/OMOPCDM_bigquery_5.4_primary_keys.sql diff --git a/ddl/5.4/impala/OMOPCDM_impala_5.4_constraints.sql b/inst/ddl/5.4/impala/OMOPCDM_impala_5.4_constraints.sql similarity index 100% rename from ddl/5.4/impala/OMOPCDM_impala_5.4_constraints.sql rename to inst/ddl/5.4/impala/OMOPCDM_impala_5.4_constraints.sql diff --git a/ddl/5.4/impala/OMOPCDM_impala_5.4_ddl.sql b/inst/ddl/5.4/impala/OMOPCDM_impala_5.4_ddl.sql similarity index 100% rename from ddl/5.4/impala/OMOPCDM_impala_5.4_ddl.sql rename to inst/ddl/5.4/impala/OMOPCDM_impala_5.4_ddl.sql diff --git a/ddl/5.4/impala/OMOPCDM_impala_5.4_indices.sql b/inst/ddl/5.4/impala/OMOPCDM_impala_5.4_indices.sql similarity index 100% rename from ddl/5.4/impala/OMOPCDM_impala_5.4_indices.sql rename to inst/ddl/5.4/impala/OMOPCDM_impala_5.4_indices.sql diff --git a/ddl/5.4/impala/OMOPCDM_impala_5.4_primary_keys.sql b/inst/ddl/5.4/impala/OMOPCDM_impala_5.4_primary_keys.sql similarity index 100% rename from ddl/5.4/impala/OMOPCDM_impala_5.4_primary_keys.sql rename to inst/ddl/5.4/impala/OMOPCDM_impala_5.4_primary_keys.sql diff --git a/ddl/5.4/netezza/OMOPCDM_netezza_5.4_constraints.sql b/inst/ddl/5.4/netezza/OMOPCDM_netezza_5.4_constraints.sql similarity index 100% rename from ddl/5.4/netezza/OMOPCDM_netezza_5.4_constraints.sql rename to inst/ddl/5.4/netezza/OMOPCDM_netezza_5.4_constraints.sql diff --git a/ddl/5.4/netezza/OMOPCDM_netezza_5.4_ddl.sql b/inst/ddl/5.4/netezza/OMOPCDM_netezza_5.4_ddl.sql similarity index 100% rename from ddl/5.4/netezza/OMOPCDM_netezza_5.4_ddl.sql rename to inst/ddl/5.4/netezza/OMOPCDM_netezza_5.4_ddl.sql diff --git a/ddl/5.4/netezza/OMOPCDM_netezza_5.4_indices.sql b/inst/ddl/5.4/netezza/OMOPCDM_netezza_5.4_indices.sql similarity index 100% rename from ddl/5.4/netezza/OMOPCDM_netezza_5.4_indices.sql rename to inst/ddl/5.4/netezza/OMOPCDM_netezza_5.4_indices.sql diff --git a/ddl/5.4/netezza/OMOPCDM_netezza_5.4_primary_keys.sql b/inst/ddl/5.4/netezza/OMOPCDM_netezza_5.4_primary_keys.sql similarity index 100% rename from ddl/5.4/netezza/OMOPCDM_netezza_5.4_primary_keys.sql rename to inst/ddl/5.4/netezza/OMOPCDM_netezza_5.4_primary_keys.sql diff --git a/ddl/5.4/oracle/OMOPCDM_oracle_5.4_constraints.sql b/inst/ddl/5.4/oracle/OMOPCDM_oracle_5.4_constraints.sql similarity index 100% rename from ddl/5.4/oracle/OMOPCDM_oracle_5.4_constraints.sql rename to inst/ddl/5.4/oracle/OMOPCDM_oracle_5.4_constraints.sql diff --git a/ddl/5.4/oracle/OMOPCDM_oracle_5.4_ddl.sql b/inst/ddl/5.4/oracle/OMOPCDM_oracle_5.4_ddl.sql similarity index 100% rename from ddl/5.4/oracle/OMOPCDM_oracle_5.4_ddl.sql rename to inst/ddl/5.4/oracle/OMOPCDM_oracle_5.4_ddl.sql diff --git a/ddl/5.4/oracle/OMOPCDM_oracle_5.4_indices.sql b/inst/ddl/5.4/oracle/OMOPCDM_oracle_5.4_indices.sql similarity index 100% rename from ddl/5.4/oracle/OMOPCDM_oracle_5.4_indices.sql rename to inst/ddl/5.4/oracle/OMOPCDM_oracle_5.4_indices.sql diff --git a/ddl/5.4/oracle/OMOPCDM_oracle_5.4_primary_keys.sql b/inst/ddl/5.4/oracle/OMOPCDM_oracle_5.4_primary_keys.sql similarity index 100% rename from ddl/5.4/oracle/OMOPCDM_oracle_5.4_primary_keys.sql rename to inst/ddl/5.4/oracle/OMOPCDM_oracle_5.4_primary_keys.sql diff --git a/ddl/5.4/pdw/OMOPCDM_pdw_5.4_constraints.sql b/inst/ddl/5.4/pdw/OMOPCDM_pdw_5.4_constraints.sql similarity index 100% rename from ddl/5.4/pdw/OMOPCDM_pdw_5.4_constraints.sql rename to inst/ddl/5.4/pdw/OMOPCDM_pdw_5.4_constraints.sql diff --git a/ddl/5.4/pdw/OMOPCDM_pdw_5.4_ddl.sql b/inst/ddl/5.4/pdw/OMOPCDM_pdw_5.4_ddl.sql similarity index 100% rename from ddl/5.4/pdw/OMOPCDM_pdw_5.4_ddl.sql rename to inst/ddl/5.4/pdw/OMOPCDM_pdw_5.4_ddl.sql diff --git a/ddl/5.4/pdw/OMOPCDM_pdw_5.4_indices.sql b/inst/ddl/5.4/pdw/OMOPCDM_pdw_5.4_indices.sql similarity index 100% rename from ddl/5.4/pdw/OMOPCDM_pdw_5.4_indices.sql rename to inst/ddl/5.4/pdw/OMOPCDM_pdw_5.4_indices.sql diff --git a/ddl/5.4/pdw/OMOPCDM_pdw_5.4_primary_keys.sql b/inst/ddl/5.4/pdw/OMOPCDM_pdw_5.4_primary_keys.sql similarity index 100% rename from ddl/5.4/pdw/OMOPCDM_pdw_5.4_primary_keys.sql rename to inst/ddl/5.4/pdw/OMOPCDM_pdw_5.4_primary_keys.sql diff --git a/ddl/5.4/postgresql/OMOPCDM_postgresql_5.4_constraints.sql b/inst/ddl/5.4/postgresql/OMOPCDM_postgresql_5.4_constraints.sql similarity index 100% rename from ddl/5.4/postgresql/OMOPCDM_postgresql_5.4_constraints.sql rename to inst/ddl/5.4/postgresql/OMOPCDM_postgresql_5.4_constraints.sql diff --git a/ddl/5.4/postgresql/OMOPCDM_postgresql_5.4_ddl.sql b/inst/ddl/5.4/postgresql/OMOPCDM_postgresql_5.4_ddl.sql similarity index 100% rename from ddl/5.4/postgresql/OMOPCDM_postgresql_5.4_ddl.sql rename to inst/ddl/5.4/postgresql/OMOPCDM_postgresql_5.4_ddl.sql diff --git a/ddl/5.4/postgresql/OMOPCDM_postgresql_5.4_indices.sql b/inst/ddl/5.4/postgresql/OMOPCDM_postgresql_5.4_indices.sql similarity index 100% rename from ddl/5.4/postgresql/OMOPCDM_postgresql_5.4_indices.sql rename to inst/ddl/5.4/postgresql/OMOPCDM_postgresql_5.4_indices.sql diff --git a/ddl/5.4/postgresql/OMOPCDM_postgresql_5.4_primary_keys.sql b/inst/ddl/5.4/postgresql/OMOPCDM_postgresql_5.4_primary_keys.sql similarity index 100% rename from ddl/5.4/postgresql/OMOPCDM_postgresql_5.4_primary_keys.sql rename to inst/ddl/5.4/postgresql/OMOPCDM_postgresql_5.4_primary_keys.sql diff --git a/ddl/5.4/redshift/OMOPCDM_redshift_5.4_constraints.sql b/inst/ddl/5.4/redshift/OMOPCDM_redshift_5.4_constraints.sql similarity index 100% rename from ddl/5.4/redshift/OMOPCDM_redshift_5.4_constraints.sql rename to inst/ddl/5.4/redshift/OMOPCDM_redshift_5.4_constraints.sql diff --git a/ddl/5.4/redshift/OMOPCDM_redshift_5.4_ddl.sql b/inst/ddl/5.4/redshift/OMOPCDM_redshift_5.4_ddl.sql similarity index 100% rename from ddl/5.4/redshift/OMOPCDM_redshift_5.4_ddl.sql rename to inst/ddl/5.4/redshift/OMOPCDM_redshift_5.4_ddl.sql diff --git a/ddl/5.4/redshift/OMOPCDM_redshift_5.4_indices.sql b/inst/ddl/5.4/redshift/OMOPCDM_redshift_5.4_indices.sql similarity index 100% rename from ddl/5.4/redshift/OMOPCDM_redshift_5.4_indices.sql rename to inst/ddl/5.4/redshift/OMOPCDM_redshift_5.4_indices.sql diff --git a/ddl/5.4/redshift/OMOPCDM_redshift_5.4_primary_keys.sql b/inst/ddl/5.4/redshift/OMOPCDM_redshift_5.4_primary_keys.sql similarity index 100% rename from ddl/5.4/redshift/OMOPCDM_redshift_5.4_primary_keys.sql rename to inst/ddl/5.4/redshift/OMOPCDM_redshift_5.4_primary_keys.sql diff --git a/ddl/5.4/sql_server/OMOPCDM_sql_server_5.4_constraints.sql b/inst/ddl/5.4/sql_server/OMOPCDM_sql_server_5.4_constraints.sql similarity index 100% rename from ddl/5.4/sql_server/OMOPCDM_sql_server_5.4_constraints.sql rename to inst/ddl/5.4/sql_server/OMOPCDM_sql_server_5.4_constraints.sql diff --git a/ddl/5.4/sql_server/OMOPCDM_sql_server_5.4_ddl.sql b/inst/ddl/5.4/sql_server/OMOPCDM_sql_server_5.4_ddl.sql similarity index 100% rename from ddl/5.4/sql_server/OMOPCDM_sql_server_5.4_ddl.sql rename to inst/ddl/5.4/sql_server/OMOPCDM_sql_server_5.4_ddl.sql diff --git a/ddl/5.4/sql_server/OMOPCDM_sql_server_5.4_indices.sql b/inst/ddl/5.4/sql_server/OMOPCDM_sql_server_5.4_indices.sql similarity index 100% rename from ddl/5.4/sql_server/OMOPCDM_sql_server_5.4_indices.sql rename to inst/ddl/5.4/sql_server/OMOPCDM_sql_server_5.4_indices.sql diff --git a/ddl/5.4/sql_server/OMOPCDM_sql_server_5.4_primary_keys.sql b/inst/ddl/5.4/sql_server/OMOPCDM_sql_server_5.4_primary_keys.sql similarity index 100% rename from ddl/5.4/sql_server/OMOPCDM_sql_server_5.4_primary_keys.sql rename to inst/ddl/5.4/sql_server/OMOPCDM_sql_server_5.4_primary_keys.sql