10 lines
408 B
SQL
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
|
|
); |