add another example label in default schema
This commit is contained in:
parent
6adbdbeeaa
commit
7cc6112aaa
2 changed files with 6 additions and 0 deletions
|
@ -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,
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue