CREATE TABLE tt_content (
    tx_stepbystep_image_images int(11) unsigned DEFAULT '0' NOT NULL,
    tx_stepbystep_text_media_position_image varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_text_media_text_background varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_text_media_text_media int(11) unsigned DEFAULT '0' NOT NULL,
    tx_stepbystep_text_media_video varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_image_orientation_deux_images varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_presentation_alignement_icones varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_presentation_nombre_colonne varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_presentation_repeater int(11) unsigned DEFAULT '0' NOT NULL,
    tx_stepbystep_stepbystep_carousel_repeater int(11) unsigned DEFAULT '0' NOT NULL,
    tx_stepbystep_separateur_check_border int(11) DEFAULT '0' NOT NULL,
    tx_stepbystep_separateur_couleur_bordure varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_separateur_couleur_section varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_separation_color varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_repeater_blocs_infos int(11) unsigned DEFAULT '0' NOT NULL
);

CREATE TABLE tx_stepbystep_repeater_blocs_infos (
    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_stepbystep_repeater_blocs_infos_description mediumtext,
    tx_stepbystep_repeater_blocs_infos_img int(11) unsigned DEFAULT '0' NOT NULL,
    tx_stepbystep_repeater_blocs_infos_check_taille_img int(11) DEFAULT '0' NOT NULL,
    tx_stepbystep_repeater_blocs_infos_align_bloc varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_repeater_blocs_infos_taille_bloc varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_repeater_blocs_infos_sens_img varchar(255) DEFAULT '' NOT NULL,

    PRIMARY KEY (uid),
    KEY language (l10n_parent,sys_language_uid)
);

CREATE TABLE tx_stepbystep_presentation_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_stepbystep_presentation_repeater_titre varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_presentation_repeater_type_titre varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_presentation_repeater_icone int(11) unsigned DEFAULT '0' NOT NULL,
    tx_stepbystep_presentation_repeater_placement varchar(255) DEFAULT '' NOT NULL,
    
    PRIMARY KEY (uid),
    KEY language (l10n_parent,sys_language_uid)
);

CREATE TABLE tx_stepbystep_stepbystep_carousel_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_stepbystep_carousel_repeater_titre varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_carousel_repeater_type_titre varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_carousel_repeater_link varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_carousel_repeater_label_lien varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_carousel_repeater_description mediumtext,
    tx_stepbystep_carousel_repeater_position_text varchar(255) DEFAULT '' NOT NULL,
    tx_stepbystep_carousel_repeater_photo_pc int(11) unsigned DEFAULT '0' NOT NULL,
    tx_stepbystep_carousel_repeater_photo_tablette int(11) unsigned DEFAULT '0' NOT NULL,
    tx_stepbystep_carousel_repeater_photo_smartphone int(11) unsigned DEFAULT '0' NOT NULL,

    PRIMARY KEY (uid),
    KEY language (l10n_parent,sys_language_uid)
);