Changeset 429 for trunk/sql/updates/426.sql
- Timestamp:
- Apr 8, 2010, 8:31:45 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sql/updates/426.sql
r426 r429 133 133 ALTER TABLE `TextQuest` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 134 134 ALTER TABLE `TextQuest` ADD `ModifyTime` DATETIME NOT NULL; 135 ALTER TABLE `TextQuest` INDEX ( `ModifyTime` );135 ALTER TABLE `TextQuest` ADD INDEX ( `ModifyTime` ); 136 136 UPDATE `TextQuest` SET `ModifyTime` = NOW(); 137 137 UPDATE `TextQuest` SET `CompleteParts` = 1023 WHERE `Complete`=1; 138 138 ALTER TABLE `TextPage` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 139 139 ALTER TABLE `TextPage` ADD `ModifyTime` DATETIME NOT NULL; 140 ALTER TABLE `TextPage` INDEX ( `ModifyTime` );140 ALTER TABLE `TextPage` ADD INDEX ( `ModifyTime` ); 141 141 UPDATE `TextPage` SET `ModifyTime` = NOW(); 142 142 UPDATE `TextPage` SET `CompleteParts` = 1 WHERE `Complete`=1; 143 143 ALTER TABLE `TextNPC` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 144 144 ALTER TABLE `TextNPC` ADD `ModifyTime` DATETIME NOT NULL; 145 ALTER TABLE `TextNPC` INDEX ( `ModifyTime` );145 ALTER TABLE `TextNPC` ADD INDEX ( `ModifyTime` ); 146 146 UPDATE `TextNPC` SET `ModifyTime` = NOW(); 147 147 UPDATE `TextNPC` SET `CompleteParts` = 65535 WHERE `Complete`=1; 148 148 ALTER TABLE `TextItem` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 149 149 ALTER TABLE `TextItem` ADD `ModifyTime` DATETIME NOT NULL; 150 ALTER TABLE `TextItem` INDEX ( `ModifyTime` );150 ALTER TABLE `TextItem` ADD INDEX ( `ModifyTime` ); 151 151 UPDATE `TextItem` SET `ModifyTime` = NOW(); 152 152 UPDATE `TextItem` SET `CompleteParts` = 3 WHERE `Complete`=1; 153 153 ALTER TABLE `TextGameObject` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 154 154 ALTER TABLE `TextGameObject` ADD `ModifyTime` DATETIME NOT NULL; 155 ALTER TABLE `TextGameObject` INDEX ( `ModifyTime` );155 ALTER TABLE `TextGameObject` ADD INDEX ( `ModifyTime` ); 156 156 UPDATE `TextGameObject` SET `ModifyTime` = NOW(); 157 157 UPDATE `TextGameObject` SET `CompleteParts` = 3 WHERE `Complete`=1; 158 158 ALTER TABLE `TextCreature` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 159 159 ALTER TABLE `TextCreature` ADD `ModifyTime` DATETIME NOT NULL; 160 ALTER TABLE `TextCreature` INDEX ( `ModifyTime` );160 ALTER TABLE `TextCreature` ADD INDEX ( `ModifyTime` ); 161 161 UPDATE `TextCreature` SET `ModifyTime` = NOW(); 162 162 UPDATE `TextCreature` SET `CompleteParts` = 3 WHERE `Complete`=1; 163 163 ALTER TABLE `TextMangosString` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 164 164 ALTER TABLE `TextMangosString` ADD `ModifyTime` DATETIME NOT NULL; 165 ALTER TABLE `TextMangosString` INDEX ( `ModifyTime` );165 ALTER TABLE `TextMangosString` ADD INDEX ( `ModifyTime` ); 166 166 UPDATE `TextMangosString` SET `ModifyTime` = NOW(); 167 167 UPDATE `TextMangosString` SET `CompleteParts` = 1 WHERE `Complete`=1; 168 168 ALTER TABLE `TextMangosCommand` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 169 169 ALTER TABLE `TextMangosCommand` ADD `ModifyTime` DATETIME NOT NULL; 170 ALTER TABLE `TextMangosCommand` INDEX ( `ModifyTime` );170 ALTER TABLE `TextMangosCommand` ADD INDEX ( `ModifyTime` ); 171 171 UPDATE `TextMangosCommand` SET `ModifyTime` = NOW(); 172 172 UPDATE `TextMangosCommand` SET `CompleteParts` = 3 WHERE `Complete`=1; 173 173 ALTER TABLE `TextSD2Script` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 174 174 ALTER TABLE `TextSD2Script` ADD `ModifyTime` DATETIME NOT NULL; 175 ALTER TABLE `TextSD2Script` INDEX ( `ModifyTime` );175 ALTER TABLE `TextSD2Script` ADD INDEX ( `ModifyTime` ); 176 176 UPDATE `TextSD2Script` SET `ModifyTime` = NOW(); 177 177 UPDATE `TextSD2Script` SET `CompleteParts` = 3 WHERE `Complete`=1; 178 178 ALTER TABLE `TextSD2EventAI` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 179 179 ALTER TABLE `TextSD2EventAI` ADD `ModifyTime` DATETIME NOT NULL; 180 ALTER TABLE `TextSD2EventAI` INDEX ( `ModifyTime` );180 ALTER TABLE `TextSD2EventAI` ADD INDEX ( `ModifyTime` ); 181 181 UPDATE `TextSD2EventAI` SET `ModifyTime` = NOW(); 182 182 UPDATE `TextSD2EventAI` SET `CompleteParts` = 3 WHERE `Complete`=1; 183 183 ALTER TABLE `TextGameTip` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 184 184 ALTER TABLE `TextGameTip` ADD `ModifyTime` DATETIME NOT NULL; 185 ALTER TABLE `TextGameTip` INDEX ( `ModifyTime` );185 ALTER TABLE `TextGameTip` ADD INDEX ( `ModifyTime` ); 186 186 UPDATE `TextGameTip` SET `ModifyTime` = NOW(); 187 187 UPDATE `TextGameTip` SET `CompleteParts` = 1 WHERE `Complete`=1; 188 188 ALTER TABLE `TextSpell` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 189 189 ALTER TABLE `TextSpell` ADD `ModifyTime` DATETIME NOT NULL; 190 ALTER TABLE `TextSpell` INDEX ( `ModifyTime` );190 ALTER TABLE `TextSpell` ADD INDEX ( `ModifyTime` ); 191 191 UPDATE `TextSpell` SET `ModifyTime` = NOW(); 192 192 UPDATE `TextSpell` SET `CompleteParts` = 15 WHERE `Complete`=1; 193 193 ALTER TABLE `TextGlobalString` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 194 194 ALTER TABLE `TextGlobalString` ADD `ModifyTime` DATETIME NOT NULL; 195 ALTER TABLE `TextGlobalString` INDEX ( `ModifyTime` );195 ALTER TABLE `TextGlobalString` ADD INDEX ( `ModifyTime` ); 196 196 UPDATE `TextGlobalString` SET `ModifyTime` = NOW(); 197 197 UPDATE `TextGlobalString` SET `CompleteParts` = 7 WHERE `Complete`=1; 198 198 ALTER TABLE `TextGlueString` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 199 199 ALTER TABLE `TextGlueString` ADD `ModifyTime` DATETIME NOT NULL; 200 ALTER TABLE `TextGlueString` INDEX ( `ModifyTime` );200 ALTER TABLE `TextGlueString` ADD INDEX ( `ModifyTime` ); 201 201 UPDATE `TextGlueString` SET `ModifyTime` = NOW(); 202 202 UPDATE `TextGlueString` SET `CompleteParts` = 7 WHERE `Complete`=1; 203 203 ALTER TABLE `TextNPCOption` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 204 204 ALTER TABLE `TextNPCOption` ADD `ModifyTime` DATETIME NOT NULL; 205 ALTER TABLE `TextNPCOption` INDEX ( `ModifyTime` );205 ALTER TABLE `TextNPCOption` ADD INDEX ( `ModifyTime` ); 206 206 UPDATE `TextNPCOption` SET `ModifyTime` = NOW(); 207 207 UPDATE `TextNPCOption` SET `CompleteParts` = 3 WHERE `Complete`=1; 208 208 ALTER TABLE `TextTransport` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 209 209 ALTER TABLE `TextTransport` ADD `ModifyTime` DATETIME NOT NULL; 210 ALTER TABLE `TextTransport` INDEX ( `ModifyTime` );210 ALTER TABLE `TextTransport` ADD INDEX ( `ModifyTime` ); 211 211 UPDATE `TextTransport` SET `ModifyTime` = NOW(); 212 212 UPDATE `TextTransport` SET `CompleteParts` = 1 WHERE `Complete`=1; 213 213 ALTER TABLE `TextAreaTriggerTavern` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 214 214 ALTER TABLE `TextAreaTriggerTavern` ADD `ModifyTime` DATETIME NOT NULL; 215 ALTER TABLE `TextAreaTriggerTavern` INDEX ( `ModifyTime` );215 ALTER TABLE `TextAreaTriggerTavern` ADD INDEX ( `ModifyTime` ); 216 216 UPDATE `TextAreaTriggerTavern` SET `ModifyTime` = NOW(); 217 217 UPDATE `TextAreaTriggerTavern` SET `CompleteParts` = 1 WHERE `Complete`=1; 218 218 ALTER TABLE `TextAreaTriggerTeleport` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 219 219 ALTER TABLE `TextAreaTriggerTeleport` ADD `ModifyTime` DATETIME NOT NULL; 220 ALTER TABLE `TextAreaTriggerTeleport` INDEX ( `ModifyTime` );220 ALTER TABLE `TextAreaTriggerTeleport` ADD INDEX ( `ModifyTime` ); 221 221 UPDATE `TextAreaTriggerTeleport` SET `ModifyTime` = NOW(); 222 222 UPDATE `TextAreaTriggerTeleport` SET `CompleteParts` = 1 WHERE `Complete`=1; 223 223 ALTER TABLE `TextAchievement` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 224 224 ALTER TABLE `TextAchievement` ADD `ModifyTime` DATETIME NOT NULL; 225 ALTER TABLE `TextAchievement` INDEX ( `ModifyTime` );225 ALTER TABLE `TextAchievement` ADD INDEX ( `ModifyTime` ); 226 226 UPDATE `TextAchievement` SET `ModifyTime` = NOW(); 227 227 UPDATE `TextAchievement` SET `CompleteParts` = 7 WHERE `Complete`=1; 228 228 ALTER TABLE `TextAchievementCategory` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 229 229 ALTER TABLE `TextAchievementCategory` ADD `ModifyTime` DATETIME NOT NULL; 230 ALTER TABLE `TextAchievementCategory` INDEX ( `ModifyTime` );230 ALTER TABLE `TextAchievementCategory` ADD INDEX ( `ModifyTime` ); 231 231 UPDATE `TextAchievementCategory` SET `ModifyTime` = NOW(); 232 232 UPDATE `TextAchievementCategory` SET `CompleteParts` = 1 WHERE `Complete`=1; 233 233 ALTER TABLE `TextAchievementCriteria` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 234 234 ALTER TABLE `TextAchievementCriteria` ADD `ModifyTime` DATETIME NOT NULL; 235 ALTER TABLE `TextAchievementCriteria` INDEX ( `ModifyTime` );235 ALTER TABLE `TextAchievementCriteria` ADD INDEX ( `ModifyTime` ); 236 236 UPDATE `TextAchievementCriteria` SET `ModifyTime` = NOW(); 237 237 UPDATE `TextAchievementCriteria` SET `CompleteParts` = 1 WHERE `Complete`=1; 238 238 ALTER TABLE `TextGlueLocalization` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 239 239 ALTER TABLE `TextGlueLocalization` ADD `ModifyTime` DATETIME NOT NULL; 240 ALTER TABLE `TextGlueLocalization` INDEX ( `ModifyTime` );240 ALTER TABLE `TextGlueLocalization` ADD INDEX ( `ModifyTime` ); 241 241 UPDATE `TextGlueLocalization` SET `ModifyTime` = NOW(); 242 242 UPDATE `TextGlueLocalization` SET `CompleteParts` = 7 WHERE `Complete`=1; 243 243 244 CREATE TABLE IF NOT EXISTS `DbVersion` ( 244 245 `Id` int(11) NOT NULL AUTO_INCREMENT,
Note:
See TracChangeset
for help on using the changeset viewer.