
-- DROP TABLE tl_diversity_answer;




CREATE TABLE tl_diversity_answer (
    object_id number(12) NOT NULL ,
    object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
    object_created_date date DEFAULT SYSDATE NOT NULL
    ,
    answer_code clob NOT NULL,
    answer clob NOT NULL,
    question_id number(12)  NOT NULL
    );



ALTER TABLE tl_diversity_answer ADD    
    CONSTRAINT PK_tl_diversity_answer PRIMARY KEY 
    (
        object_id
    ) ;
    
    
    
    CREATE INDEX idx_tl_diversity_answer_question_id 
    ON tl_diversity_answer (question_id);
