Skip to content

Commit

Permalink
Create DDL for source_data.metadata_logging table
Browse files Browse the repository at this point in the history
  • Loading branch information
sf-dcp committed Oct 28, 2024
1 parent 590419b commit 1bf9b25
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Create SCHEMA source_data;

CREATE TABLE source_data.metadata_logging (
name text NULL,
version text NULL,
timestamp timestamp NULL,
runner text NULL,
event_source text NULL
);

CREATE INDEX source_data_metadata_logging_name_idx ON source_data.metadata_logging USING btree (name, timestamp);
CREATE INDEX source_data_metadata_logging_timestamp_idx ON source_data.metadata_logging USING btree (timestamp);

0 comments on commit 1bf9b25

Please sign in to comment.