insert into webguiVersion values ('6.2.8','upgrade',unix_timestamp());
delete from template where templateId='7' and namespace='Navigation';
INSERT INTO template VALUES ('7','Cool Menus','\r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n^JavaScript(\"/coolmenus/coolmenus4.js\");\r\n','Navigation',1,1);
alter table SiteMap change startAtThisLevel startAtThisLevel varchar(22);
delete from template where templateId in (1,2) and namespace='Macro/L_loginBox';
INSERT INTO template VALUES ('1','Default Login Box','\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \">
\r\n \r\n\r\n \r\n \">.\r\n \">\r\n \r\n \r\n \r\n\r\n
\r\n','Macro/L_loginBox',1,1);
INSERT INTO template VALUES ('2','Horizontal Login Box','\r\n
\r\n \r\n \r\n \r\n | \r\n | \r\n | \r\n
\r\n \r\n | \r\n | \r\n | \r\n
\r\n
\r\n \">\r\n \r\n\r\n \r\n \">.\r\n \">
\r\n \r\n \r\n \r\n\r\n
\r\n','Macro/L_loginBox',1,1);
alter table themeComponent change themeComponentId themeComponentId varchar(22);
alter table forumPost add index status_forumThreadId (status,forumThreadId);
alter table forumThread add index forumId_lastPostDate (forumId,lastPostDate);
alter table forumThread add index status_forumThreadId (status,forumThreadId);