Thunderhead — Data Warehouse Schema

Last refreshed: 2026-08-14 00:27:45 UTC · 7 schemas · 144 tables · 8 views · 70 curated + 84 auto-detected relationships force refresh
scroll to zoom · drag to pan · double-click to reset · solid line = curated link · dashed = auto-detected
scroll to zoom · drag to pan · double-click to reset · solid line = curated link · dashed = auto-detected
scroll to zoom · drag to pan · double-click to reset · solid line = curated link · dashed = auto-detected
scroll to zoom · drag to pan · double-click to reset · solid line = curated link · dashed = auto-detected
scroll to zoom · drag to pan · double-click to reset · solid line = curated link · dashed = auto-detected
scroll to zoom · drag to pan · double-click to reset · solid line = curated link · dashed = auto-detected
scroll to zoom · drag to pan · double-click to reset · solid line = curated link · dashed = auto-detected
scroll to zoom · drag to pan · double-click to reset · solid line = curated link · dashed = auto-detected

analytics

analytics.ai_insights table 7 cols

columntypenullkeyreferences
idbigintNOT NULLPK
generated_attimestamp with time zoneNOT NULL
categorytext
titletext
bodytext
metricsjsonb
modeltext

analytics.qbo_ar_aging view 5 cols

columntypenullkeyreferences
age_buckettext
invoice_countbigint
total_arnumeric
min_daysinteger
max_daysinteger

analytics.qbo_blended_burden_rate view 4 cols

columntypenullkeyreferences
rate_scopetext
labor_expense_totalnumeric
total_hoursnumeric
burden_rate_per_hournumeric

analytics.qbo_customer_profitability view 9 cols

columntypenullkeyreferences
customer_idtextFKqbo.customers.id
customer_nametext
revenue_invoicesnumeric
invoice_countbigint
revenue_paymentsnumeric
payment_countbigint
total_revenuenumeric
total_costnumeric
margin_percentnumeric

analytics.wo_media view 5 cols

columntypenullkeyreferences
wo_keytextFKwo.work_orders.wo_key
wo_numberbigint
customertext
imagesbigint
attachmentsbigint

analytics.wo_overview view 11 cols

columntypenullkeyreferences
wo_keytextFKwo.work_orders.wo_key
wo_numberbigint
wo_revisioninteger
customertext
asset_idbigintFKreporting.assets.id
asset_nametext
is_placeholderboolean
dyno_runsbigint
best_stp_hpnumeric
best_stp_torquenumeric
best_hp_runtext

dyno

dyno.files table 8 cols

columntypenullkeyreferences
pathtextNOT NULLPK
run_idbigintFKdyno.runs.id
sourcetext
sha256text
size_bytesbigint
nsinteger
mtimetimestamp with time zone
ingested_attimestamp with time zoneNOT NULL

dyno.ingest_issues table 9 cols

columntypenullkeyreferences
idbigintNOT NULLPK
run_keytextFKdyno.runs.run_key
wo_keytextFKwo.work_orders.wo_key
pathtext
sourcetext
severitytext
issuetext
detailjsonb
created_attimestamp with time zoneNOT NULL

dyno.runs table 46 cols

columntypenullkeyreferences
idbigintNOT NULLPK
run_keytextNOT NULL
wo_numberbigint
work_order_idbigintFKreporting.work_orders.id
work_order_foldertext
test_nametext
engine_serialtext
run_datetimestamp with time zone
borenumeric
strokenumeric
cylindersnumeric
cyclenumeric
displacementnumeric
fuel_sgnumeric
inertianumeric
air_tempnumeric
humiditynumeric
baronumeric
vap_pnumeric
stp_cornumeric
sae_cornumeric
rpm_lowernumeric
rpm_uppernumeric
rpm_stepnumeric
ns_sfdinteger
ns_rawinteger
peak_hpnumeric
peak_hp_rpmnumeric
peak_torquenumeric
peak_torque_rpmnumeric
peak_stp_hpnumeric
peak_stp_hp_rpmnumeric
peak_stp_torquenumeric
peak_stp_torque_rpmnumeric
has_torqueboolean
has_afrboolean
is_best_hpbooleanNOT NULL
is_best_torquebooleanNOT NULL
rawjsonbNOT NULL
updated_attimestamp with time zone
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone
wo_revisioninteger
asset_idbigintFKreporting.assets.id
customertext
wo_keytextFKwo.work_orders.wo_key

dyno.samples table 16 cols

columntypenullkeyreferences
run_idbigintNOT NULLPKFKdyno.runs.id
sourcetextNOT NULLPK
kintegerNOT NULLPK
rpmnumeric
torquenumeric
hpnumeric
stp_torquenumeric
stp_hpnumeric
afr1numeric
afr2numeric
oil_pnumeric
fuel_pnumeric
servonumeric
accelnumeric
tstimenumeric
valuesjsonb

media

media.attachments table 16 cols

columntypenullkeyreferences
idbigintNOT NULLPK
entity_typetext
entity_idbigintFKreporting.assets.id, reporting.work_orders.id
wo_keytextFKwo.work_orders.wo_key
file_nametext
content_typetext
size_bytesbigint
sha256text
is_imageboolean
s3_buckettext
s3_keytext
source_url_hosttext
created_attimestamp with time zone
rawjsonbNOT NULL
backed_up_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

public

public.alert table 21 cols

columntypenullkeyreferences
idintegerNOT NULLPK
versionbigintNOT NULL
dashboard_idbigintNOT NULLFKpublic.dashboard.id
panel_idbigintNOT NULL
org_idbigintNOT NULLFKpublic.org.id
namecharacter varyingNOT NULL
messagetextNOT NULL
statecharacter varyingNOT NULL
settingstextNOT NULL
frequencybigintNOT NULL
handlerbigintNOT NULL
severitytextNOT NULL
silencedbooleanNOT NULL
execution_errortextNOT NULL
eval_datatext
eval_datetimestamp without time zone
new_state_datetimestamp without time zoneNOT NULL
state_changesintegerNOT NULL
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
forbigint

public.alert_configuration table 7 cols

columntypenullkeyreferences
idintegerNOT NULLPK
alertmanager_configurationtextNOT NULL
configuration_versioncharacter varyingNOT NULL
created_atintegerNOT NULL
defaultbooleanNOT NULL
org_idbigintNOT NULLFKpublic.org.id
configuration_hashcharacter varyingNOT NULL

public.alert_configuration_history table 8 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
alertmanager_configurationtextNOT NULL
configuration_hashcharacter varyingNOT NULL
configuration_versioncharacter varyingNOT NULL
created_atintegerNOT NULL
defaultbooleanNOT NULL
last_appliedintegerNOT NULL

public.alert_image table 6 cols

columntypenullkeyreferences
idintegerNOT NULLPK
tokencharacter varyingNOT NULL
pathcharacter varyingNOT NULL
urlcharacter varyingNOT NULL
created_attimestamp without time zoneNOT NULL
expires_attimestamp without time zoneNOT NULL

public.alert_instance table 17 cols

columntypenullkeyreferences
rule_org_idbigintNOT NULLPK
rule_uidcharacter varyingNOT NULLPK
labelstextNOT NULL
labels_hashcharacter varyingNOT NULLPK
current_statecharacter varyingNOT NULL
current_state_sincebigintNOT NULL
last_eval_timebigintNOT NULL
current_state_endbigintNOT NULL
current_reasoncharacter varying
result_fingerprintcharacter varying
resolved_atbigint
last_sent_atbigint
fired_atbigint
annotationstext
evaluation_duration_nsbigint
last_errorcharacter varying
last_resulttext

public.alert_notification table 13 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
namecharacter varyingNOT NULL
typecharacter varyingNOT NULL
settingstextNOT NULL
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
is_defaultbooleanNOT NULL
frequencybigint
send_reminderboolean
disable_resolve_messagebooleanNOT NULL
uidcharacter varying
secure_settingstext

public.alert_notification_state table 8 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
alert_idbigintNOT NULLFKpublic.alert.id
notifier_idbigintNOT NULL
statecharacter varyingNOT NULL
versionbigintNOT NULL
updated_atbigintNOT NULL
alert_rule_state_updated_versionbigintNOT NULL

public.alert_rule table 29 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
titlecharacter varyingNOT NULL
conditioncharacter varyingNOT NULL
datatextNOT NULL
updatedtimestamp without time zoneNOT NULL
interval_secondsbigintNOT NULL
versionintegerNOT NULL
uidcharacter varyingNOT NULL
namespace_uidcharacter varyingNOT NULL
rule_groupcharacter varyingNOT NULL
no_data_statecharacter varyingNOT NULL
exec_err_statecharacter varyingNOT NULL
forbigintNOT NULL
annotationstext
labelstext
dashboard_uidcharacter varying
panel_idbigint
rule_group_idxbigintNOT NULL
is_pausedbooleanNOT NULL
notification_settingstext
recordtext
metadatatext
updated_bycharacter varying
guidcharacter varyingNOT NULL
keep_firing_forbigintNOT NULL
missing_series_evals_to_resolvesmallint
folder_fullpathcharacter varying
alert_routing_policycharacter varying

public.alert_rule_state table 5 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
rule_uidcharacter varyingNOT NULL
databyteaNOT NULL
updated_attimestamp without time zoneNOT NULL

public.alert_rule_tag table 3 cols

columntypenullkeyreferences
idintegerNOT NULLPK
alert_idbigintNOT NULLFKpublic.alert.id
tag_idbigintNOT NULLFKpublic.tag.id

public.alert_rule_version table 29 cols

columntypenullkeyreferences
idintegerNOT NULLPK
rule_org_idbigintNOT NULLFKpublic.org.id
rule_uidcharacter varyingNOT NULL
rule_namespace_uidcharacter varyingNOT NULL
rule_groupcharacter varyingNOT NULL
parent_versionintegerNOT NULL
restored_fromintegerNOT NULL
versionintegerNOT NULL
createdtimestamp without time zoneNOT NULL
titlecharacter varyingNOT NULL
conditioncharacter varyingNOT NULL
datatextNOT NULL
interval_secondsbigintNOT NULL
no_data_statecharacter varyingNOT NULL
exec_err_statecharacter varyingNOT NULL
forbigintNOT NULL
annotationstext
labelstext
rule_group_idxbigintNOT NULL
is_pausedbooleanNOT NULL
messagetext
notification_settingstext
recordtext
metadatatext
created_bycharacter varying
rule_guidcharacter varyingNOT NULL
keep_firing_forbigintNOT NULL
missing_series_evals_to_resolvesmallint
alert_routing_policycharacter varying

public.annotation table 21 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
alert_idbigintFKpublic.alert.id
user_idbigintFKpublic.user.id
dashboard_idbigintFKpublic.dashboard.id
panel_idbigint
category_idbigint
typecharacter varyingNOT NULL
titletextNOT NULL
texttextNOT NULL
metriccharacter varying
prev_statecharacter varyingNOT NULL
new_statecharacter varyingNOT NULL
datatextNOT NULL
epochbigintNOT NULL
region_idbigint
tagscharacter varying
createdbigint
updatedbigint
epoch_endbigintNOT NULL
dashboard_uidcharacter varying

public.annotation_tag table 3 cols

columntypenullkeyreferences
idintegerNOT NULLPK
annotation_idbigintNOT NULLFKpublic.annotation.id
tag_idbigintNOT NULLFKpublic.tag.id

public.anon_device table 6 cols

columntypenullkeyreferences
idintegerNOT NULLPK
client_ipcharacter varyingNOT NULL
created_attimestamp without time zoneNOT NULL
device_idcharacter varyingNOT NULL
updated_attimestamp without time zoneNOT NULL
user_agentcharacter varyingNOT NULL

public.api_key table 11 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
namecharacter varyingNOT NULL
keycharacter varyingNOT NULL
rolecharacter varyingNOT NULL
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
expiresbigint
service_account_idbigint
last_used_attimestamp without time zone
is_revokedboolean

public.builtin_role table 6 cols

columntypenullkeyreferences
idintegerNOT NULLPK
rolecharacter varyingNOT NULL
role_idbigintNOT NULLFKpublic.role.id
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
org_idbigintNOT NULLFKpublic.org.id

public.cache_data table 4 cols

columntypenullkeyreferences
cache_keycharacter varyingNOT NULLPK
databyteaNOT NULL
expiresintegerNOT NULL
created_atintegerNOT NULL

public.cloud_migration_resource table 10 cols

columntypenullkeyreferences
idintegerNOT NULLPK
uidcharacter varyingNOT NULL
resource_typecharacter varyingNOT NULL
resource_uidcharacter varyingNOT NULL
statuscharacter varyingNOT NULL
error_stringtext
snapshot_uidcharacter varyingNOT NULL
nametext
parent_nametext
error_codetext

public.cloud_migration_session table 10 cols

columntypenullkeyreferences
idintegerNOT NULLPK
uidcharacter varying
auth_tokentext
slugtextNOT NULL
stack_idbigintNOT NULL
region_slugtextNOT NULL
cluster_slugtextNOT NULL
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
org_idbigintNOT NULLFKpublic.org.id

public.cloud_migration_snapshot table 16 cols

columntypenullkeyreferences
idintegerNOT NULLPK
uidcharacter varying
session_uidcharacter varying
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
finishedtimestamp without time zone
upload_urltext
statustextNOT NULL
local_directorytext
gms_snapshot_uidtext
encryption_keytext
error_stringtext
resource_storage_typecharacter varying
encryption_algocharacter varying
metadatabytea
public_keybytea

public.cloud_migration_snapshot_partition table 4 cols

columntypenullkeyreferences
snapshot_uidcharacter varyingNOT NULLPK
partition_numberintegerNOT NULLPK
resource_typecharacter varyingNOT NULLPK
databyteaNOT NULL

public.correlation table 9 cols

columntypenullkeyreferences
uidcharacter varyingNOT NULLPK
org_idbigintNOT NULLPK
source_uidcharacter varyingNOT NULLPK
target_uidcharacter varying
labeltextNOT NULL
descriptiontextNOT NULL
configtext
provisionedbooleanNOT NULL
typecharacter varyingNOT NULL

public.dashboard table 20 cols

columntypenullkeyreferences
idintegerNOT NULLPK
versionintegerNOT NULL
slugcharacter varyingNOT NULL
titlecharacter varyingNOT NULL
datatextNOT NULL
org_idbigintNOT NULLFKpublic.org.id
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
updated_byinteger
created_byinteger
gnet_idbigint
plugin_idcharacter varying
folder_idbigintNOT NULLFKpublic.folder.id
is_folderbooleanNOT NULL
has_aclbooleanNOT NULL
uidcharacter varying
is_publicbooleanNOT NULL
deletedtimestamp without time zone
api_versioncharacter varying
folder_uidcharacter varying

public.dashboard_acl table 9 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
dashboard_idbigintNOT NULLFKpublic.dashboard.id
user_idbigintFKpublic.user.id
team_idbigintFKpublic.team.id
permissionsmallintNOT NULL
rolecharacter varying
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL

public.dashboard_provisioning table 6 cols

columntypenullkeyreferences
idintegerNOT NULLPK
dashboard_idbigintFKpublic.dashboard.id
namecharacter varyingNOT NULL
external_idtextNOT NULL
updatedintegerNOT NULL
check_sumcharacter varying

public.dashboard_public table 14 cols

columntypenullkeyreferences
uidcharacter varyingNOT NULLPK
dashboard_uidcharacter varyingNOT NULL
org_idbigintNOT NULLFKpublic.org.id
time_settingstext
template_variablestext
access_tokencharacter varyingNOT NULL
created_byintegerNOT NULL
updated_byinteger
created_attimestamp without time zoneNOT NULL
updated_attimestamp without time zone
is_enabledbooleanNOT NULL
annotations_enabledbooleanNOT NULL
time_selection_enabledbooleanNOT NULL
sharecharacter varyingNOT NULL

public.dashboard_snapshot table 14 cols

columntypenullkeyreferences
idintegerNOT NULLPK
namecharacter varyingNOT NULL
keycharacter varyingNOT NULL
delete_keycharacter varyingNOT NULL
org_idbigintNOT NULLFKpublic.org.id
user_idbigintNOT NULLFKpublic.user.id
externalbooleanNOT NULL
external_urlcharacter varyingNOT NULL
dashboardtextNOT NULL
expirestimestamp without time zoneNOT NULL
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
external_delete_urlcharacter varying
dashboard_encryptedbytea

public.dashboard_tag table 5 cols

columntypenullkeyreferences
idintegerNOT NULLPK
dashboard_idbigintNOT NULLFKpublic.dashboard.id
termcharacter varyingNOT NULL
dashboard_uidcharacter varying
org_idbigintFKpublic.org.id

public.dashboard_version table 10 cols

columntypenullkeyreferences
idintegerNOT NULLPK
dashboard_idbigintNOT NULLFKpublic.dashboard.id
parent_versionintegerNOT NULL
restored_fromintegerNOT NULL
versionintegerNOT NULL
createdtimestamp without time zoneNOT NULL
created_bybigintNOT NULL
messagetextNOT NULL
datatextNOT NULL
api_versioncharacter varying

public.data_keys table 8 cols

columntypenullkeyreferences
namecharacter varyingNOT NULLPK
activebooleanNOT NULL
scopecharacter varyingNOT NULL
providercharacter varyingNOT NULL
encrypted_databyteaNOT NULL
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
labelcharacter varyingNOT NULL

public.data_source table 23 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
versionintegerNOT NULL
typecharacter varyingNOT NULL
namecharacter varyingNOT NULL
accesscharacter varyingNOT NULL
urlcharacter varyingNOT NULL
passwordcharacter varying
usercharacter varying
databasecharacter varying
basic_authbooleanNOT NULL
basic_auth_usercharacter varying
basic_auth_passwordcharacter varying
is_defaultbooleanNOT NULL
json_datatext
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
with_credentialsbooleanNOT NULL
secure_json_datatext
read_onlyboolean
uidcharacter varyingNOT NULL
is_prunableboolean
api_versioncharacter varying

public.entity_event table 4 cols

columntypenullkeyreferences
idintegerNOT NULLPK
entity_idcharacter varyingNOT NULL
event_typecharacter varyingNOT NULL
createdbigintNOT NULL

public.file table 11 cols

columntypenullkeyreferences
pathcharacter varyingNOT NULL
path_hashcharacter varyingNOT NULLPK
parent_folder_path_hashcharacter varyingNOT NULL
contentsbyteaNOT NULL
etagcharacter varyingNOT NULL
cache_controlcharacter varyingNOT NULL
content_dispositioncharacter varyingNOT NULL
updatedtimestamp without time zoneNOT NULL
createdtimestamp without time zoneNOT NULL
sizebigintNOT NULL
mime_typecharacter varyingNOT NULL

public.file_meta table 3 cols

columntypenullkeyreferences
path_hashcharacter varyingNOT NULLPK
keycharacter varyingNOT NULLPK
valuecharacter varyingNOT NULL

public.folder table 8 cols

columntypenullkeyreferences
idintegerNOT NULLPK
uidcharacter varyingNOT NULL
org_idbigintNOT NULLFKpublic.org.id
titlecharacter varyingNOT NULL
descriptioncharacter varying
parent_uidcharacter varying
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL

public.kv_store table 7 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
namespacecharacter varyingNOT NULL
keycharacter varyingNOT NULL
valuetextNOT NULL
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL

public.library_element table 15 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
folder_idbigintNOT NULLFKpublic.folder.id
uidcharacter varyingNOT NULL
namecharacter varyingNOT NULL
kindbigintNOT NULL
typecharacter varyingNOT NULL
descriptioncharacter varyingNOT NULL
modeltextNOT NULL
createdtimestamp without time zoneNOT NULL
created_bybigintNOT NULL
updatedtimestamp without time zoneNOT NULL
updated_bybigintNOT NULL
versionbigintNOT NULL
folder_uidcharacter varying

public.library_element_connection table 6 cols

columntypenullkeyreferences
idintegerNOT NULLPK
element_idbigintNOT NULL
kindbigintNOT NULL
connection_idbigintNOT NULL
createdtimestamp without time zoneNOT NULL
created_bybigintNOT NULL

public.login_attempt table 4 cols

columntypenullkeyreferences
idintegerNOT NULLPK
usernamecharacter varyingNOT NULL
ip_addresscharacter varyingNOT NULL
createdbigintNOT NULL

public.migration_log table 6 cols

columntypenullkeyreferences
idintegerNOT NULLPK
migration_idcharacter varyingNOT NULL
sqltextNOT NULL
successbooleanNOT NULL
errortextNOT NULL
timestamptimestamp without time zoneNOT NULL

public.ngalert_configuration table 7 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
alertmanagerstext
created_atintegerNOT NULL
updated_atintegerNOT NULL
send_alerts_tosmallintNOT NULL
external_alertmanager_uidcharacter varying

public.org table 12 cols

columntypenullkeyreferences
idintegerNOT NULLPK
versionintegerNOT NULL
namecharacter varyingNOT NULL
address1character varying
address2character varying
citycharacter varying
statecharacter varying
zip_codecharacter varying
countrycharacter varying
billing_emailcharacter varying
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL

public.org_user table 6 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
user_idbigintNOT NULLFKpublic.user.id
rolecharacter varyingNOT NULL
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL

public.pending_tenant_deletions table 2 cols

columntypenullkeyreferences
key_pathcharacter varyingNOT NULLPK
valuetextNOT NULL

public.permission table 10 cols

columntypenullkeyreferences
idintegerNOT NULLPK
role_idbigintNOT NULLFKpublic.role.id
actioncharacter varyingNOT NULL
scopecharacter varyingNOT NULL
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
kindcharacter varyingNOT NULL
attributecharacter varyingNOT NULL
identifiercharacter varyingNOT NULL
datasource_typecharacter varying

public.pg_stat_statements view 52 cols

columntypenullkeyreferences
useridoid
dbidoid
toplevelboolean
queryidbigint
querytext
plansbigint
total_plan_timedouble precision
min_plan_timedouble precision
max_plan_timedouble precision
mean_plan_timedouble precision
stddev_plan_timedouble precision
callsbigint
total_exec_timedouble precision
min_exec_timedouble precision
max_exec_timedouble precision
mean_exec_timedouble precision
stddev_exec_timedouble precision
rowsbigint
shared_blks_hitbigint
shared_blks_readbigint
shared_blks_dirtiedbigint
shared_blks_writtenbigint
local_blks_hitbigint
local_blks_readbigint
local_blks_dirtiedbigint
local_blks_writtenbigint
temp_blks_readbigint
temp_blks_writtenbigint
shared_blk_read_timedouble precision
shared_blk_write_timedouble precision
local_blk_read_timedouble precision
local_blk_write_timedouble precision
temp_blk_read_timedouble precision
temp_blk_write_timedouble precision
wal_recordsbigint
wal_fpibigint
wal_bytesnumeric
wal_buffers_fullbigint
jit_functionsbigint
jit_generation_timedouble precision
jit_inlining_countbigint
jit_inlining_timedouble precision
jit_optimization_countbigint
jit_optimization_timedouble precision
jit_emission_countbigint
jit_emission_timedouble precision
jit_deform_countbigint
jit_deform_timedouble precision
parallel_workers_to_launchbigint
parallel_workers_launchedbigint
stats_sincetimestamp with time zone
minmax_stats_sincetimestamp with time zone

public.pg_stat_statements_info view 2 cols

columntypenullkeyreferences
deallocbigint
stats_resettimestamp with time zone

public.plugin_setting table 10 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
plugin_idcharacter varyingNOT NULL
enabledbooleanNOT NULL
pinnedbooleanNOT NULL
json_datatext
secure_json_datatext
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
plugin_versioncharacter varying

public.preferences table 13 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
user_idbigintNOT NULLFKpublic.user.id
versionintegerNOT NULL
home_dashboard_idbigintNOT NULLFKpublic.dashboard.id
timezonecharacter varyingNOT NULL
themecharacter varyingNOT NULL
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
team_idbigintFKpublic.team.id
week_startcharacter varying
json_datatext
home_dashboard_uidcharacter varying

public.provenance_type table 5 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
record_keycharacter varyingNOT NULL
record_typecharacter varyingNOT NULL
provenancecharacter varyingNOT NULL

public.query_history table 8 cols

columntypenullkeyreferences
idintegerNOT NULLPK
uidcharacter varyingNOT NULL
org_idbigintNOT NULLFKpublic.org.id
datasource_uidcharacter varyingNOT NULL
created_bybigintNOT NULL
created_atintegerNOT NULL
commenttextNOT NULL
queriestextNOT NULL

public.query_history_details table 3 cols

columntypenullkeyreferences
idintegerNOT NULLPK
query_history_item_uidcharacter varyingNOT NULL
datasource_uidcharacter varyingNOT NULL

public.query_history_star table 4 cols

columntypenullkeyreferences
idintegerNOT NULLPK
query_uidcharacter varyingNOT NULL
user_idbigintNOT NULLFKpublic.user.id
org_idbigintNOT NULLFKpublic.org.id

public.quota table 7 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintFKpublic.org.id
user_idbigintFKpublic.user.id
targetcharacter varyingNOT NULL
limitbigintNOT NULL
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL

public.resource table 11 cols

columntypenullkeyreferences
guidcharacter varyingNOT NULLPK
resource_versionbigint
groupcharacter varyingNOT NULL
resourcecharacter varyingNOT NULL
namespacecharacter varyingNOT NULL
namecharacter varyingNOT NULL
valuetext
actionintegerNOT NULL
label_setcharacter varying
previous_resource_versionbigint
foldercharacter varyingNOT NULL

public.resource_blob table 9 cols

columntypenullkeyreferences
uuiduuidNOT NULLPK
createdtimestamp without time zoneNOT NULL
groupcharacter varyingNOT NULL
resourcecharacter varyingNOT NULL
namespacecharacter varyingNOT NULL
namecharacter varyingNOT NULL
valuebyteaNOT NULL
hashcharacter varyingNOT NULL
content_typecharacter varyingNOT NULL

public.resource_events table 2 cols

columntypenullkeyreferences
key_pathcharacter varyingNOT NULLPK
valuetextNOT NULL

public.resource_history table 13 cols

columntypenullkeyreferences
guidcharacter varyingNOT NULLPK
resource_versionbigint
groupcharacter varyingNOT NULL
resourcecharacter varyingNOT NULL
namespacecharacter varyingNOT NULL
namecharacter varyingNOT NULL
valuetext
actionintegerNOT NULL
label_setcharacter varying
previous_resource_versionbigint
foldercharacter varyingNOT NULL
generationbigintNOT NULL
key_pathcharacter varyingNOT NULL

public.resource_last_import_time table 4 cols

columntypenullkeyreferences
groupcharacter varyingNOT NULLPK
resourcecharacter varyingNOT NULLPK
namespacecharacter varyingNOT NULLPK
last_import_timetimestamp without time zoneNOT NULL

public.resource_migration_log table 6 cols

columntypenullkeyreferences
idintegerNOT NULLPK
migration_idcharacter varyingNOT NULL
sqltextNOT NULL
successbooleanNOT NULL
errortextNOT NULL
timestamptimestamp without time zoneNOT NULL

public.resource_version table 3 cols

columntypenullkeyreferences
groupcharacter varyingNOT NULLPK
resourcecharacter varyingNOT NULLPK
resource_versionbigintNOT NULL

public.role table 11 cols

columntypenullkeyreferences
idintegerNOT NULLPK
namecharacter varyingNOT NULL
descriptiontext
versionbigintNOT NULL
org_idbigintNOT NULLFKpublic.org.id
uidcharacter varyingNOT NULL
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
display_namecharacter varying
group_namecharacter varying
hiddenbooleanNOT NULL

public.secret_data_key table 8 cols

columntypenullkeyreferences
uidcharacter varyingNOT NULLPK
namespacecharacter varyingNOT NULL
labelcharacter varyingNOT NULL
activebooleanNOT NULL
providercharacter varyingNOT NULL
encrypted_databyteaNOT NULL
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL

public.secret_encrypted_value table 7 cols

columntypenullkeyreferences
namespacecharacter varyingNOT NULLPK
namecharacter varyingNOT NULLPK
versionbigintNOT NULLPK
encrypted_databyteaNOT NULL
createdbigintNOT NULL
updatedbigintNOT NULL
data_key_idcharacter varyingNOT NULLFKpublic.data_keys.name

public.secret_keeper table 13 cols

columntypenullkeyreferences
guidcharacter varyingNOT NULLPK
namecharacter varyingNOT NULL
namespacecharacter varyingNOT NULL
annotationstext
labelstext
createdbigintNOT NULL
created_bytextNOT NULL
updatedbigintNOT NULL
updated_bytextNOT NULL
descriptioncharacter varyingNOT NULL
typetextNOT NULL
payloadtext
activebooleanNOT NULL

public.secret_migration_log table 6 cols

columntypenullkeyreferences
idintegerNOT NULLPK
migration_idcharacter varyingNOT NULL
sqltextNOT NULL
successbooleanNOT NULL
errortextNOT NULL
timestamptimestamp without time zoneNOT NULL

public.secret_secure_value table 22 cols

columntypenullkeyreferences
guidcharacter varyingNOT NULLPK
namecharacter varyingNOT NULL
namespacecharacter varyingNOT NULL
annotationstext
labelstext
createdbigintNOT NULL
created_bytextNOT NULL
updatedbigintNOT NULL
updated_bytextNOT NULL
external_idtextNOT NULL
activebooleanNOT NULL
versionbigintNOT NULL
descriptioncharacter varyingNOT NULL
keepercharacter varying
decrypterstext
refcharacter varying
owner_reference_api_groupcharacter varying
owner_reference_api_versioncharacter varying
owner_reference_kindcharacter varying
owner_reference_namecharacter varying
lease_tokencharacter varying
lease_createdbigintNOT NULL

public.secrets table 7 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
namespacecharacter varyingNOT NULL
typecharacter varyingNOT NULL
valuetext
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL

public.seed_assignment table 6 cols

columntypenullkeyreferences
builtin_rolecharacter varyingNOT NULL
role_namecharacter varying
actioncharacter varying
scopecharacter varying
idintegerNOT NULLPK
origincharacter varying

public.server_lock table 4 cols

columntypenullkeyreferences
idintegerNOT NULLPK
operation_uidcharacter varyingNOT NULL
versionbigintNOT NULL
last_executionbigintNOT NULL

public.session table 3 cols

columntypenullkeyreferences
keycharacterNOT NULLPK
databyteaNOT NULL
expiryintegerNOT NULL

public.short_url table 7 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
uidcharacter varyingNOT NULL
pathtextNOT NULL
created_bybigintNOT NULL
created_atintegerNOT NULL
last_seen_atinteger

public.signing_key table 6 cols

columntypenullkeyreferences
idintegerNOT NULLPK
key_idcharacter varyingNOT NULL
private_keytextNOT NULL
added_attimestamp without time zoneNOT NULL
expires_attimestamp without time zone
algcharacter varyingNOT NULL

public.sso_setting table 6 cols

columntypenullkeyreferences
idcharacter varyingNOT NULLPK
providercharacter varyingNOT NULL
settingstextNOT NULL
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
is_deletedbooleanNOT NULL

public.star table 6 cols

columntypenullkeyreferences
idintegerNOT NULLPK
user_idbigintNOT NULLFKpublic.user.id
dashboard_idbigintNOT NULLFKpublic.dashboard.id
dashboard_uidcharacter varying
org_idbigintFKpublic.org.id
updatedtimestamp without time zone

public.tag table 3 cols

columntypenullkeyreferences
idintegerNOT NULLPK
keycharacter varyingNOT NULL
valuecharacter varyingNOT NULL

public.team table 9 cols

columntypenullkeyreferences
idintegerNOT NULLPK
namecharacter varyingNOT NULL
org_idbigintNOT NULLFKpublic.org.id
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
uidcharacter varying
external_uidcharacter varying
is_provisionedboolean
emailcharacter varying

public.team_member table 9 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
team_idbigintNOT NULLFKpublic.team.id
user_idbigintNOT NULLFKpublic.user.id
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
externalboolean
permissionsmallint
uidcharacter varying

public.team_role table 5 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
team_idbigintNOT NULLFKpublic.team.id
role_idbigintNOT NULLFKpublic.role.id
createdtimestamp without time zoneNOT NULL

public.temp_user table 14 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
versionintegerNOT NULL
emailcharacter varyingNOT NULL
namecharacter varying
rolecharacter varying
codecharacter varyingNOT NULL
statuscharacter varyingNOT NULL
invited_by_user_idbigintFKpublic.user.id
email_sentbooleanNOT NULL
email_sent_ontimestamp without time zone
remote_addrcharacter varying
createdintegerNOT NULL
updatedintegerNOT NULL

public.test_data table 10 cols

columntypenullkeyreferences
idintegerNOT NULLPK
metric1character varying
metric2character varying
value_big_intbigint
value_doubledouble precision
value_floatreal
value_intinteger
time_epochbigintNOT NULL
time_date_timetimestamp without time zoneNOT NULL
time_time_stamptimestamp without time zoneNOT NULL

public.unifiedstorage_migration_log table 6 cols

columntypenullkeyreferences
idintegerNOT NULLPK
migration_idcharacter varyingNOT NULL
sqltextNOT NULL
successbooleanNOT NULL
errortextNOT NULL
timestamptimestamp without time zoneNOT NULL

public.user table 21 cols

columntypenullkeyreferences
idintegerNOT NULLPK
versionintegerNOT NULL
logincharacter varyingNOT NULL
emailcharacter varyingNOT NULL
namecharacter varying
passwordcharacter varying
saltcharacter varying
randscharacter varying
companycharacter varying
org_idbigintNOT NULLFKpublic.org.id
is_adminbooleanNOT NULL
email_verifiedboolean
themecharacter varying
createdtimestamp without time zoneNOT NULL
updatedtimestamp without time zoneNOT NULL
help_flags1bigintNOT NULL
last_seen_attimestamp without time zone
is_disabledbooleanNOT NULL
is_service_accountboolean
uidcharacter varying
is_provisionedbooleanNOT NULL

public.user_auth table 12 cols

columntypenullkeyreferences
idintegerNOT NULLPK
user_idbigintNOT NULLFKpublic.user.id
auth_modulecharacter varyingNOT NULL
auth_idcharacter varyingNOT NULL
createdtimestamp without time zoneNOT NULL
o_auth_access_tokentext
o_auth_refresh_tokentext
o_auth_token_typetext
o_auth_expirytimestamp without time zone
o_auth_id_tokentext
external_uidtext
user_uidcharacter varying

public.user_auth_token table 13 cols

columntypenullkeyreferences
idintegerNOT NULLPK
user_idbigintNOT NULLFKpublic.user.id
auth_tokencharacter varyingNOT NULL
prev_auth_tokencharacter varyingNOT NULL
user_agentcharacter varyingNOT NULL
client_ipcharacter varyingNOT NULL
auth_token_seenbooleanNOT NULL
seen_atinteger
rotated_atintegerNOT NULL
created_atintegerNOT NULL
updated_atintegerNOT NULL
revoked_atinteger
external_session_idbigintFKpublic.session.key

public.user_external_session table 13 cols

columntypenullkeyreferences
idintegerNOT NULLPK
user_auth_idbigintNOT NULLFKpublic.user_auth.id
user_idbigintNOT NULLFKpublic.user.id
auth_modulecharacter varyingNOT NULL
access_tokentext
id_tokentext
refresh_tokentext
session_idcharacter varyingFKpublic.session.key
session_id_hashcharacter
name_idcharacter varying
name_id_hashcharacter
expires_attimestamp without time zone
created_attimestamp without time zoneNOT NULL

public.user_role table 6 cols

columntypenullkeyreferences
idintegerNOT NULLPK
org_idbigintNOT NULLFKpublic.org.id
user_idbigintNOT NULLFKpublic.user.id
role_idbigintNOT NULLFKpublic.role.id
createdtimestamp without time zoneNOT NULL
group_mapping_uidcharacter varying

qbo

qbo.accounts table 9 cols

columntypenullkeyreferences
idtextNOT NULLPK
nametext
account_numbertext
account_typetext
activeboolean
metadata_last_updatedtimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

qbo.bills table 10 cols

columntypenullkeyreferences
idtextNOT NULLPK
doc_numbertext
txn_datedate
total_amtnumeric
vendor_reftextFKqbo.vendors.id
due_datedate
metadata_last_updatedtimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

qbo.classes table 7 cols

columntypenullkeyreferences
idtextNOT NULLPK
nametext
activeboolean
metadata_last_updatedtimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

qbo.credit_memos table 9 cols

columntypenullkeyreferences
idtextNOT NULLPK
doc_numbertext
txn_datedate
total_amtnumeric
customer_reftextFKqbo.customers.id
metadata_last_updatedtimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

qbo.customers table 9 cols

columntypenullkeyreferences
idtextNOT NULLPK
display_nametext
company_nametext
activeboolean
emailtext
metadata_last_updatedtimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

qbo.departments table 7 cols

columntypenullkeyreferences
idtextNOT NULLPK
nametext
activeboolean
metadata_last_updatedtimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

qbo.employees table 10 cols

columntypenullkeyreferences
idtextNOT NULLPK
display_nametext
first_nametext
last_nametext
emailtext
activeboolean
metadata_last_updatedtimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

qbo.estimates table 9 cols

columntypenullkeyreferences
idtextNOT NULLPK
doc_numbertext
txn_datedate
total_amtnumeric
customer_reftextFKqbo.customers.id
metadata_last_updatedtimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

qbo.invoices table 10 cols

columntypenullkeyreferences
idtextNOT NULLPK
doc_numbertext
txn_datedate
total_amtnumeric
customer_reftextFKqbo.customers.id
balancenumeric
metadata_last_updatedtimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

qbo.items table 9 cols

columntypenullkeyreferences
idtextNOT NULLPK
nametext
typetext
unit_pricenumeric
purchase_costnumeric
metadata_last_updatedtimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

qbo.journal_entries table 8 cols

columntypenullkeyreferences
idtextNOT NULLPK
doc_numbertext
txn_datedate
total_amtnumeric
metadata_last_updatedtimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

qbo.payments table 9 cols

columntypenullkeyreferences
idtextNOT NULLPK
doc_numbertext
txn_datedate
total_amtnumeric
customer_reftextFKqbo.customers.id
metadata_last_updatedtimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

qbo.purchase_orders table 9 cols

columntypenullkeyreferences
idtextNOT NULLPK
doc_numbertext
txn_datedate
total_amtnumeric
vendor_reftextFKqbo.vendors.id
metadata_last_updatedtimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

qbo.purchases table 8 cols

columntypenullkeyreferences
idtextNOT NULLPK
txn_datedate
total_amtnumeric
vendor_reftextFKqbo.vendors.id
metadata_last_updatedtimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

qbo.time_activities table 9 cols

columntypenullkeyreferences
idtextNOT NULLPK
txn_datedate
employee_reftextFKqbo.employees.id
customer_reftextFKqbo.customers.id
hoursnumeric
metadata_last_updatedtimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

qbo.vendors table 9 cols

columntypenullkeyreferences
idtextNOT NULLPK
display_nametext
company_nametext
activeboolean
emailtext
metadata_last_updatedtimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting

reporting.asset_criticalities table 6 cols

columntypenullkeyreferences
idbigintNOT NULLPK
labeltext
levelinteger
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.asset_custom_statuses table 9 cols

columntypenullkeyreferences
idbigintNOT NULLPK
labeltext
base_asset_statustext
downtime_typetext
created_attimestamp with time zone
updated_attimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.asset_statuses table 13 cols

columntypenullkeyreferences
idbigintNOT NULLPK
asset_idbigintFKreporting.assets.id
custom_status_idbigintFKreporting.asset_custom_statuses.id
statustext
downtime_typetext
started_attimestamp with time zone
ended_attimestamp with time zone
creator_idbigintFKreporting.users.id
created_attimestamp with time zone
updated_attimestamp with time zone
deleted_attimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL

reporting.assets table 13 cols

columntypenullkeyreferences
idbigintNOT NULLPK
organization_idbigintFKreporting.organizations.id
nametext
location_idbigintFKreporting.locations.id
parent_idbigintFKreporting.assets.id
criticality_idbigintFKreporting.asset_criticalities.id
serial_numbertext
external_idtext
created_attimestamp with time zone
updated_attimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.categories table 6 cols

columntypenullkeyreferences
idbigintNOT NULLPK
labeltext
descriptiontext
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.conversations table 6 cols

columntypenullkeyreferences
idbigintNOT NULLPK
typetext
nametext
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.custom_fields table 7 cols

columntypenullkeyreferences
entitytextNOT NULLPK
idbigintNOT NULLPK
labeltext
typetext
sort_orderinteger
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL

reporting.customer_map table 4 cols

columntypenullkeyreferences
sourcetextNOT NULLPK
source_customertextNOT NULLPK
canonical_customertextNOT NULL
notetext

reporting.integrations table 7 cols

columntypenullkeyreferences
nametextNOT NULLPK
kindtext
schematext
base_urltext
enabledbooleanNOT NULL
notetext
updated_attimestamp with time zoneNOT NULL

reporting.labor_rates table 8 cols

columntypenullkeyreferences
idbigintNOT NULLPK
user_idbigintNOT NULLFKreporting.users.id
cost_rate_centsinteger
bill_rate_centsinteger
effective_fromdateNOT NULL
effective_todate
notetext
updated_attimestamp with time zoneNOT NULL

reporting.locations table 9 cols

columntypenullkeyreferences
idbigintNOT NULLPK
organization_idbigintFKreporting.organizations.id
nametextNOT NULL
parent_idbigintFKreporting.locations.id
created_attimestamp with time zone
updated_attimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.maintenance_plans table 13 cols

columntypenullkeyreferences
idbigintNOT NULLPK
nametext
organization_idbigintFKreporting.organizations.id
trigger_typetext
work_order_blueprint_idbigintFKreporting.work_orders.id
next_scheduled_work_order_due_datetimestamp with time zone
last_work_order_generated_attimestamp with time zone
created_attimestamp with time zone
updated_attimestamp with time zone
archived_attimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.manufacturers table 6 cols

columntypenullkeyreferences
idbigintNOT NULLPK
nametext
organization_idbigintFKreporting.organizations.id
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.meter_triggers table 6 cols

columntypenullkeyreferences
idbigintNOT NULLPK
nametext
meter_idbigintFKreporting.meters.id
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.meters table 9 cols

columntypenullkeyreferences
idbigintNOT NULLPK
nametext
unittext
measurement_typetext
asset_idbigintFKreporting.assets.id
location_idbigintFKreporting.locations.id
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.models table 7 cols

columntypenullkeyreferences
idbigintNOT NULLPK
nametext
manufacturer_idbigintFKreporting.manufacturers.id
organization_idbigintFKreporting.organizations.id
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.oauth_tokens table 7 cols

columntypenullkeyreferences
integrationtextNOT NULLPKFKreporting.integrations.name
realm_idtext
access_tokentext
refresh_tokentext
access_expires_attimestamp with time zone
refresh_expires_attimestamp with time zone
updated_attimestamp with time zoneNOT NULL

reporting.organizations table 7 cols

columntypenullkeyreferences
idbigintNOT NULLPK
nametext
time_zonetext
currencytext
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.part_transfer_requests table 13 cols

columntypenullkeyreferences
idbigintNOT NULLPK
statustext
source_part_idbigintFKreporting.parts.id
destination_part_idbigintFKreporting.parts.id
quantity_requestednumeric
quantity_transferrednumeric
quantity_receivednumeric
requester_idbigintFKreporting.users.id
transferrer_idbigintFKreporting.users.id
source_location_idbigintFKreporting.locations.id
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.parts table 11 cols

columntypenullkeyreferences
idbigintNOT NULLPK
nametextNOT NULL
barcodetext
location_idbigintFKreporting.locations.id
external_idtext
unit_cost_centsinteger
created_attimestamp with time zone
updated_attimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.procedure_field_state table 6 cols

columntypenullkeyreferences
work_order_idbigintNOT NULLPK
field_idbigintNOT NULLPK
procedure_template_field_idbigint
answeredbooleanNOT NULL
value_texttext
observed_attimestamp with time zoneNOT NULL

reporting.procedure_step_events table 11 cols

columntypenullkeyreferences
idbigintNOT NULLPK
work_order_idbigintNOT NULLFKreporting.work_orders.id
field_idbigintNOT NULL
procedure_template_field_idbigint
labeltext
typetext
eventtextNOT NULL
completed_attimestamp with time zoneNOT NULL
value_texttext
wo_assignee_idsARRAY
wo_active_time_logger_idsARRAY

reporting.procedure_templates table 5 cols

columntypenullkeyreferences
idbigintNOT NULLPK
titletext
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.purchase_orders table 7 cols

columntypenullkeyreferences
idbigintNOT NULLPK
statustext
created_attimestamp with time zone
updated_attimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.root_cause_analysis_reports table 16 cols

columntypenullkeyreferences
idbigintNOT NULLPK
organization_idbigintFKreporting.organizations.id
statustext
main_asset_idbigintFKreporting.assets.id
main_asset_status_idbigintFKreporting.asset_statuses.id
completed_attimestamp with time zone
incident_started_attimestamp with time zone
incident_ended_attimestamp with time zone
incident_durationnumeric
repair_timenumeric
created_attimestamp with time zone
updated_attimestamp with time zone
archived_attimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.sync_state table 5 cols

columntypenullkeyreferences
entitytextNOT NULLPK
last_watermarktimestamp with time zone
last_run_attimestamp with time zone
last_run_okboolean
last_errortext

reporting.team_members table 4 cols

columntypenullkeyreferences
team_idbigintNOT NULLPKFKreporting.teams.id
user_idbigintNOT NULLPKFKreporting.users.id
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL

reporting.teams table 5 cols

columntypenullkeyreferences
idbigintNOT NULLPK
nametextNOT NULL
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.time_entry_deltas table 7 cols

columntypenullkeyreferences
idbigintNOT NULLPK
work_order_idbigintNOT NULLFKreporting.work_orders.id
user_idbigintNOT NULLFKreporting.users.id
observed_attimestamp with time zoneNOT NULL
delta_secondsnumericNOT NULL
cumulative_secondsnumericNOT NULL
seconds_since_prevnumeric

reporting.time_entry_state table 4 cols

columntypenullkeyreferences
work_order_idbigintNOT NULLPK
user_idbigintNOT NULLPK
cumulative_secondsnumericNOT NULL
observed_attimestamp with time zoneNOT NULL

reporting.users table 10 cols

columntypenullkeyreferences
idbigintNOT NULLPK
first_nametext
last_nametext
emailtext
roletext
hourly_rate_centsinteger
last_visited_attimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.vendors table 5 cols

columntypenullkeyreferences
idbigintNOT NULLPK
nametextNOT NULL
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.work_orders table 21 cols

columntypenullkeyreferences
idbigintNOT NULLPK
sequential_idbigint
organization_idbigintFKreporting.organizations.id
titletext
statustext
prioritytext
typetext
asset_idbigintFKreporting.assets.id
location_idbigintFKreporting.locations.id
creator_idbigintFKreporting.users.id
completer_idbigintFKreporting.users.id
due_datetimestamp with time zone
start_datetimestamp with time zone
completed_attimestamp with time zone
created_attimestamp with time zone
updated_attimestamp with time zone
part_statustext
parts_availabilitytext
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.work_request_portals table 9 cols

columntypenullkeyreferences
idbigintNOT NULLPK
titletext
portal_urltext
asset_idbigintFKreporting.assets.id
location_idbigintFKreporting.locations.id
email_onlyboolean
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

reporting.work_requests table 13 cols

columntypenullkeyreferences
idbigintNOT NULLPK
titletext
request_statustext
prioritytext
asset_idbigintFKreporting.assets.id
location_idbigintFKreporting.locations.id
work_order_idbigintFKreporting.work_orders.id
approver_team_idbigintFKreporting.teams.id
created_attimestamp with time zone
updated_attimestamp with time zone
rawjsonbNOT NULL
synced_attimestamp with time zoneNOT NULL
deleted_attimestamp with time zone

wo

wo.work_orders table 13 cols

columntypenullkeyreferences
wo_keytextNOT NULLPK
wo_numberbigint
wo_revisionintegerNOT NULL
asset_idbigintFKreporting.assets.id
asset_nametext
customertext
titletext
statustext
is_placeholderbooleanNOT NULL
first_sourcetext
rawjsonbNOT NULL
created_attimestamp with time zoneNOT NULL
updated_attimestamp with time zoneNOT NULL
↑ top