Files
doczyai-pipelines/snowflake/UAT/upload_interface/R__1003_CONTRACT_UPLOAD_LOGS.sql
T
2024-05-28 18:35:46 -05:00

10 lines
408 B
SQL

-- This table is used to store the logs of all the files that were uploaded by the user to S3
-- Following fields are to be stored in the table:
-- Batch id & client name & file name, date time, user
CREATE TABLE IF NOT EXISTS STG.CONTRACT_UPLOAD_LOGS (
BATCH_ID VARCHAR,
CLIENT_NAME VARCHAR,
FILE_NAME VARCHAR,
UPLOAD_DATETIME DATETIME DEFAULT CURRENT_TIMESTAMP(),
UPLOAD_USER VARCHAR
);