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:
@@ -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);
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user