 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 '',
+  `employee_id` INT NULL COMMENT '',
   `user_id` INT(11) NOT NULL COMMENT '',
   `created` DATETIME NULL COMMENT '',
   `comments` VARCHAR(255) NULL COMMENT '',

  PRIMARY KEY (`id`, `date_start`)  COMMENT '',
  UNIQUE INDEX `date_start_UNIQUE` (`date_start` ASC)  COMMENT '')
ENGINE = InnoDB;
*/

-- -----------------------------------------------------
-- Table `mdm`.`leave_type`

-- -----------------------------------------------------
-- Table `mdm`.`employee`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `mdm`.`employee` (
  `id` INT NOT NULL COMMENT '',
  `employee_number` VARCHAR(255) NOT NULL COMMENT '',
