Add index message_created_on_idx to message table
This commit is contained in:
parent
0d41ea1d2b
commit
bb42ef03b0
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,10 @@ create table message (
|
||||||
content TEXT NOT NULL
|
content TEXT NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
create index message_created_on_idx on message (
|
||||||
|
created_on
|
||||||
|
);
|
||||||
|
|
||||||
create table newsgroup_message (
|
create table newsgroup_message (
|
||||||
newsgroup_id INTEGER NOT NULL,
|
newsgroup_id INTEGER NOT NULL,
|
||||||
message_id INTEGER NOT NULL,
|
message_id INTEGER NOT NULL,
|
||||||
|
|
Loading…
Add table
Reference in a new issue