DROP TABLE IF EXISTS tng_repositories;
CREATE TABLE `tng_repositories` (
  `ID` int NOT NULL AUTO_INCREMENT,
  `repoID` varchar(22) COLLATE utf8mb4_unicode_ci NOT NULL,
  `reponame` varchar(90) COLLATE utf8mb4_unicode_ci NOT NULL,
  `gedcom` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `addressID` int NOT NULL,
  `changedate` datetime NOT NULL,
  `changedby` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`ID`),
  UNIQUE KEY `repoID` (`gedcom`,`repoID`),
  KEY `reponame` (`reponame`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
