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

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

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

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 Scope

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

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

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

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

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

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

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.