-- IBM Confidential
-- OCO Source Materials
-- 5724-I68.
-- (C) Copyright IBM Corp. 2000, 2004 - All Rights Reserved.
-- US Government Users Restricted Rights - Use, duplication or disclosure 
-- restricted by GSA ADP Schedule Contract with IBM Corp. 
-- This file is generated by GenSchema!! DO NOT EDIT!!!
-- This file is generated by GenSchema!! DO NOT EDIT!!!


-- ===================================================================
--
-- Table tdis_dsa_dst_attributes
--
-- Table holding name value pairs for item attributes.
-- ===================================================================

drop table tdis_dsa_dst_attributes cascade constraints;
create table tdis_dsa_dst_attributes
( 
    dsa_company_id                number(9),
    dsa_distribution_id           number(9),
    dsa_node_id                   number(9, 0),
    dsa_value                     varchar2(3000)
) 
tablespace users;


drop synonym dsa;
create synonym dsa for tdis_dsa_dst_attributes;

-- ===================================================================
--
-- Table tdis_dst_mkt_distribution
--
-- This table contains the list of distributions that are set up.
-- One company can have multiple distributions for one marketplace
-- ===================================================================

drop table tdis_dst_mkt_distribution cascade constraints;
create table tdis_dst_mkt_distribution
( 
    dst_company_id                number(9),
    dst_distribution_id           number(9),
    dst_distribution_name         varchar2(100),
    dst_destination               char,
    dst_type                      char,
    dst_email                     varchar2(100),
    dst_hostname                  varchar2(100),
    dst_userId                    varchar2(100),
    dst_password                  varchar2(100),
    dst_path                      varchar2(500),
    dst_from                      varchar2(100),
    dst_to                        varchar2(100),
    dst_sub                       varchar2(100),
    dst_localpath                 varchar2(500)
) 
tablespace users;


drop synonym dst;
create synonym dst for tdis_dst_mkt_distribution;

drop sequence qdis_dst_distribution_id;
create sequence qdis_dst_distribution_id start with 1 increment by 200 nocache;

-- ===================================================================
--
-- Table tdis_dgp_distribution_group
--

-- ===================================================================

drop table tdis_dgp_distribution_group cascade constraints;
create table tdis_dgp_distribution_group
( 
    dgp_company_id                number(9),
    dgp_distribution_group_id     number(9),
    dgp_distribution_group_name   varchar2(100)
) 
tablespace users;


drop synonym dgp;
create synonym dgp for tdis_dgp_distribution_group;

drop sequence qdis_dgp_distribution_group_id;
create sequence qdis_dgp_distribution_group_id start with 1 increment by 200 nocache;

-- ===================================================================
--
-- Table tdis_dgl_distribution_list
--

-- ===================================================================

drop table tdis_dgl_distribution_list cascade constraints;
create table tdis_dgl_distribution_list
( 
    dgl_company_id                number(9),
    dgl_distribution_group_id     number(9),
    dgl_distribution_id           number(9)
) 
tablespace users;


drop synonym dgl;
create synonym dgl for tdis_dgl_distribution_list;




