add plugin storage table to schema; add ability to clear plugin data
parent
d8a1d2a25b
commit
5d9abb1e11
@ -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;
|
@ -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;
|
Loading…
Reference in New Issue