
-- DROP TABLE tl_shortened_url;




CREATE TABLE tl_shortened_url (
    object_id number(12) NOT NULL ,
    object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
    object_created_date date DEFAULT SYSDATE NOT NULL
    ,
    code varchar2(8) NOT NULL,
    url_link clob NOT NULL
    );



ALTER TABLE tl_shortened_url ADD    
    CONSTRAINT PK_tl_shortened_url PRIMARY KEY 
    (
        object_id
    ) ;
    
    
    