Description
Submitted by: Andrew (coder2)
Is related to QA35
Attachments:
database.zip
Restore the small database from attached backup and run the following script on it:
alter table cms_wiki
add u_name varchar(100) character set UTF8,
add u_title varchar(100) character set UTF8,
add u_description blob sub_type 1 character set UTF8,
add u_text blob sub_type 1 character set UTF8;
commit;
update cms_wiki set
u_name = name, u_title = title, u_text = text, u_description = description;
commit;
drop index uq_cms_wiki;
alter table cms_wiki drop name, drop description, drop text, drop title;
commit;
alter table cms_wiki
alter u_name to name,
alter u_title to title,
alter u_description to description,
alter u_text to text;
commit;
CREATE UNIQUE INDEX UQ_CMS_WIKI ON CMS_WIKI (NAME, SITE_ID);