Create table table_workers(id serial primary key,name text unique,position text);
CREATE TABLE table_tasks(id serial primary key,task text,parent_task integer,executor text,date_death_line date,date_start date,status text,foreign key (parent_task) references table_tasks(id),foreign key (executor) references table_workers(name));
Insert into table_workers values(1,'Ivanov Ivan Ivanovich','Developer');
Insert into table_workers values(2,'Петров Петр Петрович','Тестировщик');
Insert into table_tasks values(1,'Добавить личный кабинет на сайт',NULL,'Ivanov Ivan Ivanovich','2020-05-01','2020-04-19','Назначено');
Insert into table_tasks values(2,'Протестировать личный кабинет на сайте',NULL,'Петров Петр Петрович','2020-06-01','2020-05-02','Назначено');
image.src = '../resources/sky.jpg';