Browse Source

Fix in default workspace_access line

master
Maxime Wack 6 years ago
parent
commit
1c9659ef6c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      R/workspace.R

+ 1
- 1
R/workspace.R View File

@@ -13,6 +13,6 @@ clear_default_workdata <- function(host = "", admin = "", pass = "")
purrr::walk(~clear_table("i2b2workdata", .x, host, admin, pass))

RPostgreSQL::dbConnect(RPostgreSQL::PostgreSQL(), host = host, dbname = "i2b2workdata", user = admin, password = pass) %>%
RPostgreSQL::dbGetQuery("INSERT INTO workplace_access values ('demo', 'WORKPLACE', 'N', '0', '@', '@', '@', 'N', '0',,'CA', '@', , , );")
RPostgreSQL::dbGetQuery("INSERT INTO workplace_access values ('demo', 'WORKPLACE', 'N', '0', '@', '@', '@', 'N', '0', NULL, 'CA', '@', NULL, NULL, NULL);")
}


Loading…
Cancel
Save