DROP TABLE IF EXISTS tng_associations;
CREATE TABLE `tng_associations` (
  `assocID` int NOT NULL AUTO_INCREMENT,
  `gedcom` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `personID` varchar(22) COLLATE utf8mb4_unicode_ci NOT NULL,
  `passocID` varchar(22) COLLATE utf8mb4_unicode_ci NOT NULL,
  `reltype` varchar(1) COLLATE utf8mb4_unicode_ci NOT NULL,
  `relationship` varchar(75) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`assocID`),
  KEY `assoc` (`gedcom`,`personID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
