-- 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_number VARCHAR(255), /*mentor Attributes*/ name VARCHAR(255), PRIMARY KEY(name) ); ALTER TABLE `example`.`mentor` ADD CONSTRAINT `fk_mentor_student_number` FOREIGN KEY (`student_number`) REFERENCES `example`.`student`(`number`); -- 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 Attributes*/ number VARCHAR(255), PRIMARY KEY(number) );