1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:15:55 +00:00

bump schema for ttrss_user_labels2 indexes

This commit is contained in:
Andrew Dolgov
2021-02-27 11:04:25 +03:00
parent 6d06450649
commit c1cd3324e3
5 changed files with 17 additions and 3 deletions

View File

@@ -298,7 +298,7 @@ create table ttrss_tags (id integer primary key auto_increment,
create table ttrss_version (schema_version int not null) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
insert into ttrss_version values (141);
insert into ttrss_version values (142);
create table ttrss_enclosures (id integer primary key auto_increment,
content_url text not null,
@@ -373,6 +373,9 @@ create table ttrss_user_labels2 (label_id integer not null,
foreign key (article_id) references ttrss_entries(id) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
create index ttrss_user_labels2_article_id_idx on ttrss_user_labels2(article_id);
create index ttrss_user_labels2_label_id_idx on ttrss_user_labels2(label_id);
create table ttrss_access_keys (id integer not null primary key auto_increment,
access_key varchar(250) not null,
feed_id varchar(250) not null,