From 52c61bf8666e83f6be708b343e957ba6fb54933b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 25 Jul 2006 09:12:17 +0100 Subject: [PATCH] add schema update scripts for 1.2.2 --- schema/upgrade-1.1.7-1.2.2-mysql.sql | 4 ++++ schema/upgrade-1.1.7-1.2.2-pgsql.sql | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 schema/upgrade-1.1.7-1.2.2-mysql.sql create mode 100644 schema/upgrade-1.1.7-1.2.2-pgsql.sql diff --git a/schema/upgrade-1.1.7-1.2.2-mysql.sql b/schema/upgrade-1.1.7-1.2.2-mysql.sql new file mode 100644 index 000000000..5f0611295 --- /dev/null +++ b/schema/upgrade-1.1.7-1.2.2-mysql.sql @@ -0,0 +1,4 @@ +insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('MARK_UNREAD_ON_UPDATE', 1, 'false', 'Set articles as unread on update',3); + +update ttrss_version set schema_version = 9; + diff --git a/schema/upgrade-1.1.7-1.2.2-pgsql.sql b/schema/upgrade-1.1.7-1.2.2-pgsql.sql new file mode 100644 index 000000000..d934e293b --- /dev/null +++ b/schema/upgrade-1.1.7-1.2.2-pgsql.sql @@ -0,0 +1,8 @@ +begin; + +insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('MARK_UNREAD_ON_UPDATE', 1, 'false', 'Set articles as unread on update',3); + +update ttrss_version set schema_version = 9; + +commit; +