 -- NOTE: Please, don't add sentence to create database in this script file.
 --       You can create database locally to test it.
 --       Consider add ';' at end sentence.
-
-CREATE TYPE types AS ENUM ('boss', 'employee');
 
 CREATE TABLE employee_department(
   id serial PRIMARY KEY,

INSERT INTO employee_employee_hobby (employee_id,employee_hobby_id) VALUES ('4','1');
INSERT INTO employee_employee_hobby (employee_id,employee_hobby_id) VALUES ('4','2');

INSERT INTO employee_employee_hobby (employee_id,employee_hobby_id) VALUES ('5','3');
INSERT INTO employee_employee_hobby (employee_id,employee_hobby_id) VALUES ('5','1');




  firs_name VARCHAR (50) NOT NULL,
  last_name VARCHAR (50) NOT NULL,
  department_id integer NOT NULL,
  boss_id serial NOT NULL,

  FOREIGN KEY (department_id) REFERENCES employee_department
      ON DELETE CASCADE ON UPDATE CASCADE,
