2008100601.sql 772 B

1234567891011121314
  1. ALTER TABLE `prefix_system_log` ADD COLUMN `object_type` varchar(50) NOT NULL AFTER `object_class`;
  2. ALTER TABLE `prefix_system_log` ADD COLUMN `object_subtype` varchar(50) NOT NULL AFTER `object_type`;
  3. ALTER TABLE `prefix_system_log` MODIFY `object_event` varchar(50) NOT NULL;
  4. ALTER TABLE `prefix_system_log` MODIFY `object_class` varchar(50) NOT NULL;
  5. ALTER TABLE `prefix_system_log` DROP KEY `object_type`;
  6. ALTER TABLE `prefix_system_log` DROP KEY `object_subtype`;
  7. ALTER TABLE `prefix_system_log` DROP KEY `river_key`;
  8. ALTER TABLE `prefix_system_log` ADD KEY `object_type` (`object_type`);
  9. ALTER TABLE `prefix_system_log` ADD KEY `object_subtype` (`object_subtype`);
  10. ALTER TABLE `prefix_system_log` ADD KEY `river_key` (`object_type`, `object_subtype`, `event`);