From fb67e2ba58b08f150c383664c0b6796d56254d5d Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.spb.su>
Date: Sun, 26 Aug 2007 04:34:52 +0100
Subject: schema: add cache_images feed option

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

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

diff --git a/schema/versions/mysql/22.sql b/schema/versions/mysql/22.sql
index 568a4391f..7b4457887 100644
--- a/schema/versions/mysql/22.sql
+++ b/schema/versions/mysql/22.sql
@@ -1,3 +1,8 @@
 create index ttrss_entries_date_entered_index on ttrss_entries(date_entered);
 
+alter table ttrss_feeds add column cache_images bool;
+update ttrss_feeds set cache_images = false;
+alter table ttrss_feeds change cache_images cache_images bool not null;
+alter table ttrss_feeds alter column cache_images set default false;
+
 update ttrss_version set schema_version = 22;
-- 
cgit v1.2.3

