From 5ab9791f34d395104b4857b0979ae9aa5c138878 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.volgo-balt.ru>
Date: Fri, 1 Apr 2011 13:39:58 +0400
Subject: implement pubsubhubbub subscriber (update schema)

---
 schema/versions/mysql/83.sql | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'schema/versions/mysql/83.sql')

diff --git a/schema/versions/mysql/83.sql b/schema/versions/mysql/83.sql
index b86091532..6457539a1 100644
--- a/schema/versions/mysql/83.sql
+++ b/schema/versions/mysql/83.sql
@@ -19,6 +19,11 @@ DELETE FROM ttrss_user_prefs WHERE pref_name IN ('HIDE_FEEDLIST', 'SYNC_COUNTERS
 
 DELETE FROM ttrss_prefs WHERE pref_name IN ('HIDE_FEEDLIST', 'SYNC_COUNTERS', 'ENABLE_LABELS', 'ENABLE_SEARCH_TOOLBAR', 'ENABLE_FEED_ICONS', 'ENABLE_OFFLINE_READING', 'EXTENDED_FEEDLIST', 'OPEN_LINKS_IN_NEW_WINDOW', 'ENABLE_FLASH_PLAYER', 'HEADLINES_SMART_DATE', 'MARK_UNREAD_ON_UPDATE', 'UPDATE_POST_ON_CHECKSUM_CHANGE');
 
+alter table ttrss_feeds add column pubsub_state integer;
+update ttrss_feeds set pubsub_state = 0;
+alter table ttrss_feeds change pubsub_state pubsub_state integer not null;
+alter table ttrss_feeds alter column pubsub_state set default 0;
+
 update ttrss_version set schema_version = 83;
 
 commit;
-- 
cgit v1.2.3

