add another example label in default schema

This commit is contained in:
Andrew Dolgov 2005-10-20 17:18:15 +01:00
parent 6adbdbeeaa
commit 7cc6112aaa
2 changed files with 6 additions and 0 deletions

View File

@ -73,6 +73,9 @@ create table ttrss_labels (id integer primary key auto_increment,
insert into ttrss_labels (sql_exp,description) values ('unread = true', insert into ttrss_labels (sql_exp,description) values ('unread = true',
'Unread articles'); '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, create table ttrss_tags (id integer primary key auto_increment,
tag_name varchar(250) not null, tag_name varchar(250) not null,
post_id integer not null, post_id integer not null,

View File

@ -70,6 +70,9 @@ create table ttrss_labels (id serial primary key,
insert into ttrss_labels (sql_exp,description) values ('unread = true', insert into ttrss_labels (sql_exp,description) values ('unread = true',
'Unread articles'); '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, create table ttrss_tags (id serial primary key,
tag_name varchar(250) not null, tag_name varchar(250) not null,
post_id integer references ttrss_entries(id) ON DELETE CASCADE not null); post_id integer references ttrss_entries(id) ON DELETE CASCADE not null);