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/13.sql | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 schema/versions/mysql/13.sql

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

diff --git a/schema/versions/mysql/13.sql b/schema/versions/mysql/13.sql
new file mode 100644
index 000000000..ad068c8a2
--- /dev/null
+++ b/schema/versions/mysql/13.sql
@@ -0,0 +1,6 @@
+alter table ttrss_filters add column inverse bool;
+update ttrss_filters set inverse = false;
+alter table ttrss_filters change inverse inverse bool not null;
+alter table ttrss_filters alter column inverse set default false;
+
+update ttrss_version set schema_version = 13;
-- 
cgit v1.2.3

