ALTER TABLE core_locking ADD COLUMN created datetime ;
alter table core_locking ADD INDEX lookup(on_table, on_id, person_id, created);
ALTER TABLE core_locking ADD COLUMN created datetime ;
alter table core_locking ADD INDEX lookup(on_table, on_id, person_id, created);
alter table core_enum ADD COLUMN seqmax int(11) NOT NULL DEFAULT 0;
alter table core_enum ADD COLUMN display_name varchar(255) NOT NULL DEFAULT '';
alter table core_enum ADD COLUMN seqmax int(11) NOT NULL DEFAULT 0;
alter table core_enum ADD COLUMN display_name varchar(255) NOT NULL DEFAULT '';
alter table core_enum ADD INDEX lookup(seqid, active, name, etype);
alter table core_enum ADD INDEX lookup(seqid, active, name, etype);
CREATE TABLE translations (
id int(11) NOT NULL AUTO_INCREMENT,
CREATE TABLE translations (
id int(11) NOT NULL AUTO_INCREMENT,
ALTER TABLE core_notify ADD INDEX lookup(act_when, msgid);
ALTER TABLE core_notify ADD INDEX lookup_a(onid, ontable, person_id, act_when, msgid, to_email);
alter table core_notify add INDEX lookup_b (sent, person_id, msgid, ontable);
ALTER TABLE core_notify ADD INDEX lookup(act_when, msgid);
ALTER TABLE core_notify ADD INDEX lookup_a(onid, ontable, person_id, act_when, msgid, to_email);
alter table core_notify add INDEX lookup_b (sent, person_id, msgid, ontable);