1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 05:25:56 +00:00

display article labels in headlines buffer

This commit is contained in:
Andrew Dolgov
2009-01-18 14:54:40 +01:00
parent 814bff6649
commit e2549229e1
6 changed files with 40 additions and 26 deletions

View File

@@ -400,12 +400,12 @@ create table ttrss_labels2 (id integer not null primary key auto_increment,
foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE
) TYPE=InnoDB;
INSERT INTO ttrss_labels2 (owner_uid, caption) VALUES (1, 'All Articles');
INSERT INTO ttrss_filters (owner_uid, feed_id, filter_type, reg_exp, enabled,
action_id, action_param, filter_param)
VALUES (1, NULL, 1, '.', true, 7, 'All Articles', 'before');
--INSERT INTO ttrss_labels2 (owner_uid, caption) VALUES (1, 'All Articles');
--
--INSERT INTO ttrss_filters (owner_uid, feed_id, filter_type, reg_exp, enabled,
-- action_id, action_param, filter_param)
-- VALUES (1, NULL, 1, '.', true, 7, 'All Articles', 'before');
--
create table ttrss_user_labels2 (label_id integer not null,
article_id integer not null,
foreign key (label_id) references ttrss_labels2(id) ON DELETE CASCADE,

View File

@@ -368,11 +368,11 @@ create table ttrss_labels2 (id serial not null primary key,
caption varchar(250) not null
);
INSERT INTO ttrss_labels2 (owner_uid, caption) VALUES (1, 'All Articles');
INSERT INTO ttrss_filters (owner_uid, feed_id, filter_type, reg_exp, enabled,
action_id, action_param, filter_param)
VALUES (1, NULL, 1, '.', true, 7, 'All Articles', 'before');
--INSERT INTO ttrss_labels2 (owner_uid, caption) VALUES (1, 'All Articles');
--
--INSERT INTO ttrss_filters (owner_uid, feed_id, filter_type, reg_exp, enabled,
-- action_id, action_param, filter_param)
-- VALUES (1, NULL, 1, '.', true, 7, 'All Articles', 'before');
create table ttrss_user_labels2 (
label_id integer not null references ttrss_labels2(id) ON DELETE CASCADE,