Add index for message IDs by newsgroup
This commit is contained in:
parent
65191f2f76
commit
a43fdc9009
1 changed files with 4 additions and 0 deletions
|
@ -20,4 +20,8 @@ create table newsgroup_message (
|
|||
FOREIGN KEY(newsgroup_id) REFERENCES newsgroup(id)
|
||||
);
|
||||
|
||||
create index newsgroup_message_newsgroup_id_idx on newsgroup_message (
|
||||
newsgroup_id, id
|
||||
);
|
||||
|
||||
commit;
|
||||
|
|
Loading…
Add table
Reference in a new issue