Direct Database Schema Overview

This guide provides an overview of the various entities included in our Direct Database Integration, detailing their attributes, types, and relationships with other entities, known as joined entities. This schema guide is designed to offer clarity and insight into the structure and interconnections between our database entity views.

Members

Table ID: members

Details employee profiles, including roles, departments, and other HR-related information. Fields include employee ID, name, department ID, role ID, and employment status.

Attribute FieldAttribute TypeDescription
idbigintID of the Member.
archived_atdatetimeThe date and time this Member was archived.
emailstringThe email of the Member.
employment_typestringThe type of employee this Member is.
first_namestringThe first name of the Member.
last_namestringThe last name of the Member.

Phases

Table ID: phases

A distinct stage within a project's lifecycle that is marked by a set of tasks, goals, and milestones. Fields include phase ID, name, start and end dates, budget information, and status.

Attribute FieldAttribute TypeForeign KeyDescription
idbigintID of the Phase.
archived_atdatetimeThe date and time this Phase was archived.
bill_rate_typestringDescribes how billing rates are determined for work performed.
billablebooleanSpecifies if the work performed is billable or not.
budget_statusstringSpecifies whether the Work Category is Active or not.
contract_typestringSpecifies if the contract is hourly or fixed.
created_atdatetimeThe date and time this Work Category was created.
currency_budgetnumericEstimated amount this Phase will cost.
end_datedatetimeThe end date for this Phase.
feenumericThe total budget for the Phase.
hours_budgetnumericThe estimated amount of hours this Phase will take.
is_budgetbooleanSpecifies if the Phase is a Phase or a Milestone. If true, then it’s a Phase . If false, then it’s a Milestone.
is_defaultbooleanSpecifies if the Phase is the default.
is_mainbooleanSpecifies if it’s the main Phase of the Project.
namestringName of the Phase.
phase_numberstringThe number of the phase.
project_idbigintprojects.idID of the Project.
start_datedatetimeThe start date for this Phase.
updated_atdatetimeThe date and time this Phase was last updated.

Project Memberships

Table ID: project_memberships

Tracks the association of team members with specific projects, crucial for resource planning and allocation. Includes fields for project ID, employee ID, and role.

Attribute FieldAttribute TypeForeign KeyDescription
idbigintID of the Project Membership.
archived_atdatetimeThe date and time this Project Membership was archived.
created_atdatetimeThe date and time this Project Membership was created.
member_idbigintmembers.idID of the Member.
project_idbigintprojects.idID of the Project.
updated_atdatetimeThe date and time this Project Membership was last updated.

Project Scopes

Table ID: project_scopes

Attribute FieldAttribute TypeForeign KeyDescription
idbigintID of the Project Scope.
created_atdatetimeThe date and time this Project Scope was created.
descriptionstringA description for the Project Scope.
member_idbigintmembers.idID of the Member.
phase_idbigintphases.idID of the Phase.
project_idbigintprojects.idID of the Project.
standard_work_category_idbigintstandard_work_categories.idID of the Standard Work Category.
updated_atdatetimeThe date and time this Project Scope was last updated.
work_category_idbigintwork_categories.idID of the Work Category.

Project Task Assignments

Table ID: project_task_assignments

Attribute FieldAttribute TypeForeign KeyDescription
idbigintID of the Project Task Assignment.
archived_atdatetimeThe date and time this Project Task Assignment was archived.
assignee_idbigintmembers.idID of the Member who is assigned to this Project Task Assignment.
assigner_idbigintmembers.idID of the Member who assigned this Project Task Assignment.
created_atdatetimeThe date and time this Project Task Assignment was created.
project_membership_idbigintproject_memberships.idID of the Project Membership.
project_task_idbigintproject_tasks.idID of the Project Task.
updated_atdatetimeThe date and time this Project Task Assignment was last updated.

Project Tasks

Table ID: project_tasks

Details individual tasks within projects, including description, assigned members, deadlines, and current status. This table is essential for tracking project progress and task completion.

Attribute FieldAttribute TypeForeign KeyDescription
idbigintID of the Project Task.
activity_phase_sort_rankbigintUsed to rank the tasks in the Work Category.
archived_atdatetimeThe date and time this Project Task was archived.
completed_atdatetimeThe date and time this entity was completed.
created_atdatetimeThe date and time this Project Task was created.
descriptionstringA description for the Project Task.
estimated_hoursnumericThe estimated amount of hours this Project Task will take.
member_idbigintmembers.idID of the Member.
phase_idbigintphases.idID of the Phase.
project_idbigintprojects.idID of the Project.
standard_work_category_idbigintstandard_work_categories.idID of the Standard Work Category.
task_group_sort_rankbigintUsed to rank the task in the Task Group.
task_list_idbiginttask_lists.idID of the Task List.
updated_atdatetimeThe date and time this Project Task was last updated.
work_category_idbigintwork_categories.idID of the Work Category.

Projects

Table ID: projects

Central to project management, containing details on individual projects. Fields include project ID, name, budget information, and status.

Attribute FieldAttribute TypeDescription
idbigintID of the Project.
archived_atdatetimeThe date and time this Project was archived.
billablebooleanSpecifies if the work performed is billable or not.
created_atdatetimeThe date and time this Project was created.
descriptionstringA description for the Project.
project_numberstringThe number of the Project.
titlestringTitle of the Project.
updated_atdatetimeThe date and time this Project was last updated.

Standard Work Categories

Table ID: standard_work_categories

A system used to categorize and track the work performed by employees or contractors. Fields include activity ID, name, start and end dates, budget information, and status.

Attribute FieldAttribute TypeDescription
idbigintID of the Standard Work Category.
archivedbooleanSpecifies whether this Standard Work Category is archived or not.
billablebooleanSpecifies if the work performed is billable or not.
created_atdatetimeThe date and time this Standard Work Category was created.
is_custombooleanSpecifies whether this Standard Work Category is custom to this team or not.
is_defaultbooleanSpecifies if the Standard Work Category is the default.
titlestringTitle of the Standard Work Category.
updated_atdatetimeThe date and time this Standard Work Category was last updated.

Task Lists

Table ID: task_lists

Manages lists of tasks, serving as a breakdown structure for project activities and deliverables. Fields include task list ID, associated project ID, and task list description.

Attribute FieldAttribute TypeForeign KeyDescription
idbigintID of the Task List.
created_atdatetimeThe date and time this Task List was created.
namestringName of the Task List.
project_idbigintprojects.idID of the Project.
updated_atdatetimeThe date and time this Task List was last updated.

Time Entries

Table ID: time_entries

Tracks time spent on work for a project, crucial for billing, productivity analysis, and resource allocation.

Attribute FieldAttribute TypeForeign KeyDescription
idbigintID of the Time Entry.
billablebooleanSpecifies if the work performed is billable or not.
cost_ratenumericSpecifies the cost rate for the Time Entry.
created_atdatetimeThe date and time this Time Entry was created.
datedatetimeSpecifies the date for the Time Entry.
descriptionstringA description for the Project Scope.
hoursnumericThe amount of hours for this Time Entry.
member_idbigintmembers.idID of the Member.
phase_idbigintphases.idID of the Phase.
project_idbigintprojects.idID of the Project.
ratenumericThe bill rate for this Time Entry.
standard_work_category_idbigintstandard_work_categories.idID of the Standard Work Category.
statusstringThe status of the Time Entry.
updated_atdatetimeThe date and time this Time Entry was last updated.
work_category_idbigintwork_categories.idID of the Work Category.

Work Categories

Table ID: work_categories

Attribute FieldAttribute TypeForeign KeyDescription
idbigintID of the Work Category.
archived_atdatetimeThe date and time this Work Category was archived.
billablebooleanSpecifies if the work performed is billable or not.
budget_statusstringSpecifies whether the Work Category is Active or not.
cost_rate_multipliernumericThe rate multiplier for the cost rates.
created_atdatetimeThe date and time this Work Category was created.
end_datedatetimeThe end date for this Work Category.
estimated_costnumericEstimated amount this Work Category will cost.
estimated_hoursnumericThe estimated amount of hours this Work Category will take.
is_defaultbooleanSpecifies if the Work Category is the default.
phase_idbigintphases.idID of the Phase.
project_idbigintprojects.idID of the Project.
rate_multipliernumericThe rate multiplier for the bill rates.
standard_work_category_idbigintstandard_work_categories.idID of the Standard Work Category.
start_datedatetimeThe start date for this Work Category.
totalnumericThe total budget for the Work Category.
updated_atdatetimeThe date and time this Work Category was last updated.

Work Plans

Table ID: work_plans

Strategic planning of work for a project, guiding project execution and alignment with objectives.

Attribute FieldAttribute TypeForeign KeyDescription
idbigintID of the Work Plan.
created_atdatetimeThe date and time this Work Plan was created.
daily_hoursnumericThe total amount of hours allocated each day for this Work Plan.
descriptionstringA description for the Work Plan.
end_datedatetimeThe end date for this Work Plan.
member_idbigintmembers.idID of the Member.
phase_idbigintphases.idID of the Phase.
project_idbigintprojects.idID of the Project.
standard_work_category_idbigintstandard_work_categories.idID of the Standard Work Category.
start_datedatetimeThe start date for this Work Plan.
total_hoursnumericThe total amount of hours for this Work Plan.
updated_atdatetimeThe date and time this Work Plan was last updated.
work_category_idbigintwork_categories.idID of the Work Category.