# | Column Name | Nullable | Data Type | Max Length | Description |
---|---|---|---|---|---|
1 | lead_status_id | integer | 0 | The primary key of this table, which is also a serial field. | |
2 | lead_status_code | character varying | 12 | ||
3 | lead_status_name | character varying | 128 | ||
4 | audit_user_id | integer | 0 | Contains the id of the user who last inserted or updated the corresponding row. | |
5 | audit_ts | timestamp with time zone | 0 | Contains the date and timestamp of the last insert or update action. |
# | Column Name | Key Name | References |
---|---|---|---|
4 | audit_user_id | lead_statuses_audit_user_id_fkey | office.users.user_id |
Index Name | Owner | Access Method | Definition | Description |
---|---|---|---|---|
lead_statuses_pkey | postgres | btree | lead_status_id | |
lead_statuses_lead_status_name_uix | postgres | btree | upper(lead_status_name::text) | |
lead_statuses_lead_status_code_uix | postgres | btree | upper(lead_status_code::text) |
Constraint Name | Description |
---|
# | Column Name | Default |
---|---|---|
1 | lead_status_id | nextval('crm.lead_statuses_lead_status_id_seq'::regclass) |
5 | audit_ts | now() |
Trigger Name | Targets | On Event | Timing | Condition | Order | Orientation | Description |
---|