Pārlūkot izejas kodu

Täiendus 'copy_gpkg_to_db'.

Ardo Kubjas 5 gadi atpakaļ
vecāks
revīzija
a0ebed1bff
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      R/copy_gpkg_to_db.R

+ 1 - 0
R/copy_gpkg_to_db.R

@@ -50,6 +50,7 @@ copy_gpkg_to_db <- function(gpkg = NULL, layer = NULL, conf = NULL) {
   algorithm <- "qgis:importintopostgis"
   # cat(qgisprocess::qgis_show_help(algorithm = algorithm))
   # qgisprocess::qgis_outputs(algorithm = algorithm)
+  ruut::db_create_new_schema(conf)
   result <- qgisprocess::qgis_run_algorithm(
     algorithm = algorithm,
     CREATEINDEX = 1,