/*UPDATEREVISION*/
INSERT INTO site (`setting`, `value`, `updateddate` ) VALUES ('dbversion', '$Rev: 3515 $', now()) ON DUPLICATE KEY UPDATE `value` = VALUES(`value`), updateddate=now();

/*PATCHHERE*/
create index ix_episodeinfo_mazeID on episodeinfo (mazeID);
create index ix_episodeinfo_tvinfoID on episodeinfo (tvinfoID);