summaryrefslogtreecommitdiff
path: root/schema/upgrade-1.2.3-1.2.4-pgsql.sql
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-09-29 08:53:47 +0100
committerAndrew Dolgov <[email protected]>2006-09-29 08:53:47 +0100
commit96527ac6594b82c09b8df21830673996a1027266 (patch)
treeb22a1de3cc6a21119c23cb4af31ba8b99cf87e17 /schema/upgrade-1.2.3-1.2.4-pgsql.sql
parentc2625f8e49a04d5efeb25af9720c3fce731bb7e4 (diff)
remove DISPLAY_HEADER/FOOTER options (update schema)
Diffstat (limited to 'schema/upgrade-1.2.3-1.2.4-pgsql.sql')
-rw-r--r--schema/upgrade-1.2.3-1.2.4-pgsql.sql11
1 files changed, 11 insertions, 0 deletions
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;