From 85f57c80bd5939d9bd02a9d0914d1a20400ee74e Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.spb.ru>
Date: Thu, 7 Dec 2006 11:03:31 +0100
Subject: move out obsolete upgrade scripts

---
 schema/obsolete/upgrade-1.2.3-1.2.4-pgsql.sql | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 schema/obsolete/upgrade-1.2.3-1.2.4-pgsql.sql

(limited to 'schema/obsolete/upgrade-1.2.3-1.2.4-pgsql.sql')

diff --git a/schema/obsolete/upgrade-1.2.3-1.2.4-pgsql.sql b/schema/obsolete/upgrade-1.2.3-1.2.4-pgsql.sql
new file mode 100644
index 000000000..690b978eb
--- /dev/null
+++ b/schema/obsolete/upgrade-1.2.3-1.2.4-pgsql.sql
@@ -0,0 +1,18 @@
+begin;
+
+delete FROM ttrss_user_prefs WHERE pref_name = 'DISPLAY_HEADER';
+delete FROM ttrss_user_prefs WHERE pref_name = 'DISPLAY_FOOTER';
+delete FROM ttrss_user_prefs WHERE pref_name = 'ENABLE_SEARCH_TOOLBAR';
+delete FROM ttrss_user_prefs WHERE pref_name = 'USE_COMPACT_STYLESHEET';
+
+delete FROM ttrss_prefs WHERE pref_name = 'DISPLAY_HEADER';
+delete FROM ttrss_prefs WHERE pref_name = 'DISPLAY_FOOTER';
+delete FROM ttrss_prefs WHERE pref_name = 'ENABLE_SEARCH_TOOLBAR';
+delete FROM ttrss_prefs WHERE pref_name = 'USE_COMPACT_STYLESHEET';
+
+insert into ttrss_themes (theme_name, theme_path) values ('Graycube', 'graycube');
+insert into ttrss_themes (theme_name, theme_path) values ('Default (Compact)', 'compact');
+
+update ttrss_version set schema_version = 11;
+
+commit;
-- 
cgit v1.2.3

