upgrade.sql
changeset 266 917dcc6c4ceb
parent 228 b0a4d179be85
parent 264 0fe1f610698d
child 279 8acd77a6c19d
equal deleted inserted replaced
265:7e0cdf71b1bb 266:917dcc6c4ceb
    61 INSERT INTO {{TABLE_PREFIX}}config(config_name,config_value) VALUES('powered_btn', '1');
    61 INSERT INTO {{TABLE_PREFIX}}config(config_name,config_value) VALUES('powered_btn', '1');
    62 ---END 1.0RC2---
    62 ---END 1.0RC2---
    63 ---BEGIN 1.0RC1---
    63 ---BEGIN 1.0RC1---
    64 -- Not too many DB changes in this release - that's a good sign ;-)
    64 -- Not too many DB changes in this release - that's a good sign ;-)
    65 ALTER TABLE {{TABLE_PREFIX}}search_index MODIFY COLUMN word varbinary(64) NOT NULL;
    65 ALTER TABLE {{TABLE_PREFIX}}search_index MODIFY COLUMN word varbinary(64) NOT NULL;
       
    66 -- This is to correct an issue encountered upgrading a stock Win2k3 + IIS setup
       
    67 ALTER TABLE {{TABLE_PREFIX}}page_text ENGINE = MYISAM;
    66 CREATE FULLTEXT INDEX {{TABLE_PREFIX}}page_search_idx ON {{TABLE_PREFIX}}page_text(page_id,namespace,page_text);
    68 CREATE FULLTEXT INDEX {{TABLE_PREFIX}}page_search_idx ON {{TABLE_PREFIX}}page_text(page_id,namespace,page_text);
    67 UPDATE {{TABLE_PREFIX}}users SET user_level=3 WHERE user_level=2;
    69 UPDATE {{TABLE_PREFIX}}users SET user_level=3 WHERE user_level=2;
    68 UPDATE {{TABLE_PREFIX}}sidebar SET block_content='[[$NS_USER$$USERNAME$|User page]]\n[[$NS_SPECIAL$Contributions/$USERNAME$|My Contributions]]\n{if user_logged_in}\n[[$NS_SPECIAL$Preferences|Preferences]]\n[[$NS_SPECIAL$PrivateMessages|Private messages]]\n[[$NS_SPECIAL$Usergroups|Group control panel]]\n$THEME_LINK$\n{/if}\n{if user_logged_in}\n$LOGOUT_LINK$\n{else}\n[[$NS_SPECIAL$Register|Create an account]]\n$LOGIN_LINK$\n[[$NS_SPECIAL$Login/$NS_SPECIAL$PrivateMessages|Private messages]]\n{/if}',block_name='$USERNAME$' WHERE ( block_name='$USERNAME' OR block_name='$USERNAME$' ) AND item_id=3;
    70 UPDATE {{TABLE_PREFIX}}sidebar SET block_content='[[$NS_USER$$USERNAME$|User page]]\n[[$NS_SPECIAL$Contributions/$USERNAME$|My Contributions]]\n{if user_logged_in}\n[[$NS_SPECIAL$Preferences|Preferences]]\n[[$NS_SPECIAL$PrivateMessages|Private messages]]\n[[$NS_SPECIAL$Usergroups|Group control panel]]\n$THEME_LINK$\n{/if}\n{if user_logged_in}\n$LOGOUT_LINK$\n{else}\n[[$NS_SPECIAL$Register|Create an account]]\n$LOGIN_LINK$\n[[$NS_SPECIAL$Login/$NS_SPECIAL$PrivateMessages|Private messages]]\n{/if}',block_name='$USERNAME$' WHERE ( block_name='$USERNAME' OR block_name='$USERNAME$' ) AND item_id=3;
    69 ---END 1.0RC1---
    71 ---END 1.0RC1---
    70 ---BEGIN 1.0b4---
    72 ---BEGIN 1.0b4---