drop table if exists transactional.source_config;
CREATE TABLE transactional.source_config (
    syspk serial NOT NULL,
    file_mnemonic varchar(100) NULL,
    file_sheet_mnemonic varchar(100) NULL,
    block_tag varchar(100) NULL,
    f1_source varchar(100) NULL,
    f1_modified varchar(100) NULL,
    f1_keyword varchar(100) NULL,
    row_number_start int4 NULL,
    row_previous_number int4 NULL,
    row_read_end int4 NULL,
    run_time timestamp NULL,
    action varchar(50) NULL,
    run_date date NULL,
    keyword_status int4 NULL DEFAULT 0,
    CONSTRAINT source_config_pkey PRIMARY KEY (syspk)
);
CREATE UNIQUE INDEX i_file_mnemonic_source_config ON transactional.source_config (file_mnemonic, file_sheet_mnemonic, f1_modified);         
