mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 19:05:55 +00:00
add plugin storage table to schema; add ability to clear plugin data
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
SET NAMES utf8;
|
||||
SET CHARACTER SET utf8;
|
||||
|
||||
drop table if exists ttrss_plugin_storage;
|
||||
drop table if exists ttrss_linked_feeds;
|
||||
drop table if exists ttrss_linked_instances;
|
||||
drop table if exists ttrss_access_keys;
|
||||
@@ -528,4 +529,12 @@ create table ttrss_linked_feeds (
|
||||
subscribers integer not null,
|
||||
foreign key (instance_id) references ttrss_linked_instances(id) ON DELETE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
|
||||
|
||||
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;
|
||||
|
||||
|
||||
commit;
|
||||
|
||||
Reference in New Issue
Block a user