From 3a216db45c510f2601fcdb3b879e2e20dce63dd5 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.org.ru>
Date: Wed, 16 Dec 2009 14:36:59 +0300
Subject: add per-user option to enable access to API

---
 schema/versions/pgsql/58.sql | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 schema/versions/pgsql/58.sql

(limited to 'schema/versions/pgsql/58.sql')

diff --git a/schema/versions/pgsql/58.sql b/schema/versions/pgsql/58.sql
new file mode 100644
index 000000000..61173c1d5
--- /dev/null
+++ b/schema/versions/pgsql/58.sql
@@ -0,0 +1,7 @@
+begin;
+
+insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('ENABLE_API_ACCESS', 1, 'false', 'Enable external API', 3);
+
+update ttrss_version set schema_version = 58;
+
+commit;
-- 
cgit v1.2.3

