mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-06 16:49:15 +00:00
schema: add support for enclosures
This commit is contained in:
@@ -8,6 +8,7 @@ drop table ttrss_prefs;
|
||||
drop table ttrss_prefs_types;
|
||||
drop table ttrss_prefs_sections;
|
||||
drop table ttrss_tags;
|
||||
drop table ttrss_enclosures;
|
||||
drop table ttrss_entry_comments;
|
||||
drop table ttrss_user_entries;
|
||||
drop table ttrss_entries;
|
||||
@@ -182,6 +183,11 @@ create table ttrss_version (schema_version int not null);
|
||||
|
||||
insert into ttrss_version values (26);
|
||||
|
||||
create table ttrss_enclosures (id serial not null primary key,
|
||||
content_url text not null,
|
||||
content_type varchar(250) 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,
|
||||
type_name varchar(100) not null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user