From 7cc6112aaac432ac2ddfd614fca222bd3ca4ed4c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 20 Oct 2005 17:18:15 +0100 Subject: [PATCH] add another example label in default schema --- schema/ttrss_schema_mysql.sql | 3 +++ schema/ttrss_schema_pgsql.sql | 3 +++ 2 files changed, 6 insertions(+) diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql index 408402c7..7abccc30 100644 --- a/schema/ttrss_schema_mysql.sql +++ b/schema/ttrss_schema_mysql.sql @@ -73,6 +73,9 @@ create table ttrss_labels (id integer primary key auto_increment, insert into ttrss_labels (sql_exp,description) values ('unread = true', 'Unread articles'); +insert into ttrss_labels (sql_exp,description) values ( + 'last_read is null and unread = false', 'Updated articles'); + create table ttrss_tags (id integer primary key auto_increment, tag_name varchar(250) not null, post_id integer not null, diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql index 085bcc67..bb971d2d 100644 --- a/schema/ttrss_schema_pgsql.sql +++ b/schema/ttrss_schema_pgsql.sql @@ -70,6 +70,9 @@ create table ttrss_labels (id serial primary key, insert into ttrss_labels (sql_exp,description) values ('unread = true', 'Unread articles'); +insert into ttrss_labels (sql_exp,description) values ( + 'last_read is null and unread = false', 'Updated articles'); + create table ttrss_tags (id serial primary key, tag_name varchar(250) not null, post_id integer references ttrss_entries(id) ON DELETE CASCADE not null); -- 2.39.2