1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 08:55:55 +00:00

allow filtering by article author (bump schema)

This commit is contained in:
Andrew Dolgov
2010-03-23 14:38:58 +03:00
parent bf9b87b5bb
commit fa3317be48
6 changed files with 33 additions and 5 deletions

View File

@@ -183,6 +183,7 @@ insert into ttrss_filter_types (id,name,description) values (4, 'link',
'Link');
insert into ttrss_filter_types (id,name,description) values (5, 'date',
'Article Date');
insert into ttrss_filter_types (id,name,description) values (6, 'author', 'Author');
create table ttrss_filter_actions (id integer not null primary key,
name varchar(120) unique not null,
@@ -239,7 +240,7 @@ create table ttrss_tags (id integer primary key auto_increment,
create table ttrss_version (schema_version int not null) TYPE=InnoDB;
insert into ttrss_version values (65);
insert into ttrss_version values (66);
create table ttrss_enclosures (id integer primary key auto_increment,
content_url text not null,

View File

@@ -165,6 +165,7 @@ insert into ttrss_filter_types (id,name,description) values (4, 'link',
'Link');
insert into ttrss_filter_types (id,name,description) values (5, 'date',
'Article Date');
insert into ttrss_filter_types (id,name,description) values (6, 'author', 'Author');
create table ttrss_filter_actions (id integer not null primary key,
name varchar(120) unique not null,
@@ -211,7 +212,7 @@ create index ttrss_tags_owner_uid_index on ttrss_tags(owner_uid);
create table ttrss_version (schema_version int not null);
insert into ttrss_version values (65);
insert into ttrss_version values (66);
create table ttrss_enclosures (id serial not null primary key,
content_url text not null,

View File

@@ -0,0 +1,7 @@
begin;
insert into ttrss_filter_types (id, name, description) values (6, 'author', 'Author');
update ttrss_version set schema_version = 66;
commit;

View File

@@ -0,0 +1,7 @@
begin;
insert into ttrss_filter_types (id, name, description) values (6, 'author', 'Author');
update ttrss_version set schema_version = 66;
commit;