| # | Column Name | Nullable | Data Type | Max Length | Description |
|---|---|---|---|---|---|
| 1 | work_center_id | integer | 0 | The primary key of this table, which is also a serial field. | |
| 2 | office_id | integer | 0 | ||
| 3 | work_center_code | character varying | 12 | ||
| 4 | work_center_name | character varying | 128 | ||
| 5 | audit_user_id | integer | 0 | Contains the id of the user who last inserted or updated the corresponding row. | |
| 6 | audit_ts | timestamp with time zone | 0 | Contains the date and timestamp of the last insert or update action. |
| # | 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 |
| 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) |
| Constraint Name | Description |
|---|
| # | Column Name | Default |
|---|---|---|
| 1 | work_center_id | nextval('office.work_centers_work_center_id_seq'::regclass) |
| 6 | audit_ts | now() |
| Trigger Name | Targets | On Event | Timing | Condition | Order | Orientation | Description |
|---|