DROP TABLE IF EXISTS tng_branchlinks;
CREATE TABLE `tng_branchlinks` (
  `ID` int NOT NULL AUTO_INCREMENT,
  `branch` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `gedcom` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `persfamID` varchar(22) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`ID`),
  UNIQUE KEY `branch` (`gedcom`,`branch`,`persfamID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
