From 9ebaec057c6c9e1644eb7673ddb3f709b9874bb8 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.spb.ru>
Date: Fri, 8 Dec 2006 07:31:49 +0100
Subject: ttrss_filters: add action_param field, bump schema version

---
 schema/upgrade-1.2.4-1.2.6-mysql.sql | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 schema/upgrade-1.2.4-1.2.6-mysql.sql

(limited to 'schema/upgrade-1.2.4-1.2.6-mysql.sql')

diff --git a/schema/upgrade-1.2.4-1.2.6-mysql.sql b/schema/upgrade-1.2.4-1.2.6-mysql.sql
new file mode 100644
index 000000000..2b100d175
--- /dev/null
+++ b/schema/upgrade-1.2.4-1.2.6-mysql.sql
@@ -0,0 +1,9 @@
+alter table ttrss_filters add column action_param varchar(200);
+
+update ttrss_filters set action_param = '';
+
+alter table ttrss_filters change action_param action_param varchar(200) not null;
+alter table ttrss_filters alter column action_param set default '';
+
+update ttrss_version set schema_version = 12;
+
-- 
cgit v1.2.3

