From 89a5d953abd9bffd43eaf0b6a957d98bdcac9225 Mon Sep 17 00:00:00 2001 From: Thorsten Rinne Date: Wed, 23 Oct 2024 07:40:03 +0200 Subject: [PATCH] fix: added missing backup table for verified imports --- phpmyfaq/src/phpMyFAQ/Database/Mysqli.php | 1 + phpmyfaq/src/phpMyFAQ/Database/Pgsql.php | 1 + phpmyfaq/src/phpMyFAQ/Database/Sqlite3.php | 1 + phpmyfaq/src/phpMyFAQ/Database/Sqlsrv.php | 1 + 4 files changed, 4 insertions(+) diff --git a/phpmyfaq/src/phpMyFAQ/Database/Mysqli.php b/phpmyfaq/src/phpMyFAQ/Database/Mysqli.php index cfaafaddc9..3e96e28788 100644 --- a/phpmyfaq/src/phpMyFAQ/Database/Mysqli.php +++ b/phpmyfaq/src/phpMyFAQ/Database/Mysqli.php @@ -213,6 +213,7 @@ public function getTableNames(string $prefix = ''): array $prefix . 'faqadminlog', $prefix . 'faqattachment', $prefix . 'faqattachment_file', + $prefix . 'faqbackup', $prefix . 'faqcaptcha', $prefix . 'faqcategories', $prefix . 'faqcategoryrelations', diff --git a/phpmyfaq/src/phpMyFAQ/Database/Pgsql.php b/phpmyfaq/src/phpMyFAQ/Database/Pgsql.php index 56d2679638..d178832d33 100644 --- a/phpmyfaq/src/phpMyFAQ/Database/Pgsql.php +++ b/phpmyfaq/src/phpMyFAQ/Database/Pgsql.php @@ -273,6 +273,7 @@ public function getTableNames(string $prefix = ''): array $prefix . 'faqadminlog', $prefix . 'faqattachment', $prefix . 'faqattachment_file', + $prefix . 'faqbackup', $prefix . 'faqcaptcha', $prefix . 'faqcategories', $prefix . 'faqcategoryrelations', diff --git a/phpmyfaq/src/phpMyFAQ/Database/Sqlite3.php b/phpmyfaq/src/phpMyFAQ/Database/Sqlite3.php index 04bd72a5ec..bb4a0c67ce 100644 --- a/phpmyfaq/src/phpMyFAQ/Database/Sqlite3.php +++ b/phpmyfaq/src/phpMyFAQ/Database/Sqlite3.php @@ -230,6 +230,7 @@ public function getTableNames(string $prefix = ''): array $prefix . 'faqadminlog', $prefix . 'faqattachment', $prefix . 'faqattachment_file', + $prefix . 'faqbackup', $prefix . 'faqcaptcha', $prefix . 'faqcategories', $prefix . 'faqcategoryrelations', diff --git a/phpmyfaq/src/phpMyFAQ/Database/Sqlsrv.php b/phpmyfaq/src/phpMyFAQ/Database/Sqlsrv.php index 1679182aeb..5411d62903 100644 --- a/phpmyfaq/src/phpMyFAQ/Database/Sqlsrv.php +++ b/phpmyfaq/src/phpMyFAQ/Database/Sqlsrv.php @@ -275,6 +275,7 @@ public function getTableNames(string $prefix = ''): array $prefix . 'faqadminlog', $prefix . 'faqattachment', $prefix . 'faqattachment_file', + $prefix . 'faqbackup', $prefix . 'faqcaptcha', $prefix . 'faqcategories', $prefix . 'faqcategoryrelations',