 -- -----------------------------------------------------
 START TRANSACTION;
 USE `mydb`;
-INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`) VALUES (1, NULL, 1, 1, '2-101');
-INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`) VALUES (1, NULL, 1, 2, '2-102');
-INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`) VALUES (1, NULL, 2, 1, '2-103');
-INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`) VALUES (1, NULL, 2, 2, '2-104');
-INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`) VALUES (1, NULL, 2, 3, '2-105');
-INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`) VALUES (2, NULL, 1, 1, '2-106');
-INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`) VALUES (2, NULL, 1, 2, '2-107');
-INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`) VALUES (2, NULL, 1, 3, '2-108');
-INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`) VALUES (2, NULL, 2, 1, '2-109');
-INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`) VALUES (2, NULL, 2, 2, '2-110');
-INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`) VALUES (2, NULL, 2, 3, '2-111');
+INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`, `discriminator_column`) VALUES (1, NULL, 1, 1, '2-101', "DOMAIN");
+INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`, `discriminator_column`) VALUES (1, NULL, 1, 2, '2-102', "DOMAIN");
+INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`, `discriminator_column`) VALUES (1, NULL, 2, 1, '2-103', "DOMAIN");
+INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`, `discriminator_column`) VALUES (1, NULL, 2, 2, '2-104', "DOMAIN");
+INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`, `discriminator_column`) VALUES (1, NULL, 2, 3, '2-105', "DOMAIN");
+INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`, `discriminator_column`) VALUES (2, NULL, 1, 1, '2-106', "DOMAIN");
+INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`, `discriminator_column`) VALUES (2, NULL, 1, 2, '2-107', "DOMAIN");
+INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`, `discriminator_column`) VALUES (2, NULL, 1, 3, '2-108', "DOMAIN");
+INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`, `discriminator_column`) VALUES (2, NULL, 2, 1, '2-109', "DOMAIN");
+INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`, `discriminator_column`) VALUES (2, NULL, 2, 2, '2-110', "DOMAIN");
+INSERT INTO `mydb`.`fsm_desk` (`table_id`, `employee_id`, `table_row`, `table_col`, `desk_code`, `discriminator_column`) VALUES (2, NULL, 2, 3, '2-111', "DOMAIN");
 
 COMMIT;
 

  PRIMARY KEY (`id`),
  INDEX `fk_fsm_user_role_fsm_user1_idx` (`user_id` ASC),
  INDEX `fk_fsm_user_role_fsm_role1_idx` (`role_id` ASC),
  UNIQUE KEY `id_fsm_user_fsm_role` (`role_id`,`user_id`),
  CONSTRAINT `fk_fsm_user_role_fsm_user1`
    FOREIGN KEY (`user_id`)
    REFERENCES `mydb`.`fsm_user` (`id`)

  `top_left_y` INT(11) NOT NULL,
  `length` INT(11) NOT NULL,
  `width` INT(11) NOT NULL,
  `discriminator_column` VARCHAR(45) NULL,
  PRIMARY KEY (`id`),
  INDEX `fk_table_floor1_idx` (`floor_id` ASC),
  CONSTRAINT `fk_table_floor1`
