summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-03-06 07:22:31 +0100
committerAndrew Dolgov <[email protected]>2007-03-06 07:22:31 +0100
commit72ae6d7a8456905e9bf7b077494f4e8d40a8cae8 (patch)
treeb09aa64ea5504f43468264f8127cf380af1cfbe5
parentfb416877618429272c5b2703473a6463a2653976 (diff)
new pref: CDM_AUTO_CATCHUP, bump schema
-rw-r--r--backend.php2
-rw-r--r--schema/versions/mysql/14.sql4
-rw-r--r--schema/versions/pgsql/14.sql4
-rw-r--r--update.php4
4 files changed, 11 insertions, 3 deletions
diff --git a/backend.php b/backend.php
index 03f90e2e1..b15101fdd 100644
--- a/backend.php
+++ b/backend.php
@@ -12,7 +12,7 @@
error_reporting(DEFAULT_ERROR_LEVEL); */
- define('SCHEMA_VERSION', 13);
+ define('SCHEMA_VERSION', 14);
require_once "sanity_check.php";
require_once "config.php";
diff --git a/schema/versions/mysql/14.sql b/schema/versions/mysql/14.sql
new file mode 100644
index 000000000..10002286a
--- /dev/null
+++ b/schema/versions/mysql/14.sql
@@ -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;
diff --git a/schema/versions/pgsql/14.sql b/schema/versions/pgsql/14.sql
new file mode 100644
index 000000000..10002286a
--- /dev/null
+++ b/schema/versions/pgsql/14.sql
@@ -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;
diff --git a/update.php b/update.php
index 514e01045..969bfc78d 100644
--- a/update.php
+++ b/update.php
@@ -24,7 +24,7 @@
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>";
print "<form method=\"GET\" action=\"tt-rss.php\">