mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:45:56 +00:00
add ttrss_feeds_cat_id_idx
This commit is contained in:
@@ -127,6 +127,9 @@ create table ttrss_feeds (id integer not null auto_increment primary key,
|
|||||||
index(parent_feed),
|
index(parent_feed),
|
||||||
foreign key (parent_feed) references ttrss_feeds(id) ON DELETE SET NULL) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
|
foreign key (parent_feed) references ttrss_feeds(id) ON DELETE SET NULL) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
|
||||||
|
|
||||||
|
create index ttrss_feeds_owner_uid_index on ttrss_feeds(owner_uid);
|
||||||
|
create index ttrss_feeds_cat_id_idx on ttrss_feeds(cat_id);
|
||||||
|
|
||||||
insert into ttrss_feeds (owner_uid, title, feed_url) values
|
insert into ttrss_feeds (owner_uid, title, feed_url) values
|
||||||
(1, 'Tiny Tiny RSS: New Releases', 'http://tt-rss.org/releases.rss');
|
(1, 'Tiny Tiny RSS: New Releases', 'http://tt-rss.org/releases.rss');
|
||||||
|
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ create table ttrss_feeds (id serial not null primary key,
|
|||||||
auth_pass_encrypted boolean not null default false);
|
auth_pass_encrypted boolean not null default false);
|
||||||
|
|
||||||
create index ttrss_feeds_owner_uid_index on ttrss_feeds(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);
|
||||||
|
|
||||||
insert into ttrss_feeds (owner_uid, title, feed_url) values
|
insert into ttrss_feeds (owner_uid, title, feed_url) values
|
||||||
(1, 'Tiny Tiny RSS: New Releases', 'http://tt-rss.org/releases.rss');
|
(1, 'Tiny Tiny RSS: New Releases', 'http://tt-rss.org/releases.rss');
|
||||||
|
|||||||
Reference in New Issue
Block a user