Przeglądaj źródła

Handle the upgrade process too!

Signed-off-by: Suki <[email protected]>
Suki 10 lat temu
rodzic
commit
26aac2586e

+ 4 - 0
other/upgrade_2-1_mysql.sql

@@ -61,6 +61,10 @@ if (!isset($modSettings['allow_no_censored']))
 INSERT INTO {$db_prefix}settings (variable, value) VALUES ('topic_move_any', '1');
 ---#
 
+---# Adding new "browser_cache" setting
+INSERT INTO {$db_prefix}settings (variable, value) VALUES ('browser_cache', '?alph21');
+---#
+
 /******************************************************************************/
 --- Updating legacy attachments...
 /******************************************************************************/

+ 4 - 0
other/upgrade_2-1_postgresql.sql

@@ -63,6 +63,10 @@ if (!isset($modSettings['allow_no_censored']))
 INSERT INTO {$db_prefix}settings (variable, value) VALUES ('topic_move_any', '1');
 ---#
 
+---# Adding new "browser_cache" setting
+INSERT INTO {$db_prefix}settings (variable, value) VALUES ('browser_cache', '?alph21');
+---#
+
 /******************************************************************************/
 --- Updating legacy attachments...
 /******************************************************************************/

+ 4 - 0
other/upgrade_2-1_sqlite.sql

@@ -61,6 +61,10 @@ if (!isset($modSettings['allow_no_censored']))
 INSERT INTO {$db_prefix}settings (variable, value) VALUES ('topic_move_any', '1');
 ---#
 
+---# Adding new "browser_cache" setting
+INSERT INTO {$db_prefix}settings (variable, value) VALUES ('browser_cache', '?alph21');
+---#
+
 /******************************************************************************/
 --- Updating legacy attachments...
 /******************************************************************************/