Commit 0c4db413 authored by Dries's avatar Dries

- Patch by Mathias: database updates for path alias improvements.

parent ae98abc1
......@@ -485,7 +485,8 @@ CREATE TABLE url_alias (
src varchar(128) NOT NULL default '',
dst varchar(128) NOT NULL default '',
PRIMARY KEY (pid),
UNIQUE KEY dst (dst)
UNIQUE KEY dst (dst),
KEY src (src)
) TYPE=MyISAM;
--
......
......@@ -500,6 +500,7 @@ CREATE TABLE url_alias (
PRIMARY KEY (pid)
);
CREATE INDEX url_alias_dst_idx ON url_alias(dst);
CREATE INDEX url_alias_src ON url_alias(src)
--
-- Table structure for permission
--
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment