mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
indexes for postgres
This commit is contained in:
parent
f5e82bc7f4
commit
e209e0b09e
2 changed files with 10 additions and 0 deletions
|
@ -64,6 +64,10 @@ CREATE TABLE prefix_log (
|
|||
info varchar(255) NOT NULL default ''
|
||||
);
|
||||
|
||||
CREATE INDEX coursemoduleaction ON prefix_log (course,module,action);
|
||||
|
||||
CREATE INDEX courseuserid ON prefix_log (course,userid);
|
||||
|
||||
CREATE TABLE prefix_log_display (
|
||||
module varchar(20) NOT NULL default '',
|
||||
action varchar(20) NOT NULL default '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue