CREATE TABLE `vn`.`mdbApp` ( `app` varchar(100) COLLATE utf8mb3_unicode_ci NOT NULL, `baselineBranchFk` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL, `userFk` int(10) unsigned DEFAULT NULL, `locked` datetime DEFAULT NULL, PRIMARY KEY (`app`), KEY `mdbApp_FK` (`userFk`), KEY `mdbApp_FK_1` (`baselineBranchFk`), CONSTRAINT `mdbApp_FK` FOREIGN KEY (`userFk`) REFERENCES `account`.`user` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, CONSTRAINT `mdbApp_FK_1` FOREIGN KEY (`baselineBranchFk`) REFERENCES `mdbBranch` (`name`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci