From 96527ac6594b82c09b8df21830673996a1027266 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.spb.ru>
Date: Fri, 29 Sep 2006 08:53:47 +0100
Subject: remove DISPLAY_HEADER/FOOTER options (update schema)

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

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

diff --git a/schema/upgrade-1.2.3-1.2.4-pgsql.sql b/schema/upgrade-1.2.3-1.2.4-pgsql.sql
new file mode 100644
index 000000000..43ae8600c
--- /dev/null
+++ b/schema/upgrade-1.2.3-1.2.4-pgsql.sql
@@ -0,0 +1,11 @@
+begin;
+
+delete FROM ttrss_user_prefs WHERE pref_name = 'DISPLAY_HEADER';
+delete FROM ttrss_user_prefs WHERE pref_name = 'DISPLAY_FOOTER';
+
+delete FROM ttrss_prefs WHERE pref_name = 'DISPLAY_HEADER';
+delete FROM ttrss_prefs WHERE pref_name = 'DISPLAY_FOOTER';
+
+update ttrss_version set schema_version = 11;
+
+commit;
-- 
cgit v1.2.3

