diff --git a/OpenVBX/config/database-sample.php b/OpenVBX/config/database-sample.php index 2b7c7dd5..cdcc8e90 100644 --- a/OpenVBX/config/database-sample.php +++ b/OpenVBX/config/database-sample.php @@ -46,6 +46,7 @@ $db["default"]["database"] = "OpenVBX"; $db["default"]["dbdriver"] = "mysql"; $db["default"]["dbprefix"] = ""; +$db["default"]["swap_pre"] = "{PRE}"; $db["default"]["pconnect"] = TRUE; $db["default"]["db_debug"] = TRUE; $db["default"]["cache_on"] = FALSE; diff --git a/updates/47.sql b/updates/47.sql index c0746078..7d72aca0 100644 --- a/updates/47.sql +++ b/updates/47.sql @@ -1,2 +1,2 @@ -UPDATE `settings` SET `value` = '0.91' WHERE `name` = 'version'; -UPDATE `settings` SET `value` = 47 WHERE `name` = 'schema-version'; +UPDATE `{PRE}settings` SET `value` = '0.91' WHERE `name` = 'version'; +UPDATE `{PRE}settings` SET `value` = 47 WHERE `name` = 'schema-version'; diff --git a/updates/48.sql b/updates/48.sql index 69a1ed38..2ecd9872 100644 --- a/updates/48.sql +++ b/updates/48.sql @@ -1,2 +1,2 @@ -UPDATE `settings` SET `value` = '0.92' WHERE `name` = 'version'; -UPDATE `settings` SET `value` = 48 WHERE `name` = 'schema-version'; +UPDATE `{PRE}settings` SET `value` = '0.92' WHERE `name` = 'version'; +UPDATE `{PRE}settings` SET `value` = 48 WHERE `name` = 'schema-version'; diff --git a/updates/51.sql b/updates/51.sql index 011171d8..26c50bb4 100644 --- a/updates/51.sql +++ b/updates/51.sql @@ -1,2 +1,2 @@ -UPDATE `settings` SET `value` = '1.0.2' WHERE `name` = 'version'; -UPDATE `settings` SET `value` = 51 WHERE `name` = 'schema-version'; \ No newline at end of file +UPDATE `{PRE}settings` SET `value` = '1.0.2' WHERE `name` = 'version'; +UPDATE `{PRE}settings` SET `value` = 51 WHERE `name` = 'schema-version'; \ No newline at end of file diff --git a/updates/52.sql b/updates/52.sql index af4f06ca..35930849 100644 --- a/updates/52.sql +++ b/updates/52.sql @@ -1,2 +1,2 @@ -UPDATE `settings` SET `value` = '1.0.3' WHERE `name` = 'version'; -UPDATE `settings` SET `value` = 52 WHERE `name` = 'schema-version'; \ No newline at end of file +UPDATE `{PRE}settings` SET `value` = '1.0.3' WHERE `name` = 'version'; +UPDATE `{PRE}settings` SET `value` = 52 WHERE `name` = 'schema-version'; \ No newline at end of file