 -- MySQL Script generated by MySQL Workbench
--- Sel 20 Des 2016 08:52:05  WIB
--- Model: New Model    Version: 1.0
+-- Sel 20 Des 2016 05:07:02  WIB
+-- Model: mdm    Version: 1.0
 -- MySQL Workbench Forward Engineering
 
 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;

CREATE TABLE IF NOT EXISTS `mdm`.`leave_comment` (
  `id` INT UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '',
  `leave_id` INT(11) NOT NULL COMMENT '',
  `employee_id` INT NOT NULL COMMENT '',
  `user_id` INT(11) NOT NULL COMMENT '',
  `created` DATETIME NULL COMMENT '',
  `comments` VARCHAR(255) NULL COMMENT '',

-- -----------------------------------------------------
-- Table `mdm`.`period_year`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `mdm`.`period_year` (
  `id` INT NOT NULL COMMENT '',
  `date_start` DATETIME NOT NULL COMMENT '',
