Skip to content

Commit

Permalink
actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ablack3 committed Dec 9, 2023
1 parent 05950f8 commit 7dd8b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ get_cdm_schema <- function(dbms) {
return(s)
}

get_write_schema <- function(dbms, prefix = paste0("temp", as.integer(Sys.time()) %% 10000L, "_")) {
get_write_schema <- function(dbms, prefix = paste0("temp", floor(as.numeric(Sys.time())*100) %% 100000L, "_")) {
s <- switch (dbms,
"postgres" = Sys.getenv("CDM5_POSTGRESQL_SCRATCH_SCHEMA"),
"local" = Sys.getenv("LOCAL_POSTGRESQL_SCRATCH_SCHEMA"),
Expand Down

0 comments on commit 7dd8b59

Please sign in to comment.