From 3f2ff803b391b719397f606dabd0c182db6ec274 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.spb.su>
Date: Tue, 30 Jan 2007 17:23:35 +0100
Subject: add interface/schema for inverse matching filters

---
 schema/upgrade-1.2.6-1.2.8-pgsql.sql | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 schema/upgrade-1.2.6-1.2.8-pgsql.sql

(limited to 'schema/upgrade-1.2.6-1.2.8-pgsql.sql')

diff --git a/schema/upgrade-1.2.6-1.2.8-pgsql.sql b/schema/upgrade-1.2.6-1.2.8-pgsql.sql
new file mode 100644
index 000000000..bf2a2b438
--- /dev/null
+++ b/schema/upgrade-1.2.6-1.2.8-pgsql.sql
@@ -0,0 +1,10 @@
+begin;
+
+alter table ttrss_filters add column inverse boolean;
+update ttrss_filters set inverse = false;
+alter table ttrss_filters alter column inverse set not null;
+alter table ttrss_filters alter column inverse set default false;
+
+update ttrss_version set schema_version = 13;
+
+commit;
-- 
cgit v1.2.3-54-g00ecf

