From 109662e12f858bf067f14a37942a1106c900b527 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.volgo-balt.ru>
Date: Wed, 20 Apr 2011 20:05:10 +0400
Subject: feedbrowser_cache & linked feeds: add site url (bump schema)

---
 schema/versions/pgsql/85.sql | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 schema/versions/pgsql/85.sql

(limited to 'schema/versions/pgsql/85.sql')

diff --git a/schema/versions/pgsql/85.sql b/schema/versions/pgsql/85.sql
new file mode 100644
index 000000000..a0a782280
--- /dev/null
+++ b/schema/versions/pgsql/85.sql
@@ -0,0 +1,13 @@
+begin;
+
+alter table ttrss_feedbrowser_cache add column site_url text;
+update ttrss_feedbrowser_cache set site_url = '';
+alter table ttrss_feedbrowser_cache alter column site_url set not null;
+
+alter table ttrss_linked_feeds add column site_url text;
+update ttrss_linked_feeds set site_url = '';
+alter table ttrss_linked_feeds alter column site_url set not null;
+
+update ttrss_version set schema_version = 85;
+
+commit;
-- 
cgit v1.2.3

