Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
ad_client_id | numeric | 10 | NULL::numeric |
|
|
||||||
ad_org_id | numeric | 10 | NULL::numeric |
|
|
||||||
amount | numeric | 0 | √ | null |
|
|
|||||
c_charge_id | numeric | 10 | √ | null |
|
|
|||||
created | timestamp | 29,6 | statement_timestamp() |
|
|
||||||
createdby | numeric | 10 | null |
|
|
||||||
distributionsorting | bpchar | 1 | √ | null |
|
|
|||||
isactive | bpchar | 1 | 'Y'::bpchar |
|
|
||||||
isforalldistribution | bpchar | 1 | 'N'::bpchar |
|
|
||||||
issamedistribution | bpchar | 1 | √ | 'Y'::bpchar |
|
|
|||||
m_promotiondistribution_id | numeric | 10 | √ | null |
|
|
|||||
m_promotionreward_id | numeric | 10 | null |
|
|
||||||
m_promotion_id | numeric | 10 | null |
|
|
||||||
m_targetdistribution_id | numeric | 10 | √ | null |
|
|
|||||
qty | numeric | 0 | √ | null |
|
|
|||||
rewardtype | bpchar | 1 | null |
|
|
||||||
seqno | numeric | 10 | NULL::numeric |
|
|
||||||
updated | timestamp | 29,6 | statement_timestamp() |
|
|
||||||
updatedby | numeric | 10 | null |
|
|
||||||
m_promotionreward_uu | varchar | 36 | √ | NULL::character varying |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
m_promotionreward_key | Primary key | Asc | m_promotionreward_id |
m_promotionreward_uu_idx | Must be unique | Asc | m_promotionreward_uu |
Check Constraints
Constraint Name | Constraint |
---|---|
m_promotionreward_issamedistribution_check | ((issamedistribution = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
m_promotionreward_isforalldistribution_check | ((isforalldistribution = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
m_promotionreward_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |