department_group

17 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id int4 10 null
department.group_id department_group_id_fkey R
name text 2147483647 null
post_type bpchar 1 'P'::bpchar
category text 2147483647 null

Media Categories

cash = Cash card = Credit Card city = City Ledger bank = Bank Transfer deposit = Deposit other = Other

seq int4 10 null

Indexes

Constraint Name Type Sort Column(s)
department_group_pkey Primary key Asc id

Check Constraints

Constraint Name Constraint
department_group_group_type_check ((post_type = 'P'::bpchar) OR (category = ANY (ARRAY['cash'::text, 'card'::text, 'bank'::text, 'city'::text, 'deposit'::text, 'other'::text])))

Relationships