# Column Name Nullable Data Type Max Length Description
1work_center_idinteger0The primary key of this table, which is also a serial field.
2office_idinteger0
3work_center_codecharacter varying12
4work_center_namecharacter varying128
5audit_user_idinteger0Contains the id of the user who last inserted or updated the corresponding row.
6audit_tstimestamp with time zone0Contains the date and timestamp of the last insert or update action.

Foreign Keys

# Column Name Key Name References
2 office_id work_centers_office_id_fkey office.offices.office_id
5 audit_user_id work_centers_audit_user_id_fkey office.users.user_id

Indices

Index Name Owner Access Method Definition Description
work_centers_pkey postgres btree work_center_id
work_centers_work_center_name_uix postgres btree upper(work_center_name::text)
work_centers_work_center_code_uix postgres btree upper(work_center_code::text)

Check Constraints

Constraint Name Description

Default Values

# Column Name Default
1 work_center_id nextval('office.work_centers_work_center_id_seq'::regclass)
6 audit_ts now()

Triggers

Trigger Name Targets On Event Timing Condition Order Orientation Description