batch_report

20 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id int4 10 null
batch_report_items.batch_id fk_batch_report_items_batch_id C
prop_id int4 10 null
property.id fk_batch_report_prop_id C
batch_name text 2147483647 null
output_type text 2147483647 null
output_target text 2147483647 null
enabled bool 1 true
batch_type text 2147483647 'endday'::text

Indexes

Constraint Name Type Sort Column(s)
pk_batch_report Primary key Asc id
idx_batch_report_prop_id Performance Asc prop_id

Check Constraints

Constraint Name Constraint
batch_report_batch_type_check (batch_type = ANY (ARRAY['endday'::text, 'closeshift'::text, 'manual'::text]))
batch_report_check (output_type = ANY (ARRAY['email'::text, 'file'::text, 'printer'::text]))

Relationships