-- PLEASE DO NOT EDIT THIS CODE -- This code was generated using the UMPLE 1.35.0.7523.c616a4dce modeling language! CREATE DATABASE IF NOT EXISTS `example`; USE `example`; CREATE TABLE IF NOT EXISTS `example`.`mentor` ( /*------------------------*/ /* MEMBER VARIABLES */ /*------------------------*/ /*mentor Associations*/ student_name VARCHAR(255), /*mentor Attributes*/ name VARCHAR(255), id VARCHAR(255), PRIMARY KEY(name) ); ALTER TABLE `example`.`mentor` ADD CONSTRAINT `fk_mentor_student_name` FOREIGN KEY (`student_name`) REFERENCES `example`.`student`(`name`); -- PLEASE DO NOT EDIT THIS CODE -- This code was generated using the UMPLE 1.35.0.7523.c616a4dce modeling language! CREATE DATABASE IF NOT EXISTS `example`; USE `example`; CREATE TABLE IF NOT EXISTS `example`.`student` ( /*------------------------*/ /* MEMBER VARIABLES */ /*------------------------*/ /*student Associations*/ mentor_name VARCHAR(255), /*student Attributes*/ name VARCHAR(255), number INT, PRIMARY KEY(name) ); ALTER TABLE `example`.`student` ADD CONSTRAINT `fk_student_mentor_name` FOREIGN KEY (`mentor_name`) REFERENCES `example`.`mentor`(`name`);