Table core.brands
This table stores information on various brands the entity is dealing.
# Column Name Nullable Data Type Max Length Description
1brand_idinteger0The primary key of this table, which is also a serial field.
2brand_codecharacter varying12The code of the brand, which is also a unique field.
3brand_namecharacter varying150The name of the brand.
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
4 audit_user_id brands_audit_user_id_fkey office.users.user_id

Indices

Index Name Owner Access Method Definition Description
brands_pkey postgres btree brand_id
brands_brand_name_uix postgres btree upper(brand_name::text)
brands_brand_code_uix postgres btree upper(brand_code::text)

Check Constraints

Constraint Name Description

Default Values

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

Triggers

Trigger Name Targets On Event Timing Condition Order Orientation Description