From 5d9abb1e11262b5ef7c6f4695590ce5bdb257b85 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.volgo-balt.ru>
Date: Thu, 27 Dec 2012 19:20:12 +0400
Subject: add plugin storage table to schema; add ability to clear plugin data

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

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

diff --git a/schema/versions/pgsql/101.sql b/schema/versions/pgsql/101.sql
new file mode 100644
index 000000000..5be859002
--- /dev/null
+++ b/schema/versions/pgsql/101.sql
@@ -0,0 +1,11 @@
+begin;
+
+create table ttrss_plugin_storage (
+	id serial not null primary key,
+	name varchar(100) not null,
+	owner_uid integer not null references ttrss_users(id) ON DELETE CASCADE,
+	content text not null);
+
+update ttrss_version set schema_version = 101;
+
+commit;
-- 
cgit v1.2.3-54-g00ecf

