Skip to content

Commit

Permalink
make _event_type varchar(64) instead of enum
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Leszczynski <leszczynski.pawel@gmail.com>
  • Loading branch information
pawel-big-lebowski committed Nov 15, 2023
1 parent 80e8bf7 commit 0a3f98a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
CREATE TYPE EVENT_TYPE AS ENUM ('RUN_EVENT', 'DATASET_EVENT', 'JOB_EVENT');

ALTER TABLE lineage_events ADD COLUMN _event_type EVENT_TYPE;
ALTER TABLE lineage_events ADD COLUMN _event_type VARCHAR(64);
ALTER TABLE lineage_events ALTER COLUMN _event_type SET DEFAULT 'RUN_EVENT';

0 comments on commit 0a3f98a

Please sign in to comment.