content_url text not null,
content_type varchar(250) not null,
post_id integer not null,
+ title text not null,
index (post_id),
foreign key (post_id) references ttrss_entries(id) ON DELETE cascade);
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,
post_id integer references ttrss_entries(id) ON DELETE cascade NOT NULL);
create table ttrss_prefs_types (id integer not null primary key,
content_url text not null,
content_type varchar(250) not null,
post_id integer not null,
+ title text not null,
index (post_id),
foreign key (post_id) references ttrss_entries(id) ON DELETE cascade);
alter table ttrss_users alter column created set default null;
create table ttrss_enclosures (id serial not null primary key,
- content_url text not null,
- content_type varchar(250) not null,
- post_id integer not null,
- index (post_id),
- foreign key (post_id) references ttrss_entries(id) ON DELETE cascade);
+ content_url text not null,
+ content_type varchar(250) not null,
+ title text not null,
+ post_id integer references ttrss_entries(id) ON DELETE cascade NOT NULL);
update ttrss_version set schema_version = 26;