mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 05:15:55 +00:00
add composite key on ttrss_feeds (feed_url & owner_uid)
This commit is contained in:
@@ -99,7 +99,8 @@ create table ttrss_feeds (id serial not null primary key,
|
||||
pubsub_state integer not null default 0,
|
||||
favicon_last_checked timestamp default null,
|
||||
feed_language varchar(100) not null default '',
|
||||
auth_pass_encrypted boolean not null default false);
|
||||
auth_pass_encrypted boolean not null default false,
|
||||
unique(feed_url, owner_uid));
|
||||
|
||||
create index ttrss_feeds_owner_uid_index on ttrss_feeds(owner_uid);
|
||||
create index ttrss_feeds_cat_id_idx on ttrss_feeds(cat_id);
|
||||
@@ -268,7 +269,7 @@ create index ttrss_tags_post_int_id_idx on ttrss_tags(post_int_id);
|
||||
|
||||
create table ttrss_version (schema_version int not null);
|
||||
|
||||
insert into ttrss_version values (136);
|
||||
insert into ttrss_version values (137);
|
||||
|
||||
create table ttrss_enclosures (id serial not null primary key,
|
||||
content_url text not null,
|
||||
|
||||
Reference in New Issue
Block a user