From 5b8534ef6c2653f369b8e6aa993af83084d08585 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.spb.su>
Date: Fri, 25 Jan 2008 17:40:33 +0100
Subject: schema: add ttrss_feeds.update_method, bump version

---
 schema/versions/mysql/31.sql | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 schema/versions/mysql/31.sql

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

diff --git a/schema/versions/mysql/31.sql b/schema/versions/mysql/31.sql
new file mode 100644
index 000000000..94cfc14d8
--- /dev/null
+++ b/schema/versions/mysql/31.sql
@@ -0,0 +1,6 @@
+alter table ttrss_feeds add column update_method integer;
+update ttrss_feeds set update_method = 0;
+alter table ttrss_feeds change update_method update_method integer not null;
+alter table ttrss_feeds alter column update_method set default 0;
+
+update ttrss_version set schema_version = 31;
-- 
cgit v1.2.3

