CREATE TABLE workers_positions(id serial primary key, title text);
INSERT INTO workers_positions(title) VALUES ('backend-разработчик'), ('frontend-разработчик'), ('тестировщик');
CREATE TABLE workers(personal_number serial, full_name text, position integer REFERENCES workers_positions (id), hired_at timestamp, dismissed_at timestamp);