Compare commits

..

2 Commits

Author SHA1 Message Date
Costa f2f8f12855 Correct workflow to merge.
Merge branch 'main' of https://git.ratg.cat/marcelcosta/BDAccess

# Conflicts:
#	workflow.R
2022-01-24 15:20:56 +01:00
Costa 3f927a5364 Start changes to both OV and UM. 2021-11-15 17:40:00 +01:00
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ sqlInitialize<-function(){
source("ruta_database.R", encoding = "UTF-8")
}
sqlBackUp<-function(dbfile=file,bu.dir="BU_OVARIO"){
sqlBackUp<-function(dbfile=file,bu.dir){
db=strsplit(dbfile, "/")[[1]]%>% tail(n=1)
bu_path<-gsub(db,bu.dir,dbfile)
if (!dir.exists(bu_path)){
+3
View File
@@ -3,6 +3,9 @@ source("sqlFunctions.R")
# Cargar dependencias
sqlInitialize()
## Asegurarse de que la variable file sea la que nos corresponde:
file
# Crear copia de seguridad
sqlBackUp()