Skip to content

Commit

Permalink
Redshift: added comment containing table version to atomic.events (cl…
Browse files Browse the repository at this point in the history
…oses #2020)
  • Loading branch information
fblundun committed Sep 3, 2015
1 parent 1d15395 commit 71b4b88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 4-storage/redshift-storage/sql/atomic-def.sql
Original file line number Diff line number Diff line change
Expand Up @@ -204,3 +204,5 @@ CREATE TABLE atomic.events (
DISTSTYLE KEY
DISTKEY (event_id)
SORTKEY (collector_tstamp);

COMMENT ON TABLE "atomic"."events" IS '0.7.0'
2 changes: 2 additions & 0 deletions 4-storage/redshift-storage/sql/migrate_0.6.0_to_0.7.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ ALTER TABLE atomic.events
ADD COLUMN event_version varchar(128) encode lzo,
ADD COLUMN event_fingerprint varchar(128) encode lzo,
ADD COLUMN true_tstamp timestamp;

COMMENT ON TABLE "atomic"."events" IS '0.7.0';

0 comments on commit 71b4b88

Please sign in to comment.