dim_affiliate

-1 rows


Description

A dimension table to normalise affiliate data

Columns

Column Type Size Nulls Auto Default Children Parents Comments
dim_affiliate_id int4 10 null
customer.dim_affiliate_id customer_dim_affiliate_id_fkey R
wager.dim_affiliate_id wager_dim_affiliate_id_fkey R
wager_cancelled.dim_affiliate_id wager_cancelled_dim_affiliate_id_fkey R

An identifier for this dimension

version int4 10 null

Version of this dimension as it applies to dim_affiliate_id

date_from timestamp 29,6 null

When this dimension applies from

date_to timestamp 29,6 null

When this dimension applies to

affiliate_name text 2147483647 null

Affiliate name

affiliate_code text 2147483647 null

Indexes

Constraint Name Type Sort Column(s)
dim_affiliate_pkey Primary key Asc dim_affiliate_id
idx_dim_affiliate_id Performance Asc dim_affiliate_id
idx_dim_affiliate_name Performance Asc affiliate_name

Relationships