@@ -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,