DROP TABLE IF EXISTS tng_temp_events;
CREATE TABLE `tng_temp_events` (
  `tempID` int(11) NOT NULL AUTO_INCREMENT,
  `type` char(1) NOT NULL,
  `gedcom` varchar(20) NOT NULL,
  `personID` varchar(22) NOT NULL,
  `familyID` varchar(22) NOT NULL,
  `eventID` varchar(10) NOT NULL,
  `eventdate` varchar(50) NOT NULL,
  `eventplace` text NOT NULL,
  `info` text NOT NULL,
  `note` text NOT NULL,
  `user` varchar(20) NOT NULL,
  `postdate` datetime NOT NULL,
  PRIMARY KEY (`tempID`),
  KEY `gedtype` (`gedcom`,`type`),
  KEY `user` (`user`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
