From 182fac98f19c711f05338667643ce6f081ab46a9 Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Thu, 24 Feb 2022 18:27:57 +0100 Subject: [PATCH 1/2] Missed tables --- pandora_console/extras/mr/53.sql | 17 +++++++++++++++++ pandora_console/pandoradb.sql | 14 ++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 pandora_console/extras/mr/53.sql diff --git a/pandora_console/extras/mr/53.sql b/pandora_console/extras/mr/53.sql new file mode 100644 index 0000000000..cbf408f5f2 --- /dev/null +++ b/pandora_console/extras/mr/53.sql @@ -0,0 +1,17 @@ +START TRANSACTION; + +UPDATE `tuser_task` SET `parameters` = 'a:3:{i:0;a:2:{s:11:"description";s:11:"Description";s:4:"type";s:4:"text";}i:1;a:3:{s:11:"description";s:20:"Save to disk in path";s:4:"type";s:6:"string";s:13:"default_value";s:21:"_%_ATTACHMENT_PATH_%_";}i:2;a:3:{s:11:"description";s:14:"Active backups";s:4:"type";s:6:"number";s:13:"default_value";i:3;}}' WHERE `function_name` = 'cron_task_do_backup'; + +CREATE TABLE IF NOT EXISTS `tbackup` ( + `id` SERIAL, + `utimestamp` BIGINT DEFAULT 0, + `filename` VARCHAR(512) DEFAULT '', + `id_user` VARCHAR(60) DEFAULT '', + `description` MEDIUMTEXT, + `pid` INT UNSIGNED DEFAULT 0, + `filepath` VARCHAR(512) DEFAULT '', + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4; + + +COMMIT; \ No newline at end of file diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index a38e4510c0..2d8ef67584 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -4211,3 +4211,17 @@ CREATE TABLE IF NOT EXISTS `tncm_firmware` ( `path` TEXT, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4; + +-- ---------------------------------------------------------------------- +-- Table `tbackup` +-- ---------------------------------------------------------------------- +CREATE TABLE IF NOT EXISTS `tbackup` ( + `id` SERIAL, + `utimestamp` BIGINT DEFAULT 0, + `filename` VARCHAR(512) DEFAULT '', + `id_user` VARCHAR(60) DEFAULT '', + `description` MEDIUMTEXT, + `pid` INT UNSIGNED DEFAULT 0, + `filepath` VARCHAR(512) DEFAULT '', + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4; From 32c5396dd36c71c3f5c2881a0635a1e4b84fd70a Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Fri, 25 Feb 2022 14:12:12 +0100 Subject: [PATCH 2/2] cleaned files --- pandora_console/extras/delete_files/delete_files.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pandora_console/extras/delete_files/delete_files.txt b/pandora_console/extras/delete_files/delete_files.txt index 9cbab3b020..f7e065e3b0 100644 --- a/pandora_console/extras/delete_files/delete_files.txt +++ b/pandora_console/extras/delete_files/delete_files.txt @@ -119,4 +119,8 @@ godmode/admin_access_logs.php enterprise/extensions/backup/main.php enterprise/extensions/backup.php mobile/include/javascript/jquery.mobile-1.4.5.js -mobile/include/style/jquery.mobile-1.4.5.css \ No newline at end of file +mobile/include/style/jquery.mobile-1.4.5.css +enterprise/extensions/backup/backup.js +enterprise/extensions/backup/sql/backup.sql +enterprise/extensions/backup/sql/backup.oracle.sql +enterprise/extensions/backup/sql/backup.postgreSQL.sql \ No newline at end of file