protected function run1($stage) { $this->console->out('Adding index on dtadded field...'); $this->db->BeginTrans(); $this->db->Execute("ALTER TABLE `servers` ADD INDEX `idx_dtadded` (`dtadded`)"); }