]> git.wh0rd.org Git - tt-rss.git/commitdiff
add schema update scripts for 1.2.2
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 25 Jul 2006 08:12:17 +0000 (09:12 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 25 Jul 2006 08:12:17 +0000 (09:12 +0100)
schema/upgrade-1.1.7-1.2.2-mysql.sql [new file with mode: 0644]
schema/upgrade-1.1.7-1.2.2-pgsql.sql [new file with mode: 0644]

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 (file)
index 0000000..5f06112
--- /dev/null
@@ -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 (file)
index 0000000..d934e29
--- /dev/null
@@ -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;
+