ad_attachment

22 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
ad_attachment_id numeric 10 null
ad_attachmentnote.ad_attachment_id adattachment_note R
ad_client_id numeric 10 null
ad_org_id numeric 10 null
isactive bpchar 1 'Y'::bpchar
created timestamp 29,6 now()
createdby numeric 10 null
updated timestamp 29,6 now()
updatedby numeric 10 null
ad_table_id numeric 10 null
ad_table.ad_table_id adtable_adattachment R
record_id numeric 10 null
title varchar 60 null
binarydata bytea 2147483647 null
textmsg varchar 2000 null
ad_attachment_uu varchar 36 NULL::character varying
ad_storageprovider_id numeric 10 NULL::numeric
ad_storageprovider.ad_storageprovider_id adstorageprovider_adattachment R

Indexes

Constraint Name Type Sort Column(s)
ad_attachment_pkey Primary key Asc ad_attachment_id
ad_attachment_record Must be unique Asc/Asc ad_table_id + record_id
ad_attachment_uu_idx Must be unique Asc ad_attachment_uu

Check Constraints

Constraint Name Constraint
ad_attachment_isactive_check ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))

Relationships