diff options
author | Andrew Dolgov <[email protected]> | 2012-12-27 19:20:12 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-12-27 19:20:36 +0400 |
commit | 5d9abb1e11262b5ef7c6f4695590ce5bdb257b85 (patch) | |
tree | b87b628efa00e479eb37a635827b802a61a26746 /schema/versions/mysql | |
parent | d8a1d2a25b2247e5a63f5b0ab7f0bd9423a217e5 (diff) |
add plugin storage table to schema; add ability to clear plugin data
Diffstat (limited to 'schema/versions/mysql')
-rw-r--r-- | schema/versions/mysql/101.sql | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/schema/versions/mysql/101.sql b/schema/versions/mysql/101.sql new file mode 100644 index 000000000..47ff26522 --- /dev/null +++ b/schema/versions/mysql/101.sql @@ -0,0 +1,12 @@ +begin; + +create table ttrss_plugin_storage ( + id integer not null auto_increment primary key, + name varchar(100) not null, + owner_uid integer not null, + content longtext not null, + foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=UTF8; + +update ttrss_version set schema_version = 101; + +commit; |