mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 22:55:56 +00:00
new pref: CDM_AUTO_CATCHUP, bump schema
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
error_reporting(DEFAULT_ERROR_LEVEL); */
|
error_reporting(DEFAULT_ERROR_LEVEL); */
|
||||||
|
|
||||||
define('SCHEMA_VERSION', 13);
|
define('SCHEMA_VERSION', 14);
|
||||||
|
|
||||||
require_once "sanity_check.php";
|
require_once "sanity_check.php";
|
||||||
require_once "config.php";
|
require_once "config.php";
|
||||||
|
|||||||
4
schema/versions/mysql/14.sql
Normal file
4
schema/versions/mysql/14.sql
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('CDM_AUTO_CATCHUP', 1, 'false', 'Mark articles as read automatically',1,
|
||||||
|
'This option enables marking articles as read automatically in combined mode while you scroll article list');
|
||||||
|
|
||||||
|
update ttrss_version set schema_version = 14;
|
||||||
4
schema/versions/pgsql/14.sql
Normal file
4
schema/versions/pgsql/14.sql
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('CDM_AUTO_CATCHUP', 1, 'false', 'Mark articles as read automatically',1,
|
||||||
|
'This option enables marking articles as read automatically in combined mode while you scroll article list');
|
||||||
|
|
||||||
|
update ttrss_version set schema_version = 14;
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
define('SCHEMA_VERSION', 13);
|
define('SCHEMA_VERSION', 14);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@@ -150,7 +150,7 @@ function confirmOP() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
print "<p>Finished. Performed $num_updates updates up to schema
|
print "<p>Finished. Performed $num_updates update(s) up to schema
|
||||||
version $version.</p>";
|
version $version.</p>";
|
||||||
|
|
||||||
print "<form method=\"GET\" action=\"tt-rss.php\">
|
print "<form method=\"GET\" action=\"tt-rss.php\">
|
||||||
|
|||||||
Reference in New Issue
Block a user