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

add support for enclosures (closes #165)

This commit is contained in:
Andrew Dolgov
2007-11-17 13:13:08 +01:00
parent 66a251f901
commit ce53e200b4
6 changed files with 132 additions and 15 deletions

View File

@@ -209,6 +209,7 @@ create table ttrss_enclosures (id serial not null primary key,
content_type varchar(250) not null,
post_id integer not null,
title text not null,
duration text not null,
index (post_id),
foreign key (post_id) references ttrss_entries(id) ON DELETE cascade);

View File

@@ -187,6 +187,7 @@ create table ttrss_enclosures (id serial not null primary key,
content_url text not null,
content_type varchar(250) not null,
title text not null,
duration text not null,
post_id integer references ttrss_entries(id) ON DELETE cascade NOT NULL);
create table ttrss_prefs_types (id integer not null primary key,

View File

@@ -8,6 +8,7 @@ create table ttrss_enclosures (id serial not null primary key,
content_type varchar(250) not null,
post_id integer not null,
title text not null,
duration text not null,
index (post_id),
foreign key (post_id) references ttrss_entries(id) ON DELETE cascade);

View File

@@ -7,6 +7,7 @@ create table ttrss_enclosures (id serial not null primary key,
content_url text not null,
content_type varchar(250) not null,
title text not null,
duration text not null,
post_id integer references ttrss_entries(id) ON DELETE cascade NOT NULL);
update ttrss_version set schema_version = 26;