# | Column Name | Nullable | Data Type | Max Length | Description |
---|---|---|---|---|---|
1 | industry_id | integer | 0 | The primary key of this table, which is also a serial field. | |
2 | industry_name | character varying | 100 | The name of the industry, which is a unique field. | |
3 | parent_industry_id | integer | 0 | ||
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 |
---|---|---|---|
3 | parent_industry_id | industries_parent_industry_id_fkey | core.industries.industry_id |
4 | audit_user_id | industries_audit_user_id_fkey | office.users.user_id |
Index Name | Owner | Access Method | Definition | Description |
---|---|---|---|---|
industries_pkey | postgres | btree | industry_id | |
industries_industry_name_uix | postgres | btree | upper(industry_name::text) |
Constraint Name | Description |
---|
# | Column Name | Default |
---|---|---|
1 | industry_id | nextval('core.industries_industry_id_seq'::regclass) |
5 | audit_ts | now() |
Trigger Name | Targets | On Event | Timing | Condition | Order | Orientation | Description |
---|