CREATE TABLE pages (
   tx_wseils_titlebutton tinyint(1) DEFAULT '0' NOT NULL,
   tx_wseils_IsLandingPage tinyint(1) DEFAULT '0' NOT NULL,
);

CREATE TABLE tt_content (
    tx_wseils_carrouselBanner tinyint(1) DEFAULT '0' NOT NULL,
    tx_wseils_carrouselCard tinyint(1) DEFAULT '0' NOT NULL,
    tx_wseils_afternumber tinytext,
    tx_wseils_beforenumber tinytext,
    tx_wseils_decompte int(11) DEFAULT '0' NOT NULL,
    tx_wseils_link tinytext,
    tx_wseils_number tinytext,
    tx_wseils_textalign tinytext,
    tx_wseils_clickenlarge int(11) DEFAULT '0' NOT NULL,
    tx_wseils_image int(11) unsigned DEFAULT '0' NOT NULL,
    tx_wseils_mappingareas int(11) unsigned DEFAULT '0' NOT NULL,
    tx_wseils_imagelayout tinytext,
    tx_wseils_parallax int(11) DEFAULT '0' NOT NULL,
    tx_wseils_textblockalignment tinytext,
    tx_wseils_imageheadings int(11) unsigned DEFAULT '0' NOT NULL,
    tx_wseils_productfinderfilters tinytext,
    tx_wseils_productfindertags tinytext,
    tx_wseils_productlmini tinyint(1) unsigned DEFAULT '0' NOT NULL,
    tx_wseils_productorder tinytext,
    tx_wseils_productlinkmaxipage tinytext,
    tx_wseils_inboundmarketing tinytext,
    tx_wseils_pdfviewer_mailbody mediumtext,
    tx_wseils_pdfviewer_repeater int(11) unsigned DEFAULT '0' NOT NULL,
);

#
# Table structure for table 'tx_wseils_activity_solution'
#
CREATE TABLE tx_wseils_activity_solution (
     uid int(11) NOT NULL auto_increment,
     pid int(11) DEFAULT '0' NOT NULL,

     sorting int(11) DEFAULT '0' NOT NULL,
     tstamp int(11) unsigned DEFAULT '0' NOT NULL,
     crdate int(11) unsigned DEFAULT '0' NOT NULL,
     cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
     deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
     hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
     sys_language_uid int(11) DEFAULT '0' NOT NULL,
     l10n_parent int(11) DEFAULT '0' NOT NULL,
     l18n_parent int(11) DEFAULT '0' NOT NULL,
     l18n_diffsource mediumblob NOT NULL,
     l10n_diffsource mediumblob NOT NULL,

     activity varchar(100) DEFAULT '' NOT NULL,
     solutions varchar(500) DEFAULT '' NULL,
     category varchar(100) DEFAULT '' NOT NULL,
     country varchar(100) DEFAULT '' NOT NULL,
     recipients varchar(500) DEFAULT '' NOT NULL,
     saleforce varchar(500) DEFAULT '' NULL,
     selected_lead varchar(500) DEFAULT '' NULL,

     PRIMARY KEY (uid),
     KEY parent (pid)
);

#
# Table structure for table 'tx_wseils_preview'
#
CREATE TABLE tx_wseils_preview (
   uid int(11) NOT NULL auto_increment,
   pid int(11) DEFAULT '0' NOT NULL,

   tstamp int(11) unsigned DEFAULT '0' NOT NULL,
   crdate int(11) unsigned DEFAULT '0' NOT NULL,

   contentPage longblob DEFAULT '' NULL,

   PRIMARY KEY (uid),
   KEY parent (pid)
);

#
# Table structure for table 'tx_wseils_domain_model_records'
#
CREATE TABLE tx_wseils_domain_model_records (
    uid int(11) NOT NULL auto_increment,
    pid int(11) DEFAULT '0' NOT NULL,

    sorting int(11) DEFAULT '0' NOT NULL,
    tstamp int(11) unsigned DEFAULT '0' NOT NULL,
    crdate int(11) unsigned DEFAULT '0' NOT NULL,
    cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
    deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
    hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
    sys_language_uid int(11) DEFAULT '0' NOT NULL,
    l10n_parent int(11) DEFAULT '0' NOT NULL,
    l18n_parent int(11) DEFAULT '0' NOT NULL,
    l18n_diffsource mediumblob NOT NULL,
    l10n_diffsource mediumblob NOT NULL,

    title varchar(100) DEFAULT '' NOT NULL,
    description mediumtext,
    image int(11) unsigned DEFAULT '0' NOT NULL,
    category varchar(100) DEFAULT '' NOT NULL,
    link tinytext,

    PRIMARY KEY (uid),
    KEY parent (pid)
);
CREATE TABLE tx_news_domain_model_news (
    subtitle varchar(255) DEFAULT '' NOT NULL,
);
CREATE TABLE tx_wseils_pdfviewer_repeater (
    uid int(11) NOT NULL auto_increment,
    pid int(11) DEFAULT '0' NOT NULL,
    tstamp int(11) DEFAULT '0' NOT NULL,
    crdate int(11) DEFAULT '0' NOT NULL,
    cruser_id int(11) DEFAULT '0' NOT NULL,
    t3ver_oid int(11) DEFAULT '0' NOT NULL,
    t3ver_id int(11) DEFAULT '0' NOT NULL,
    t3ver_wsid int(11) DEFAULT '0' NOT NULL,
    t3ver_label varchar(30) DEFAULT '' NOT NULL,
    t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
    t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
    t3ver_count int(11) DEFAULT '0' NOT NULL,
    t3ver_tstamp int(11) DEFAULT '0' NOT NULL,
    t3ver_move_id int(11) DEFAULT '0' NOT NULL,
    t3_origuid int(11) DEFAULT '0' NOT NULL,
    editlock tinyint(4) DEFAULT '0' NOT NULL,
    sys_language_uid int(11) DEFAULT '0' NOT NULL,
    l10n_parent int(11) DEFAULT '0' NOT NULL,
    l10n_diffsource mediumtext,
    l10n_source int(11) DEFAULT '0' NOT NULL,
    deleted tinyint(4) DEFAULT '0' NOT NULL,
    hidden tinyint(4) DEFAULT '0' NOT NULL,
    starttime int(11) DEFAULT '0' NOT NULL,
    endtime int(11) DEFAULT '0' NOT NULL,
    sorting int(11) DEFAULT '0' NOT NULL,
    fe_group varchar(100) DEFAULT '0' NOT NULL,
    parentid int(11) DEFAULT '0' NOT NULL,
    parenttable varchar(255) DEFAULT '' NOT NULL,
    tx_wseils_pdfviewer_repeater_file int(11) unsigned DEFAULT '0',
    PRIMARY KEY (uid),
    KEY language (l10n_parent,sys_language_uid)
);
