From fecd57c8861ebf5d213e1e85581ae4fc88ee0407 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.spb.su>
Date: Sat, 24 Feb 2007 17:46:39 +0100
Subject: add new-style schema versions and updater

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

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

diff --git a/schema/versions/mysql/12.sql b/schema/versions/mysql/12.sql
new file mode 100644
index 000000000..73af4e375
--- /dev/null
+++ b/schema/versions/mysql/12.sql
@@ -0,0 +1,12 @@
+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 '';
+
+insert into ttrss_filter_actions (id,name,description) values (4, 'tag', 
+		'Assign tags');
+
+update ttrss_version set schema_version = 12;
+
-- 
cgit v1.2.3-54-g00ecf

