Table core.industries
Details on industry the firm belongs.
# Column Name Nullable Data Type Max Length Description
1industry_idinteger0The primary key of this table, which is also a serial field.
2industry_namecharacter varying100The name of the industry, which is a unique field.
3parent_industry_idinteger0
4audit_user_idinteger0Contains the id of the user who last inserted or updated the corresponding row.
5audit_tstimestamp with time zone0Contains the date and timestamp of the last insert or update action.

Foreign Keys

# 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

Indices

Index Name Owner Access Method Definition Description
industries_pkey postgres btree industry_id
industries_industry_name_uix postgres btree upper(industry_name::text)

Check Constraints

Constraint Name Description

Default Values

# Column Name Default
1 industry_id nextval('core.industries_industry_id_seq'::regclass)
5 audit_ts now()

Triggers

Trigger Name Targets On Event Timing Condition Order Orientation Description