Files
doczyai-pipelines/snowflake/DEV/upload_interface/R__003_CONTRACT_UPLOAD_LOGS.sql
T

10 lines
408 B
SQL
Raw Normal View History

-- 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
);