ALTER TABLE acl ENGINE=InnoDB;
ALTER TABLE hierarchy ENGINE=InnoDB;
ALTER TABLE lob ENGINE=InnoDB;
ALTER TABLE mvproperties ENGINE=InnoDB, DROP KEY val_string;
ALTER TABLE names ENGINE=InnoDB;
ALTER TABLE objectproperty ENGINE=InnoDB;
ALTER TABLE objectrelation ENGINE=InnoDB;
ALTER TABLE object ENGINE=InnoDB;
ALTER TABLE outgoingqueue ENGINE=InnoDB;
ALTER TABLE properties ENGINE=InnoDB, DROP id, DROP PRIMARY KEY, DROP KEY hi, DROP KEY ht, DROP KEY val_string, ADD PRIMARY KEY (tag,type,hierarchyid), ADD KEY hierarchyid (hierarchyid);
ALTER TABLE receivefolder ENGINE=InnoDB;
ALTER TABLE stores ENGINE=InnoDB;
ALTER TABLE usergroup_acl ENGINE=InnoDB;
ALTER TABLE users ENGINE=InnoDB, CHANGE externid externid VARBINARY(255), ADD KEY externid (externid);
