Skip to content

Commit

Permalink
Redshift: added dvce_sent_tstamp column (closes #1385)
Browse files Browse the repository at this point in the history
  • Loading branch information
fblundun committed Feb 9, 2015
1 parent 5725088 commit da39f62
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 4-storage/redshift-storage/sql/atomic-def.sql
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ CREATE TABLE atomic.events (
-- ETL tags
etl_tags varchar(500) encode raw, -- Added in 0.5.0

-- Time event was sent
dvce_sent_tstamp timestamp, -- Added in 0.5.0

-- Derived contexts
derived_contexts varchar(10000) encode raw, -- Added in 0.5.0

Expand Down
4 changes: 4 additions & 0 deletions 4-storage/redshift-storage/sql/migrate_0.4.0_to_0.5.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ CREATE TABLE atomic.events (
-- ETL tags
etl_tags varchar(500) encode raw, -- Added in 0.5.0

-- Time event was sent
dvce_sent_tstamp timestamp, -- Added in 0.5.0

-- Derived contexts
derived_contexts varchar(10000) encode raw, -- Added in 0.5.0

Expand Down Expand Up @@ -302,5 +305,6 @@ INSERT INTO atomic.events
NULL AS mkt_clickid, -- Added in 0.5.0
NULL AS mkt_network, -- Added in 0.5.0
NULL AS etl_tags, -- Added in 0.5.0
NULL AS dvce_sent_tstamp, -- Added in 0.5.0
NULL AS derived_contexts -- Added in 0.5.0
FROM atomic.events_040;

0 comments on commit da39f62

Please sign in to comment.