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

more work on tag support

This commit is contained in:
Andrew Dolgov
2005-09-09 08:45:54 +01:00
parent eb36b4eb55
commit 8143ae1f2b
8 changed files with 241 additions and 167 deletions

View File

@@ -29,7 +29,7 @@ insert into ttrss_feeds (title,feed_url) values ('Technocrat.net',
'http://syndication.technocrat.net/rss');
create table ttrss_entries (id integer not null primary key auto_increment,
feed_id integer not null references ttrss_feeds(id),
feed_id integer not null references ttrss_feeds(id) ON DELETE CASCADE,
updated datetime not null,
title varchar(250) not null,
guid varchar(250) not null unique,
@@ -72,5 +72,5 @@ insert into ttrss_labels (sql_exp,description) values ('unread = true',
create table ttrss_tags (id integer primary key auto_increment,
tag_name varchar(250) not null,
post_id integer references ttrss_entries(id)) TYPE=InnoDB;
post_id integer references ttrss_entries(id) ON DELETE CASCADE) TYPE=InnoDB;