Project management & issue tracker database schema

A Jira-shaped tracker: projects with human-readable issue keys, subtasks through a self-reference, fractional board positions for drag-and-drop, labels, milestones, comments, attachments and a worklog.

Project Management ER diagram

Project management & issue tracker database schema n1 n1 n1 n1 n1 n1 n1 n1 n1 n1 n1 n1 n1 n1 n1 n1 n1 n1 users idBIGINT emailVARCHAR full_nameVARCHAR avatar_urlVARCHAR timezoneVARCHAR is_activeBOOLEAN created_atTIMESTAMP projects idBIGINT keyVARCHAR nameVARCHAR descriptionTEXT lead_idBIGINT statusVARCHAR issue_counterINTEGER created_atTIMESTAMP project_members project_idBIGINT user_idBIGINT roleVARCHAR added_atTIMESTAMP milestones idBIGINT project_idBIGINT nameVARCHAR descriptionTEXT starts_onDATE due_onDATE completed_atTIMESTAMP issues idBIGINT project_idBIGINT numberINTEGER parent_issue_idBIGINT milestone_idBIGINT titleVARCHAR descriptionTEXT issue_typeVARCHAR statusVARCHAR priorityVARCHAR reporter_idBIGINT assignee_idBIGINT estimate_pointsINTEGER board_positionNUMERIC due_onDATE created_atTIMESTAMP updated_atTIMESTAMP closed_atTIMESTAMP labels idBIGINT project_idBIGINT nameVARCHAR colorVARCHAR issue_labels issue_idBIGINT label_idBIGINT added_atTIMESTAMP issue_comments idBIGINT issue_idBIGINT author_idBIGINT bodyTEXT created_atTIMESTAMP edited_atTIMESTAMP deleted_atTIMESTAMP attachments idBIGINT issue_idBIGINT uploaded_by_idBIGINT storage_keyVARCHAR filenameVARCHAR mime_typeVARCHAR byte_sizeBIGINT created_atTIMESTAMP time_entries idBIGINT issue_idBIGINT user_idBIGINT minutesINTEGER spent_onDATE noteVARCHAR created_atTIMESTAMP

Related database schemas