psc-per-vm/mariadb.sql
2025-10-25 17:46:06 +02:00

2495 lines
90 KiB
SQL

/*M!999999\- enable the sandbox mode */
-- MariaDB dump 10.19-12.0.2-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: psc
-- ------------------------------------------------------
-- Server version 12.0.2-MariaDB-ubu2404
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*M!100616 SET @OLD_NOTE_VERBOSITY=@@NOTE_VERBOSITY, NOTE_VERBOSITY=0 */;
--
-- Table structure for table `account`
--
DROP TABLE IF EXISTS `account`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `account` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`install_id` bigint(20) DEFAULT NULL,
`created` date DEFAULT NULL,
`updated` date DEFAULT NULL,
`company` varchar(255) DEFAULT NULL,
`appendix` varchar(255) DEFAULT NULL,
`street` varchar(255) DEFAULT NULL,
`destrict` varchar(5) DEFAULT NULL,
`zip` varchar(255) DEFAULT NULL,
`city` varchar(255) DEFAULT NULL,
`state` varchar(255) DEFAULT NULL,
`country` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`phone` varchar(255) DEFAULT NULL,
`mobile` varchar(255) DEFAULT NULL,
`fax` varchar(255) DEFAULT NULL,
`homepage` varchar(255) DEFAULT NULL,
`bank_name` varchar(255) DEFAULT NULL,
`bank_blz` varchar(255) DEFAULT NULL,
`bank_kto` varchar(255) DEFAULT NULL,
`bank_code` varchar(255) DEFAULT NULL,
`bank_iban` varchar(255) DEFAULT NULL,
`bank_bic` varchar(255) DEFAULT NULL,
`usid` varchar(255) DEFAULT NULL,
`mwert` tinyint(1) DEFAULT 1,
`house_number` varbinary(255) DEFAULT NULL,
`logo1` varchar(255) DEFAULT NULL,
`locked` int(1) NOT NULL,
`locked_master` int(1) DEFAULT 0,
`filiale_id` int(8) DEFAULT NULL,
`typ` int(1) DEFAULT NULL,
`phone_vorwahl` varchar(255) DEFAULT NULL,
`phone_durchwahl` varchar(255) DEFAULT NULL,
`mobile_vorwahl` varchar(255) DEFAULT NULL,
`mobile_durchwahl` varchar(255) DEFAULT NULL,
`fax_vorwahl` varchar(255) DEFAULT NULL,
`fax_durchwahl` varchar(255) DEFAULT NULL,
`alternativ_type` varchar(255) DEFAULT NULL,
`alternativ` varchar(255) DEFAULT NULL,
`alternativ_durchwahl` varchar(255) DEFAULT NULL,
`informations` text DEFAULT NULL,
`bank_bank_name` varchar(255) DEFAULT NULL,
`use_account_as_invoice` int(1) DEFAULT NULL,
`template_switch` varchar(255) DEFAULT NULL,
`mega_code` varchar(255) DEFAULT NULL,
`hotel_name` varchar(255) DEFAULT NULL,
`zimmer` varchar(255) DEFAULT NULL,
`gz` varchar(255) DEFAULT NULL,
`gf` varchar(255) DEFAULT NULL,
`gsitz` varchar(255) DEFAULT NULL,
`handelsregister` varchar(255) DEFAULT NULL,
`hrb` varchar(255) DEFAULT NULL,
`vorsitz` varchar(255) DEFAULT NULL,
`anrede1` int(1) DEFAULT NULL,
`firstname1` varchar(255) DEFAULT NULL,
`lastname1` varchar(255) DEFAULT NULL,
`anrede2` int(1) DEFAULT NULL,
`firstname2` varchar(255) DEFAULT NULL,
`lastname2` varchar(255) DEFAULT NULL,
`phone_lv` varchar(255) DEFAULT NULL,
`mobile_lv` varchar(255) DEFAULT NULL,
`fax_lv` varchar(255) DEFAULT NULL,
`alternativ_lv` varchar(255) DEFAULT NULL,
`sub_hotel_name` varchar(255) DEFAULT NULL,
`email_gm` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `install_id_idx` (`install_id`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `account_article`
--
DROP TABLE IF EXISTS `account_article`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `account_article` (
`account_id` bigint(20) NOT NULL DEFAULT 0,
`article_id` bigint(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`account_id`,`article_id`),
KEY `article_id` (`article_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `account_cms`
--
DROP TABLE IF EXISTS `account_cms`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `account_cms` (
`account_id` bigint(20) NOT NULL DEFAULT 0,
`cms_id` bigint(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`account_id`,`cms_id`),
KEY `cms_id` (`cms_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `account_paymenttype`
--
DROP TABLE IF EXISTS `account_paymenttype`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `account_paymenttype` (
`account_id` bigint(20) NOT NULL DEFAULT 0,
`paymenttype_id` bigint(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`account_id`,`paymenttype_id`),
KEY `paymenttype_id` (`paymenttype_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `account_productgroup`
--
DROP TABLE IF EXISTS `account_productgroup`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `account_productgroup` (
`account_id` bigint(20) NOT NULL DEFAULT 0,
`productgroup_id` bigint(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`account_id`,`productgroup_id`),
KEY `productgroup_id` (`productgroup_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `account_shippingtype`
--
DROP TABLE IF EXISTS `account_shippingtype`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `account_shippingtype` (
`account_id` int(8) NOT NULL,
`shippingtype_id` int(8) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `admin_news`
--
DROP TABLE IF EXISTS `admin_news`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `admin_news` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`message` text NOT NULL,
`created` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`status` int(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `admin_translation`
--
DROP TABLE IF EXISTS `admin_translation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `admin_translation` (
`id` varchar(255) NOT NULL,
`en` varchar(255) NOT NULL,
`de` varchar(255) NOT NULL,
`fr` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `admin_user_settings`
--
DROP TABLE IF EXISTS `admin_user_settings`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `admin_user_settings` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`user_id` int(8) NOT NULL,
`name` varchar(255) NOT NULL,
`data` mediumtext NOT NULL,
PRIMARY KEY (`id`),
KEY `user_id_name` (`user_id`,`name`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `api`
--
DROP TABLE IF EXISTS `api`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `api` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`uuid` varchar(40) NOT NULL,
`created` datetime NOT NULL,
`updated` datetime NOT NULL,
`contact_id` int(8) NOT NULL,
`shop_id` int(8) NOT NULL,
`install_id` int(8) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `approval`
--
DROP TABLE IF EXISTS `approval`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `approval` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`uuid` varchar(50) NOT NULL,
`shop_id` int(8) NOT NULL,
`install_id` int(8) NOT NULL,
`created` datetime NOT NULL,
`updated` datetime NOT NULL,
`orderpos_id` int(8) NOT NULL,
`contact_id` int(8) NOT NULL,
`text` text NOT NULL,
`type` int(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `article`
--
DROP TABLE IF EXISTS `article`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `article` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`install_id` bigint(20) DEFAULT NULL,
`shop_id` bigint(20) DEFAULT NULL,
`account_id` bigint(20) DEFAULT NULL,
`contact_id` bigint(20) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`url` varchar(255) NOT NULL,
`typ` varchar(255) DEFAULT NULL,
`data` text DEFAULT NULL,
`enable` tinyint(1) DEFAULT NULL,
`private` tinyint(1) DEFAULT NULL,
`mwert` double DEFAULT NULL,
`versand` varchar(29) DEFAULT NULL,
`versandwert` double DEFAULT 0,
`info` text DEFAULT NULL,
`einleitung` varchar(500) DEFAULT NULL,
`pos` bigint(20) DEFAULT NULL,
`upload` tinyint(1) DEFAULT NULL,
`special` tinyint(1) DEFAULT NULL,
`file` varchar(255) DEFAULT NULL,
`file1` varchar(255) DEFAULT NULL,
`a6_xmlconfigfile` varchar(255) DEFAULT NULL,
`a6_xmlpagesfile` varchar(255) DEFAULT NULL,
`a6_xmlpagetemplatesfile` varchar(255) DEFAULT NULL,
`a6_xmlpageobjectsfile` varchar(255) DEFAULT NULL,
`a6_xmlxslfofile` varchar(255) DEFAULT NULL,
`a6_directory` varchar(255) DEFAULT NULL,
`a6_isroot` int(1) DEFAULT NULL,
`price` double DEFAULT 0,
`a1_xml` longtext DEFAULT NULL,
`a1_special` int(1) DEFAULT NULL,
`a2_count` int(11) DEFAULT NULL,
`a3_xml` text DEFAULT NULL,
`a3_special` int(1) DEFAULT NULL,
`a3_pdf` varchar(255) DEFAULT NULL,
`a3_maske` varchar(255) DEFAULT NULL,
`a4_auflagen` text DEFAULT NULL,
`a4_sponsoring` int(1) DEFAULT NULL,
`a4_prodzeit` varchar(255) DEFAULT NULL,
`a4_abpreis` float(8,2) DEFAULT 0.00,
`a5_buy` int(1) DEFAULT NULL,
`a5_xml` text DEFAULT NULL,
`layouterid` varchar(255) DEFAULT NULL,
`uuid` varchar(255) NOT NULL,
`used` int(8) DEFAULT NULL,
`kostenstelle` varchar(255) DEFAULT NULL,
`reorder` int(1) DEFAULT NULL,
`reordertheme` int(1) DEFAULT NULL,
`question` int(1) DEFAULT NULL,
`questiontheme` int(1) DEFAULT NULL,
`a7_xml` text DEFAULT NULL,
`abprice` varchar(100) DEFAULT NULL,
`a6_xmlpreviewxslfofile` varchar(255) DEFAULT NULL,
`resale` int(1) DEFAULT NULL,
`a6_resale_price` float(20,2) DEFAULT 0.00,
`a6_org_article` int(8) NOT NULL,
`render_new_preview_image` int(1) DEFAULT NULL,
`render_new_preview_pdf` int(1) DEFAULT NULL,
`render_new_preview_gallery` int(1) DEFAULT NULL,
`a6_display_market` int(1) NOT NULL DEFAULT 0,
`visits` int(8) DEFAULT 0,
`display_market` int(1) NOT NULL DEFAULT 0,
`stock` int(1) NOT NULL,
`stock_count` int(8) NOT NULL,
`stock_count_min` int(8) NOT NULL,
`a6_xmlextendpreviewxslfofile` varchar(255) DEFAULT NULL,
`rate` int(8) DEFAULT 0,
`rate_count` int(8) DEFAULT 0,
`confirm` int(1) DEFAULT NULL,
`confirmone` int(1) DEFAULT NULL,
`confirmaccount_id` int(8) DEFAULT NULL,
`template_admin` int(1) DEFAULT NULL,
`template_system_operator` int(1) DEFAULT NULL,
`init_status` int(8) NOT NULL,
`lager_file_file` varchar(255) DEFAULT NULL,
`lager_file_preview` varchar(255) DEFAULT NULL,
`preis` float DEFAULT 0,
`upload_article` int(1) DEFAULT 0,
`upload_article_status` int(4) DEFAULT NULL,
`upload_center` int(1) DEFAULT 0,
`upload_center_status` int(4) DEFAULT NULL,
`upload_post` int(1) DEFAULT 0,
`upload_post_status` int(4) DEFAULT NULL,
`upload_email` int(1) DEFAULT 0,
`upload_email_status` int(4) DEFAULT NULL,
`vorlage_file` varchar(255) DEFAULT NULL,
`vorlage_info` text DEFAULT NULL,
`upload_weblayouter` int(1) DEFAULT 0,
`upload_weblayouter_status` int(4) DEFAULT NULL,
`not_edit` int(1) NOT NULL,
`custom_1_title` varchar(255) DEFAULT NULL,
`custom_1_text` text DEFAULT NULL,
`resale_design` int(1) DEFAULT NULL,
`motive_calc` mediumtext DEFAULT NULL,
`motive_price` float DEFAULT NULL,
`a9_back1` varchar(255) DEFAULT NULL,
`a9_front1` varchar(255) DEFAULT NULL,
`a9_left1` varchar(255) DEFAULT NULL,
`a9_right1` varchar(255) DEFAULT NULL,
`a9_back2` varchar(255) DEFAULT NULL,
`a9_front2` varchar(255) DEFAULT NULL,
`a9_left2` varchar(255) DEFAULT NULL,
`a9_right2` varchar(255) DEFAULT NULL,
`a9_back3` varchar(255) DEFAULT NULL,
`a9_front3` varchar(255) DEFAULT NULL,
`a9_left3` varchar(255) DEFAULT NULL,
`a9_right3` varchar(255) DEFAULT NULL,
`a9_back4` varchar(255) DEFAULT NULL,
`a9_front4` varchar(255) DEFAULT NULL,
`a9_left4` varchar(255) DEFAULT NULL,
`a9_right4` varchar(255) DEFAULT NULL,
`a9_back5` varchar(255) DEFAULT NULL,
`a9_front5` varchar(255) DEFAULT NULL,
`a9_left5` varchar(255) DEFAULT NULL,
`a9_right5` varchar(255) DEFAULT NULL,
`a9_sizes` mediumtext DEFAULT NULL,
`a9_colors` mediumtext DEFAULT NULL,
`a9_pt` mediumtext DEFAULT NULL,
`file2` varchar(255) DEFAULT NULL,
`file3` varchar(255) DEFAULT NULL,
`file4` varchar(255) DEFAULT NULL,
`file5` varchar(255) DEFAULT NULL,
`file6` varchar(255) DEFAULT NULL,
`file7` varchar(255) DEFAULT NULL,
`a9_back_area` varchar(255) DEFAULT NULL,
`a9_front_area` varchar(255) DEFAULT NULL,
`a9_left_area` varchar(255) DEFAULT NULL,
`a9_right_area` varchar(255) DEFAULT NULL,
`can_buy_with_no_price` int(1) DEFAULT NULL,
`motiv_group` int(1) DEFAULT NULL,
`simple_preflight` int(1) DEFAULT NULL,
`upload_templateprint` int(1) DEFAULT NULL,
`upload_templateprint_status` int(8) DEFAULT NULL,
`meta_keywords` text DEFAULT NULL,
`meta_description` text DEFAULT NULL,
`meta_author` varchar(255) DEFAULT NULL,
`meta_custom_title` varchar(255) DEFAULT NULL,
`a9_price_motiv` double DEFAULT 0,
`a9_price_icon` double DEFAULT 0,
`a9_price_text` double DEFAULT 0,
`a9_price_text_line1` double DEFAULT 0,
`a9_price_print_disable` float DEFAULT NULL,
`not_buy` int(1) DEFAULT NULL,
`a4_abpreis_calc` int(1) DEFAULT 0,
`a4_abpreis_must_recalc` int(1) DEFAULT 1,
`meta_og_title` varchar(255) DEFAULT NULL,
`meta_og_type` varchar(255) DEFAULT NULL,
`meta_og_url` varchar(255) DEFAULT NULL,
`meta_og_image` varchar(255) DEFAULT NULL,
`meta_og_description` text DEFAULT NULL,
`text_art` varchar(255) DEFAULT NULL,
`text_format` varchar(255) DEFAULT NULL,
`display_no_price` int(1) DEFAULT NULL,
`vorlage_file1` varchar(255) DEFAULT NULL,
`vorlage_file2` varchar(255) DEFAULT NULL,
`vorlage_file3` varchar(255) DEFAULT NULL,
`upload_steplayouter` int(1) DEFAULT 0,
`upload_steplayouter_status` int(8) DEFAULT NULL,
`upload_steplayouter_xml` longtext DEFAULT NULL,
`upload_steplayouter_data` longtext DEFAULT NULL,
`lang_data` longtext DEFAULT NULL,
`article_nr_intern` varchar(255) DEFAULT NULL,
`article_nr_extern` varchar(255) DEFAULT NULL,
`to_export` int(1) DEFAULT 0,
`changes` longtext DEFAULT NULL,
`params` longtext DEFAULT NULL,
`upload_collecting_orders` int(1) DEFAULT 0,
`upload_collecting_orders_status` int(8) DEFAULT 10,
`upload_multi` int(1) DEFAULT 0,
`upload_multi_status` int(8) DEFAULT 10,
`verpackungseinheit` varchar(255) DEFAULT NULL,
`papierfaktor` varchar(255) DEFAULT NULL,
`display_not_in_overview` int(1) DEFAULT 0,
`stock_place` varchar(100) DEFAULT NULL,
`stock_max_buy` int(4) DEFAULT NULL,
`set_config` mediumtext DEFAULT NULL,
`as_offer` int(1) DEFAULT NULL,
`upload_steplayouter2` int(1) DEFAULT 0,
`upload_steplayouter2_status` int(8) DEFAULT NULL,
`sub_title` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `install_id_idx` (`install_id`),
KEY `shop_id_idx` (`shop_id`),
KEY `account_id_idx` (`account_id`),
KEY `article_id_a6_org_article_index` (`id`,`a6_org_article`)
) ENGINE=InnoDB AUTO_INCREMENT=344 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=2891 ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `article_buy`
--
DROP TABLE IF EXISTS `article_buy`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `article_buy` (
`contact_id` int(8) NOT NULL,
`article_id` int(8) NOT NULL,
`id` int(8) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`),
KEY `contact_id` (`contact_id`),
KEY `article_id` (`article_id`),
KEY `contact_article` (`contact_id`,`article_id`)
) ENGINE=InnoDB AUTO_INCREMENT=368 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `article_confirm_contact`
--
DROP TABLE IF EXISTS `article_confirm_contact`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `article_confirm_contact` (
`contact_id` int(8) NOT NULL,
`article_id` int(8) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `article_counter`
--
DROP TABLE IF EXISTS `article_counter`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `article_counter` (
`counter_id` int(11) NOT NULL,
`max_doc_id` int(11) NOT NULL,
PRIMARY KEY (`counter_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `article_group`
--
DROP TABLE IF EXISTS `article_group`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `article_group` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`pid` bigint(20) DEFAULT NULL,
`createdd` date DEFAULT NULL,
`updatedd` date DEFAULT NULL,
`createdt` time DEFAULT NULL,
`updatedt` time DEFAULT NULL,
`install_id` bigint(20) DEFAULT NULL,
`shop_id` bigint(20) DEFAULT NULL,
`account_id` bigint(20) DEFAULT NULL,
`parent` bigint(20) DEFAULT NULL,
`pos` int(3) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`url` varchar(255) NOT NULL,
`text` text DEFAULT NULL,
`language` varchar(255) DEFAULT NULL,
`image` varchar(255) DEFAULT NULL,
`enable` tinyint(1) DEFAULT 1,
`notinmenu` tinyint(1) DEFAULT 0,
`parameter` varchar(255) DEFAULT NULL,
`meta_keywords` text DEFAULT NULL,
`meta_description` text DEFAULT NULL,
`meta_author` varchar(255) DEFAULT NULL,
`meta_custom_title` varchar(255) DEFAULT NULL,
`meta_og_title` varchar(255) DEFAULT NULL,
`meta_og_type` varchar(255) DEFAULT NULL,
`meta_og_url` varchar(255) DEFAULT NULL,
`meta_og_image` varchar(255) DEFAULT NULL,
`meta_og_description` text DEFAULT NULL,
`image_big` varchar(40) DEFAULT NULL,
`display_title` int(1) NOT NULL DEFAULT 1,
`lang_data` longtext DEFAULT NULL,
`private` int(1) DEFAULT 0,
PRIMARY KEY (`id`),
KEY `install_id_idx` (`install_id`),
KEY `shop_id_idx` (`shop_id`),
KEY `account_id_idx` (`account_id`)
) ENGINE=InnoDB AUTO_INCREMENT=106 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=682;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `article_group_article`
--
DROP TABLE IF EXISTS `article_group_article`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `article_group_article` (
`articlegroup_id` bigint(20) NOT NULL DEFAULT 0,
`article_id` bigint(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`articlegroup_id`,`article_id`),
KEY `article_id` (`article_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=1260;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `article_group_market_article`
--
DROP TABLE IF EXISTS `article_group_market_article`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `article_group_market_article` (
`articlegroup_id` bigint(20) NOT NULL DEFAULT 0,
`article_id` bigint(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`articlegroup_id`,`article_id`),
KEY `article_id` (`article_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `article_offers`
--
DROP TABLE IF EXISTS `article_offers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `article_offers` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`article_id` int(8) DEFAULT NULL,
`data` longblob DEFAULT NULL,
`created` timestamp NULL DEFAULT NULL,
`contact_id` int(8) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `article_taggable_tag`
--
DROP TABLE IF EXISTS `article_taggable_tag`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `article_taggable_tag` (
`tag_id` int(8) DEFAULT NULL,
`id` int(8) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `article_theme`
--
DROP TABLE IF EXISTS `article_theme`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `article_theme` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
`uuid` varchar(100) DEFAULT NULL,
`install_id` int(8) DEFAULT NULL,
`shop_id` int(8) DEFAULT NULL,
`parent_id` int(8) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `article_theme_article`
--
DROP TABLE IF EXISTS `article_theme_article`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `article_theme_article` (
`theme_id` int(8) DEFAULT NULL,
`article_id` int(8) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `article_theme_market_article`
--
DROP TABLE IF EXISTS `article_theme_market_article`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `article_theme_market_article` (
`theme_id` int(8) DEFAULT NULL,
`article_id` int(8) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `base_article_releated`
--
DROP TABLE IF EXISTS `base_article_releated`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `base_article_releated` (
`article1` bigint(20) NOT NULL DEFAULT 0,
`article2` bigint(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`article1`,`article2`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `clipart`
--
DROP TABLE IF EXISTS `clipart`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `clipart` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`created` datetime NOT NULL,
`updated` datetime NOT NULL,
`title` varchar(255) NOT NULL,
`url` varchar(255) NOT NULL,
`install_id` int(8) NOT NULL,
`uuid` varchar(40) NOT NULL,
`clip_preview` varchar(255) NOT NULL,
`parent_id` int(8) NOT NULL,
`clip_price` float(10,0) NOT NULL,
`clip_colors` varchar(255) NOT NULL,
`clip_slice` varchar(255) NOT NULL,
`clip_file1` varchar(255) NOT NULL,
`clip_file2` varchar(255) NOT NULL,
`webbasedlayouter` int(1) NOT NULL,
`editable` int(1) NOT NULL,
`xml` varchar(255) NOT NULL,
`plotter` int(1) NOT NULL,
`preview` longblob NOT NULL,
`options` longblob NOT NULL,
`tags` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `clipart_theme`
--
DROP TABLE IF EXISTS `clipart_theme`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `clipart_theme` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`created` datetime NOT NULL,
`updated` datetime NOT NULL,
`install_id` int(8) NOT NULL,
`uuid` varchar(40) NOT NULL,
`title` varchar(255) NOT NULL,
`parent_id` int(8) NOT NULL,
`url` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `cms`
--
DROP TABLE IF EXISTS `cms`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `cms` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`install_id` bigint(20) DEFAULT NULL,
`shop_id` bigint(20) DEFAULT NULL,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`pos` varchar(100) DEFAULT NULL,
`sor` int(4) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`menu` varchar(255) NOT NULL,
`url` varchar(255) DEFAULT NULL,
`language` varchar(5) DEFAULT NULL,
`text1` longtext DEFAULT NULL,
`notinmenu` tinyint(1) NOT NULL,
`modul` varchar(255) DEFAULT NULL,
`parent` int(8) DEFAULT NULL,
`parameter` text DEFAULT NULL,
`copy_market` int(1) DEFAULT 0,
`meta_keywords` text DEFAULT NULL,
`meta_description` text DEFAULT NULL,
`meta_author` varchar(255) DEFAULT NULL,
`meta_custom_title` varchar(255) DEFAULT NULL,
`meta_og_title` varchar(255) DEFAULT NULL,
`meta_og_type` varchar(255) DEFAULT NULL,
`meta_og_url` varchar(255) DEFAULT NULL,
`meta_og_image` varchar(255) DEFAULT NULL,
`meta_og_description` text DEFAULT NULL,
`display_title` int(1) NOT NULL DEFAULT 1,
`display_only_logged_in` int(1) NOT NULL DEFAULT 0,
`private` int(1) DEFAULT 0,
`template` varchar(255) DEFAULT NULL,
`enable` int(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `install_id_idx` (`install_id`),
KEY `shop_id_idx` (`shop_id`)
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=2520;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `contact`
--
DROP TABLE IF EXISTS `contact`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contact` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`install_id` bigint(20) DEFAULT NULL,
`account_id` bigint(20) DEFAULT NULL,
`created` date DEFAULT NULL,
`updated` date DEFAULT NULL,
`enable` tinyint(1) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`hash` varchar(255) DEFAULT NULL,
`password` varchar(255) DEFAULT NULL,
`language` varchar(5) DEFAULT NULL,
`self_anrede` int(11) DEFAULT NULL,
`self_firstname` varchar(255) DEFAULT NULL,
`self_lastname` varchar(255) DEFAULT NULL,
`self_function` varchar(255) DEFAULT NULL,
`self_department` varchar(255) DEFAULT NULL,
`self_street` varchar(255) DEFAULT NULL,
`self_house_number` varchar(255) DEFAULT NULL,
`self_destrict` varchar(255) DEFAULT NULL,
`self_zip` varchar(255) DEFAULT NULL,
`self_city` varchar(255) DEFAULT NULL,
`self_state` varchar(255) DEFAULT NULL,
`self_country` varchar(255) DEFAULT NULL,
`self_email` varchar(255) DEFAULT NULL,
`self_web` varchar(255) DEFAULT NULL,
`self_foto` varchar(255) DEFAULT NULL,
`self_phone` varchar(255) DEFAULT NULL,
`self_phone_alternative_type` varchar(255) DEFAULT NULL,
`self_phone_alternative` varchar(255) DEFAULT NULL,
`self_phone_mobile` varchar(255) DEFAULT NULL,
`self_newsletter` tinyint(1) DEFAULT NULL,
`self_information` text DEFAULT NULL,
`anrede` int(11) DEFAULT NULL,
`firstname` varchar(255) DEFAULT NULL,
`lastname` varchar(255) DEFAULT NULL,
`function` varchar(255) DEFAULT NULL,
`department` varchar(255) DEFAULT NULL,
`street` varchar(255) DEFAULT NULL,
`house_number` varchar(255) DEFAULT NULL,
`destrict` varchar(255) DEFAULT NULL,
`zip` varchar(255) DEFAULT NULL,
`city` varchar(255) DEFAULT NULL,
`state` varchar(255) DEFAULT NULL,
`country` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`web` varchar(255) DEFAULT NULL,
`foto` varchar(255) DEFAULT NULL,
`phone` varchar(255) DEFAULT NULL,
`phone_alternative_type` int(11) DEFAULT NULL,
`phone_alternative` varchar(255) DEFAULT NULL,
`phone_mobile` varchar(255) DEFAULT NULL,
`newsletter` tinyint(1) DEFAULT 0,
`information` text DEFAULT NULL,
`contact_correspondence_languages` int(11) DEFAULT NULL,
`mwert` tinyint(1) DEFAULT 1,
`liefer_firstname` varchar(255) DEFAULT NULL,
`liefer_lastname` varchar(255) DEFAULT NULL,
`liefer_street` varchar(255) DEFAULT NULL,
`liefer_house_number` varchar(255) DEFAULT NULL,
`liefer_zip` varchar(255) DEFAULT NULL,
`liefer_city` varchar(255) DEFAULT NULL,
`liefer_phone` varchar(255) DEFAULT NULL,
`vonwo` varchar(255) DEFAULT NULL,
`liefer` tinyint(1) DEFAULT NULL,
`passwordresetid` varchar(255) DEFAULT NULL,
`passwordresetdate` datetime DEFAULT current_timestamp(),
`logo1` varchar(255) DEFAULT NULL,
`uuid` varchar(40) DEFAULT NULL,
`article_count` int(8) NOT NULL DEFAULT 0,
`motiv_count` int(8) NOT NULL DEFAULT 0,
`locked_master` int(1) DEFAULT 0,
`locked` int(1) DEFAULT 0,
`shop_kto` varchar(100) DEFAULT NULL,
`shop_blz` varchar(100) DEFAULT NULL,
`shop_iban` varchar(100) DEFAULT NULL,
`shop_bic` varchar(100) DEFAULT NULL,
`shop_bank_name` varchar(255) DEFAULT NULL,
`self_durchwahl` varchar(255) DEFAULT NULL,
`self_abteilung` varchar(255) DEFAULT NULL,
`is_sek` int(1) DEFAULT 0,
`self_phone_vorwahl` varchar(255) DEFAULT NULL,
`self_phone_durchwahl` varchar(255) DEFAULT NULL,
`self_mobile_vorwahl` varchar(255) DEFAULT NULL,
`self_mobile_durchwahl` varchar(255) DEFAULT NULL,
`self_fax_vorwahl` varchar(255) DEFAULT NULL,
`self_fax_phone` varchar(255) DEFAULT NULL,
`self_fax_durchwahl` varchar(255) DEFAULT NULL,
`self_phone_alternative_durchwahl` varchar(255) DEFAULT NULL,
`shop_name` varchar(255) DEFAULT NULL,
`bank_name` varchar(255) DEFAULT NULL,
`bank_kto` varchar(255) DEFAULT NULL,
`bank_blz` varchar(255) DEFAULT NULL,
`bank_iban` varchar(255) DEFAULT NULL,
`bank_bic` varchar(255) DEFAULT NULL,
`bank_bank_name` varchar(255) DEFAULT NULL,
`ustid` varchar(255) DEFAULT NULL,
`self_title` varchar(255) DEFAULT NULL,
`self_position` varchar(255) DEFAULT NULL,
`standart_delivery` int(1) DEFAULT 0,
`standart_sender` int(1) DEFAULT 0,
`standart_invoice` int(1) DEFAULT 0,
`show_calc` int(1) DEFAULT 0,
`test_calc` int(1) DEFAULT 0,
`production_status` int(8) DEFAULT NULL,
`collecting_orders` int(1) DEFAULT 0,
`self_phone_lv` varchar(255) DEFAULT NULL,
`self_mobile_lv` varchar(255) DEFAULT NULL,
`self_fax_lv` varchar(255) DEFAULT NULL,
`self_phone_alternative_lv` varchar(255) DEFAULT NULL,
`self_birthday` varchar(255) DEFAULT NULL,
`self_kostenstellung` varchar(255) DEFAULT NULL,
`self_department2` varchar(255) DEFAULT NULL,
`budget` int(8) DEFAULT NULL,
`virtual` int(1) DEFAULT 0,
PRIMARY KEY (`id`),
KEY `install_id_idx` (`install_id`),
KEY `account_id_idx` (`account_id`)
) ENGINE=InnoDB AUTO_INCREMENT=79 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=1170;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `contact_account`
--
DROP TABLE IF EXISTS `contact_account`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contact_account` (
`contact_id` int(8) NOT NULL,
`account_id` int(8) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `contact_address`
--
DROP TABLE IF EXISTS `contact_address`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contact_address` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`created` datetime NOT NULL,
`updated` datetime NOT NULL,
`uuid` varchar(40) NOT NULL,
`display` int(1) NOT NULL,
`install_id` int(8) DEFAULT NULL,
`contact_id` int(8) NOT NULL,
`firstname` varchar(100) DEFAULT NULL,
`lastname` varchar(100) DEFAULT NULL,
`street` varchar(255) DEFAULT NULL,
`house_number` varchar(20) DEFAULT NULL,
`zip` varchar(10) DEFAULT NULL,
`city` varchar(255) DEFAULT NULL,
`phone` varchar(100) DEFAULT NULL,
`mobil_phone` varchar(100) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`type` int(1) NOT NULL,
`company` varchar(100) DEFAULT NULL,
`anrede` varchar(100) NOT NULL,
`country` varchar(100) DEFAULT NULL,
`fax` varchar(255) DEFAULT NULL,
`company2` varchar(255) DEFAULT NULL,
`kostenstellung` varchar(255) DEFAULT NULL,
`abteilung` varchar(255) DEFAULT NULL,
`position` varchar(255) DEFAULT NULL,
`ustid` varchar(255) DEFAULT NULL,
`zusatz1` varchar(255) DEFAULT NULL,
`zusatz2` varchar(255) DEFAULT NULL,
`pos` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=73 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `contact_article`
--
DROP TABLE IF EXISTS `contact_article`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contact_article` (
`contact_id` bigint(20) NOT NULL DEFAULT 0,
`article_id` bigint(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`contact_id`,`article_id`),
KEY `article_id` (`article_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=8192;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `contact_cms`
--
DROP TABLE IF EXISTS `contact_cms`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contact_cms` (
`contact_id` bigint(20) NOT NULL DEFAULT 0,
`cms_id` bigint(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`contact_id`,`cms_id`),
KEY `cms_id` (`cms_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `contact_fav_article`
--
DROP TABLE IF EXISTS `contact_fav_article`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contact_fav_article` (
`uuid` varchar(40) NOT NULL,
`article_uuid` varchar(40) NOT NULL,
`contact_uuid` int(8) NOT NULL,
`fav_group_uuid` varchar(40) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `contact_motiv`
--
DROP TABLE IF EXISTS `contact_motiv`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contact_motiv` (
`contact_id` int(8) NOT NULL,
`motiv_id` int(8) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `contact_newsletter`
--
DROP TABLE IF EXISTS `contact_newsletter`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contact_newsletter` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`install_id` int(8) NOT NULL,
`shop_id` int(8) NOT NULL,
`verifyed` int(1) NOT NULL,
`email` varchar(255) NOT NULL,
`uuid` varchar(40) NOT NULL,
`created` datetime NOT NULL,
`updated` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `contact_paymenttype`
--
DROP TABLE IF EXISTS `contact_paymenttype`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contact_paymenttype` (
`contact_id` bigint(20) NOT NULL DEFAULT 0,
`paymenttype_id` bigint(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`contact_id`,`paymenttype_id`),
KEY `paymenttype_id` (`paymenttype_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=16384;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `contact_productgroup`
--
DROP TABLE IF EXISTS `contact_productgroup`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contact_productgroup` (
`contact_id` bigint(20) NOT NULL DEFAULT 0,
`productgroup_id` bigint(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`contact_id`,`productgroup_id`),
KEY `productgroup_id` (`productgroup_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `contact_role`
--
DROP TABLE IF EXISTS `contact_role`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contact_role` (
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`role_id` bigint(20) NOT NULL DEFAULT 0,
`contact_id` bigint(20) NOT NULL DEFAULT 0,
`uid` int(8) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`role_id`,`contact_id`),
UNIQUE KEY `uid` (`uid`),
KEY `contact_id` (`contact_id`)
) ENGINE=InnoDB AUTO_INCREMENT=230 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=496;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `contact_shippingtype`
--
DROP TABLE IF EXISTS `contact_shippingtype`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contact_shippingtype` (
`contact_id` bigint(20) NOT NULL DEFAULT 0,
`shippingtype_id` bigint(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`contact_id`,`shippingtype_id`),
KEY `shippingtype_id` (`shippingtype_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `credit_system`
--
DROP TABLE IF EXISTS `credit_system`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `credit_system` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`shop_id` int(8) DEFAULT NULL,
`install_id` int(8) DEFAULT NULL,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`count` int(8) DEFAULT NULL,
`enable` int(1) DEFAULT NULL,
`f` date DEFAULT NULL,
`t` date DEFAULT NULL,
`percent` int(1) DEFAULT NULL,
`wert` float DEFAULT NULL,
`more` int(1) NOT NULL,
`product_id` varchar(255) DEFAULT NULL,
`pre_code` varchar(255) DEFAULT NULL,
`articlegroup_id` varchar(255) DEFAULT NULL,
`mode` int(1) DEFAULT 1,
`payment` int(1) DEFAULT 1,
`shipping` int(1) DEFAULT 1,
`zeroShipping` int(1) DEFAULT 0,
`zeroPayment` int(1) DEFAULT 0,
`min_basket_value` float DEFAULT 0,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `credit_system_detail`
--
DROP TABLE IF EXISTS `credit_system_detail`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `credit_system_detail` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`install_id` int(8) DEFAULT NULL,
`shop_id` int(8) DEFAULT NULL,
`creditsystem_id` int(8) DEFAULT NULL,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`uuid` varchar(255) DEFAULT NULL,
`used` int(1) DEFAULT NULL,
`contact_id` int(8) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `domain`
--
DROP TABLE IF EXISTS `domain`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `domain` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`shop_id` bigint(20) DEFAULT NULL,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`redirect` varchar(255) DEFAULT NULL,
`letsEncrypt` int(1) DEFAULT 0,
PRIMARY KEY (`id`),
KEY `shop_id_idx` (`shop_id`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `frontend_translation`
--
DROP TABLE IF EXISTS `frontend_translation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `frontend_translation` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`message_id` varchar(255) NOT NULL,
`locale` varchar(255) NOT NULL,
`text` text NOT NULL,
`shop_id` int(8) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `image`
--
DROP TABLE IF EXISTS `image`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `image` (
`id` varchar(40) NOT NULL DEFAULT '',
`path` varchar(255) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`imagetype` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=4096;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `install`
--
DROP TABLE IF EXISTS `install`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `install` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`paperdb` longtext DEFAULT NULL,
`containerdb` longtext DEFAULT NULL,
`defaultmarket` int(11) NOT NULL,
`marketdomain` varchar(255) NOT NULL,
`mall_logo` varchar(255) NOT NULL,
`order_number` int(8) NOT NULL,
`order_number_date` int(1) NOT NULL,
`agb` text NOT NULL,
`admincontact` int(8) NOT NULL,
`check_agb` text NOT NULL,
`a9_pt` mediumtext NOT NULL,
`designer_debug` int(1) NOT NULL,
`user_passwordreset_mode` int(1) NOT NULL DEFAULT 0,
`redirect_ssl` int(1) NOT NULL,
`service_value` int(3) NOT NULL DEFAULT 30,
`check_agb_motiv` text NOT NULL,
`check_agb_article` text NOT NULL,
`calc_template` longtext NOT NULL,
`calc_template_test` longtext NOT NULL,
`motiv_1` int(8) NOT NULL,
`motiv_2` int(8) NOT NULL,
`motiv_3` int(8) NOT NULL,
`export_template_contact` varchar(255) NOT NULL,
`export_template_product` varchar(255) NOT NULL,
`use_opengraph` int(1) NOT NULL DEFAULT 0,
`offline_custom1` text NOT NULL,
`offline_custom2` text NOT NULL,
`offline_custom3` text NOT NULL,
`motiv_agb` text DEFAULT NULL,
`only_de` int(1) DEFAULT 0,
`default_status_pos_status_change` int(3) DEFAULT 0,
`production_status` varchar(255) DEFAULT NULL,
`layouter_agb` text DEFAULT NULL,
`impress` mediumtext DEFAULT NULL,
`impress_themenshop` mediumtext DEFAULT NULL,
`layouter_version` varchar(20) DEFAULT NULL,
`revocation` mediumtext DEFAULT NULL,
`vacation` mediumtext DEFAULT NULL,
`colordb` longblob DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `layouter_design_data`
--
DROP TABLE IF EXISTS `layouter_design_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `layouter_design_data` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`design` longtext DEFAULT NULL,
`uuid` varchar(45) DEFAULT NULL,
`article_uuid` varchar(45) DEFAULT NULL,
`datatable` longtext DEFAULT NULL,
`dynamicWidth` int(8) DEFAULT NULL,
`dynamicHeight` int(8) DEFAULT NULL,
`dynamicSize` int(1) DEFAULT NULL,
`title` varchar(45) DEFAULT NULL,
`preview_path` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=67 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `layouter_session`
--
DROP TABLE IF EXISTS `layouter_session`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `layouter_session` (
`uuid` varchar(50) NOT NULL,
`xmlconfig` mediumtext DEFAULT NULL,
`xmlpages` mediumtext DEFAULT NULL,
`xmlpagetemplates` mediumtext DEFAULT NULL,
`xmlpageobjects` mediumtext DEFAULT NULL,
`xmlxslfo` mediumtext DEFAULT NULL,
`xmlpreviewxslfo` mediumtext DEFAULT NULL,
`xmlextendpreviewxslfo` mediumtext DEFAULT NULL,
`created` datetime NOT NULL,
`updated` datetime NOT NULL,
`contact_id` int(8) NOT NULL,
`org_article_id` varchar(50) NOT NULL,
`id` int(8) NOT NULL AUTO_INCREMENT,
`title` varchar(255) DEFAULT NULL,
`preview_path` varchar(255) DEFAULT NULL,
`designer_xml` longtext DEFAULT NULL,
`template_print_id` varchar(255) DEFAULT NULL,
`layouter_modus` int(1) NOT NULL DEFAULT 1,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=148 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `layouterupload`
--
DROP TABLE IF EXISTS `layouterupload`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `layouterupload` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`session_id` varchar(255) NOT NULL,
`uploadticket_id` varchar(255) NOT NULL,
`article_id` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=496 PACK_KEYS=0;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `migration_version`
--
DROP TABLE IF EXISTS `migration_version`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `migration_version` (
`version` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `motiv`
--
DROP TABLE IF EXISTS `motiv`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `motiv` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`uuid` varchar(40) DEFAULT NULL,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`install_id` bigint(20) DEFAULT NULL,
`shop_id` bigint(20) DEFAULT NULL,
`account_id` bigint(20) DEFAULT NULL,
`contact_id` bigint(20) DEFAULT NULL,
`file_orginal` varchar(255) DEFAULT NULL,
`file_work` varchar(255) DEFAULT NULL,
`file_thumb` varchar(255) DEFAULT NULL,
`file_mid` varchar(255) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
`info` text DEFAULT NULL,
`keywords` text DEFAULT NULL,
`width` bigint(20) DEFAULT NULL,
`height` bigint(20) DEFAULT NULL,
`copyright` varchar(255) DEFAULT NULL,
`typ` varchar(3) DEFAULT NULL,
`resale_shop` tinyint(1) DEFAULT 0,
`mid_width` int(8) DEFAULT NULL,
`mid_height` int(8) DEFAULT NULL,
`deleted` int(1) NOT NULL,
`price1` float NOT NULL,
`dpi_org` varchar(10) NOT NULL,
`dpi_con` varchar(10) NOT NULL,
`visits` int(8) NOT NULL DEFAULT 0,
`used` int(8) NOT NULL DEFAULT 0,
`orgfilename` varchar(255) NOT NULL,
`rate` int(8) NOT NULL,
`rate_count` int(8) NOT NULL,
`resale_market` tinyint(1) NOT NULL DEFAULT 0,
`resale_download` tinyint(1) NOT NULL DEFAULT 0,
`status` int(2) NOT NULL DEFAULT 10,
`status_text` mediumtext NOT NULL,
`download_price` float NOT NULL DEFAULT 0,
`price2` float NOT NULL,
`price3` float NOT NULL,
`exif` longtext NOT NULL,
`delete` int(1) DEFAULT 0,
PRIMARY KEY (`id`),
UNIQUE KEY `sluggable_idx` (`url`),
KEY `install_id_idx` (`install_id`),
KEY `shop_id_idx` (`shop_id`),
KEY `account_id_idx` (`account_id`),
KEY `contact_id_idx` (`contact_id`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `motiv_counter`
--
DROP TABLE IF EXISTS `motiv_counter`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `motiv_counter` (
`counter_id` int(11) NOT NULL,
`max_doc_id` int(11) NOT NULL,
PRIMARY KEY (`counter_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `motiv_taggable_tag`
--
DROP TABLE IF EXISTS `motiv_taggable_tag`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `motiv_taggable_tag` (
`id` bigint(20) NOT NULL DEFAULT 0,
`tag_id` bigint(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`,`tag_id`),
KEY `motiv_taggable_tag_tag_id_taggable_tag_id` (`tag_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `motiv_theme`
--
DROP TABLE IF EXISTS `motiv_theme`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `motiv_theme` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
`uuid` varchar(100) DEFAULT NULL,
`install_id` int(8) DEFAULT NULL,
`shop_id` int(8) DEFAULT NULL,
`parent_id` int(8) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `motiv_theme_market_motiv`
--
DROP TABLE IF EXISTS `motiv_theme_market_motiv`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `motiv_theme_market_motiv` (
`theme_id` int(8) DEFAULT NULL,
`motiv_id` int(8) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `motiv_theme_motiv`
--
DROP TABLE IF EXISTS `motiv_theme_motiv`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `motiv_theme_motiv` (
`theme_id` int(8) DEFAULT NULL,
`motiv_id` int(8) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `news`
--
DROP TABLE IF EXISTS `news`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `news` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`install_id` bigint(20) DEFAULT NULL,
`shop_id` bigint(20) DEFAULT NULL,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`pos` varchar(100) DEFAULT NULL,
`sor` varchar(10) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`menu` varchar(255) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
`language` varchar(5) DEFAULT NULL,
`text` text DEFAULT NULL,
`notinmenu` tinyint(1) DEFAULT NULL,
`einleitung` text DEFAULT NULL,
`sort_date` date DEFAULT NULL,
`active` int(1) NOT NULL DEFAULT 1,
`from_date` datetime DEFAULT NULL,
`to_date` datetime DEFAULT NULL,
`media` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`media`)),
PRIMARY KEY (`id`),
KEY `install_id_idx` (`install_id`),
KEY `shop_id_idx` (`shop_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=8192;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `newsletter`
--
DROP TABLE IF EXISTS `newsletter`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `newsletter` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`created` datetime NOT NULL,
`updated` datetime NOT NULL,
`install_id` int(8) NOT NULL,
`shop_id` int(8) NOT NULL,
`title` varchar(255) NOT NULL,
`subject` varchar(255) NOT NULL,
`from_mail` varchar(255) NOT NULL,
`from_name` varchar(255) NOT NULL,
`text` mediumtext NOT NULL,
`text_html` mediumtext NOT NULL,
`uuid` varchar(40) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `newsletter_queue`
--
DROP TABLE IF EXISTS `newsletter_queue`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `newsletter_queue` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`shop_id` int(8) NOT NULL,
`install_id` int(8) NOT NULL,
`newsletter_id` int(8) NOT NULL,
`contact_id` int(8) NOT NULL,
`status` int(1) NOT NULL,
`send_count` int(8) NOT NULL,
`created` datetime NOT NULL,
`updated` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `orders`
--
DROP TABLE IF EXISTS `orders`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `orders` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`install_id` bigint(20) DEFAULT NULL,
`account_id` bigint(20) DEFAULT NULL,
`shop_id` bigint(20) DEFAULT NULL,
`alias` varchar(255) DEFAULT NULL,
`contact_id` bigint(20) DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
`paymenttype_id` bigint(20) DEFAULT NULL,
`shippingtype_id` bigint(20) DEFAULT NULL,
`preis` float DEFAULT 0,
`preissteuer` float DEFAULT NULL,
`preisbrutto` float DEFAULT NULL,
`enable` tinyint(1) DEFAULT 1,
`package` varchar(50) DEFAULT '',
`info` text DEFAULT NULL,
`basketfield1` text DEFAULT NULL,
`basketfield2` text DEFAULT NULL,
`gutschein` varchar(40) DEFAULT NULL,
`gutscheinabzug` float DEFAULT NULL,
`delivery_same` int(1) DEFAULT 0,
`delivery_address` int(8) DEFAULT NULL,
`uuid` varchar(50) NOT NULL,
`versandkosten` float DEFAULT 0,
`zahlkosten` float DEFAULT 0,
`gutscheinabzugtyp` int(1) DEFAULT 0,
`use_account_as_invoice` int(1) DEFAULT 0,
`mwertalle` mediumtext DEFAULT NULL,
`sender_same` int(1) DEFAULT 0,
`invoice_same` int(1) DEFAULT 0,
`sender_address` int(8) DEFAULT NULL,
`invoice_address` int(8) DEFAULT NULL,
`delivery_date` date DEFAULT NULL,
`version` int(5) DEFAULT 1,
`shippingtype_extra_label` varchar(255) DEFAULT NULL,
`file1` varchar(255) DEFAULT NULL,
`lang` varchar(2) DEFAULT NULL,
`type` int(1) DEFAULT 1,
PRIMARY KEY (`id`),
UNIQUE KEY `orders_pk` (`id`),
KEY `contact_id_idx` (`contact_id`),
KEY `install_id_idx` (`install_id`),
KEY `account_id_idx` (`account_id`),
KEY `shop_id_idx` (`shop_id`)
) ENGINE=InnoDB AUTO_INCREMENT=283 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=682;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `orderspos`
--
DROP TABLE IF EXISTS `orderspos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `orderspos` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`createdd` date DEFAULT NULL,
`updatedd` date DEFAULT NULL,
`createdt` time DEFAULT NULL,
`updatedt` time DEFAULT NULL,
`install_id` bigint(20) DEFAULT NULL,
`shop_id` bigint(20) DEFAULT NULL,
`account_id` bigint(20) DEFAULT NULL,
`orders_id` bigint(20) NOT NULL DEFAULT 0,
`count` int(11) DEFAULT NULL,
`data` longblob DEFAULT NULL,
`priceone` float DEFAULT NULL,
`priceonesteuer` float DEFAULT NULL,
`priceonebrutto` float DEFAULT NULL,
`priceall` float DEFAULT NULL,
`priceallsteuer` float DEFAULT NULL,
`priceallbrutto` float DEFAULT NULL,
`uploadfinish` tinyint(1) DEFAULT NULL,
`article_id` int(11) DEFAULT NULL,
`question` text DEFAULT NULL,
`resale_price` float DEFAULT 0,
`typ` int(8) NOT NULL,
`status` int(3) DEFAULT 10,
`uuid` varchar(50) NOT NULL,
`layouter_mode` int(1) DEFAULT 0,
`render_print` int(1) DEFAULT 0,
`xmlconfigfile` mediumtext DEFAULT NULL,
`xmlpagesfile` mediumtext DEFAULT NULL,
`xmlpagetemplatesfile` mediumtext DEFAULT NULL,
`xmlpageobjectsfile` mediumtext DEFAULT NULL,
`xmlxslfofile` mediumtext DEFAULT NULL,
`xmlpreviewxslfofile` mediumtext DEFAULT NULL,
`xmlextendpreviewxslfofile` mediumtext DEFAULT NULL,
`calc_xml` mediumtext DEFAULT NULL,
`a9_user_cost` float(8,0) DEFAULT NULL,
`a9_designer_data` mediumtext DEFAULT NULL,
`hasgutschein` int(1) DEFAULT NULL,
`weight` int(8) DEFAULT NULL,
`calc_values` longtext DEFAULT NULL,
`delivery_date` date DEFAULT NULL,
`maschine` int(8) DEFAULT NULL,
`papier` int(1) DEFAULT NULL,
`proddate` date DEFAULT NULL,
`version` int(5) DEFAULT 1,
`pos` int(2) DEFAULT NULL,
`shipping_type` int(8) DEFAULT NULL,
`shipping_price` float DEFAULT NULL,
`shipping_price_mwert` float DEFAULT NULL,
`ref` varchar(255) DEFAULT NULL,
`kst` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`,`orders_id`),
KEY `install_id_idx` (`install_id`),
KEY `shop_id_idx` (`shop_id`),
KEY `account_id_idx` (`account_id`),
KEY `orders_id` (`orders_id`),
KEY `uuid` (`uuid`),
KEY `article_id` (`article_id`),
KEY `created_date` (`createdd`),
KEY `layouter_mode_render_print` (`layouter_mode`,`render_print`),
KEY `orderspos_article_id_orders_id_index` (`article_id`,`orders_id`)
) ENGINE=InnoDB AUTO_INCREMENT=368 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=5242;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `orderspos_confirm_contact`
--
DROP TABLE IF EXISTS `orderspos_confirm_contact`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `orderspos_confirm_contact` (
`orderspos_id` int(8) NOT NULL,
`contact_id` int(8) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `papierdb`
--
DROP TABLE IF EXISTS `papierdb`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `papierdb` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`install_id` int(8) NOT NULL,
`art_nr` varchar(25) NOT NULL,
`auslauf` varchar(1) DEFAULT NULL,
`description_1` varchar(255) DEFAULT NULL,
`description_2` varchar(255) DEFAULT NULL,
`grammatur` varchar(6) DEFAULT NULL,
`staerke` varchar(60) DEFAULT NULL,
`breite` varchar(60) DEFAULT NULL,
`hoehe` varchar(60) DEFAULT NULL,
`laenge` varchar(60) DEFAULT NULL,
`rollenlaenge` varchar(60) DEFAULT NULL,
`gewicht` int(10) DEFAULT NULL,
`papierausruestung` varchar(60) DEFAULT NULL,
`farbnummer` varchar(60) DEFAULT NULL,
`farbbezeichnung` varchar(60) DEFAULT NULL,
`huelsendurchmesser` varchar(60) DEFAULT NULL,
`kleber` varchar(60) DEFAULT NULL,
`abdeckpapier` varchar(60) DEFAULT NULL,
`laufrichtung` varchar(2) DEFAULT NULL,
`mengenangabe` int(10) DEFAULT NULL,
`mengenangabe_palette` int(10) DEFAULT NULL,
`inhalt` varchar(60) DEFAULT NULL,
`etiketten_je_blatt` varchar(60) DEFAULT NULL,
`mengeneinheit` varchar(30) DEFAULT NULL,
`staffelmenge_1` int(10) DEFAULT NULL,
`staffelpreis_1` float(10,0) DEFAULT NULL,
`staffelmenge_2` int(10) DEFAULT NULL,
`staffelpreis_2` float(10,0) DEFAULT NULL,
`staffelmenge_3` int(10) DEFAULT NULL,
`staffelpreis_3` float(10,0) DEFAULT NULL,
`staffelmenge_4` int(10) DEFAULT NULL,
`staffelpreis_4` float(10,0) DEFAULT NULL,
`staffelmenge_5` int(10) DEFAULT NULL,
`staffelpreis_5` float(10,0) DEFAULT NULL,
`lagerort` varchar(7) DEFAULT NULL,
`verkaufshinweise` text DEFAULT NULL,
`abnahmeinfo` varchar(60) DEFAULT NULL,
`produkt_beschreibung` text DEFAULT NULL,
`produkt_eigenschaften` text DEFAULT NULL,
`produkt_vorteile` text DEFAULT NULL,
`produkt_nutzen` text DEFAULT NULL,
`produkt_anwendungen` text DEFAULT NULL,
`produkt_besonderheit` text DEFAULT NULL,
`musterbuch` varchar(40) DEFAULT NULL,
`zur_aufnahme_von` varchar(60) DEFAULT NULL,
`eigenschaften` text DEFAULT NULL,
`preis` float DEFAULT NULL,
`uuid` varchar(40) DEFAULT NULL,
`offset_fix` float DEFAULT 0,
`offset_var` float DEFAULT 0,
`digital_fix` float DEFAULT 0,
`digital_var` float DEFAULT 0,
PRIMARY KEY (`id`),
KEY `art_nr` (`art_nr`)
) ENGINE=InnoDB AUTO_INCREMENT=6729 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `paymenttype`
--
DROP TABLE IF EXISTS `paymenttype`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `paymenttype` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`install_id` bigint(20) DEFAULT NULL,
`shop_id` bigint(20) DEFAULT NULL,
`enable` tinyint(1) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`prozent` tinyint(1) DEFAULT NULL,
`wert` double DEFAULT NULL,
`private` tinyint(1) DEFAULT NULL,
`pos` int(8) NOT NULL,
`description` text DEFAULT NULL,
`trustedshop_name` varchar(255) DEFAULT NULL,
`mwert` double DEFAULT NULL,
`price_from` int(8) DEFAULT 0,
`price_to` int(8) DEFAULT 0,
PRIMARY KEY (`id`),
KEY `install_id_idx` (`install_id`),
KEY `shop_id_idx` (`shop_id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=8192;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `preflight`
--
DROP TABLE IF EXISTS `preflight`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `preflight` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`install_id` int(8) NOT NULL,
`created` datetime NOT NULL,
`updated` datetime NOT NULL,
`uuid` varchar(40) DEFAULT NULL,
`nr` varchar(255) DEFAULT NULL,
`description` mediumtext DEFAULT NULL,
`check_filetype_pdf` int(1) DEFAULT NULL,
`check_filetype_image` int(1) DEFAULT NULL,
`check_filetype_error_message` varchar(255) DEFAULT NULL,
`check_site_count_rel` varchar(255) DEFAULT NULL,
`check_site_count` int(8) DEFAULT NULL,
`check_site_count_color` int(8) DEFAULT NULL,
`check_site_count_bw` int(8) DEFAULT NULL,
`check_site_count_error_message` varchar(255) DEFAULT NULL,
`check_format_a1` int(1) DEFAULT NULL,
`check_format_a2` int(1) DEFAULT NULL,
`check_format_a3` int(1) DEFAULT NULL,
`check_format_a4` int(1) DEFAULT NULL,
`check_format_a5` int(1) DEFAULT NULL,
`check_format_a6` int(1) DEFAULT NULL,
`check_format_custom_width_from` int(8) DEFAULT NULL,
`check_format_custom_width_to` int(8) DEFAULT NULL,
`check_format_custom_height_from` int(8) DEFAULT NULL,
`check_format_custom_height_to` int(8) DEFAULT NULL,
`check_format_error_message` varchar(255) DEFAULT NULL,
`check_format_box_media` int(1) DEFAULT NULL,
`check_format_box_trim` int(1) DEFAULT NULL,
`check_format_box_bleed` int(1) DEFAULT NULL,
`check_format_box_crop` int(1) DEFAULT NULL,
`check_format_box_art` int(1) DEFAULT NULL,
`check_format_box_error_message` varchar(255) DEFAULT NULL,
`check_format_a0` int(1) DEFAULT NULL,
`check_format_a7` int(1) DEFAULT NULL,
`check_format_a8` int(1) DEFAULT NULL,
`check_format_a9` int(1) DEFAULT NULL,
`check_format_a10` int(1) DEFAULT NULL,
`check_format_rel` varchar(255) DEFAULT NULL,
`check_format_orientation_rel` varchar(255) DEFAULT NULL,
`check_format_orientation_quer` int(1) DEFAULT NULL,
`check_format_orientation_hoch` int(1) DEFAULT NULL,
`check_fonts_embedded` int(1) DEFAULT NULL,
`check_fonts_embedded_error_message` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `printdate`
--
DROP TABLE IF EXISTS `printdate`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `printdate` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`install_id` bigint(20) DEFAULT NULL,
`shop_id` bigint(20) DEFAULT NULL,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`startdate` date DEFAULT NULL,
`data` text DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `install_id_idx` (`install_id`),
KEY `shop_id_idx` (`shop_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=8192;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `privilege`
--
DROP TABLE IF EXISTS `privilege`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `privilege` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `queues`
--
DROP TABLE IF EXISTS `queues`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `queues` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`createdd` date DEFAULT NULL,
`updatedd` date DEFAULT NULL,
`createdt` time DEFAULT NULL,
`updatedt` time DEFAULT NULL,
`install_id` bigint(20) DEFAULT NULL,
`shop_id` bigint(20) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`typ` varchar(255) DEFAULT NULL,
`data` text DEFAULT NULL,
`enable` tinyint(1) DEFAULT NULL,
`action` varchar(255) DEFAULT NULL,
`pos` int(8) NOT NULL,
`shop` int(8) NOT NULL DEFAULT 0,
`xml` longtext DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `install_id_idx` (`install_id`),
KEY `shop_id_idx` (`shop_id`)
) ENGINE=InnoDB AUTO_INCREMENT=39 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=3276;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `resource`
--
DROP TABLE IF EXISTS `resource`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `resource` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`modul` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=66 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=606;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `resource_privilege`
--
DROP TABLE IF EXISTS `resource_privilege`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `resource_privilege` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`resource_id` bigint(20) DEFAULT NULL,
`privilege_id` bigint(20) DEFAULT NULL,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`tree` tinyint(1) DEFAULT NULL,
`treename` varchar(255) DEFAULT NULL,
`treeicon` varchar(255) DEFAULT NULL,
`treeparent` varchar(255) DEFAULT NULL,
`sort` int(3) DEFAULT NULL,
`market` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `resource_id_idx` (`resource_id`),
KEY `privilege_id_idx` (`privilege_id`)
) ENGINE=InnoDB AUTO_INCREMENT=85 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=468;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `resourceprivilegeshop`
--
DROP TABLE IF EXISTS `resourceprivilegeshop`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `resourceprivilegeshop` (
`shop_id` int(8) NOT NULL,
`resourceprivilege_id` int(8) NOT NULL,
`id` int(8) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=86 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `role`
--
DROP TABLE IF EXISTS `role`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `role` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`level` mediumint(9) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `role_privilege`
--
DROP TABLE IF EXISTS `role_privilege`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `role_privilege` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`role_id` bigint(20) DEFAULT NULL,
`resource_privilege_id` bigint(20) DEFAULT NULL,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `role_id_idx` (`role_id`),
KEY `resource_privilege_id_idx` (`resource_privilege_id`)
) ENGINE=InnoDB AUTO_INCREMENT=91 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=455;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `service_booking`
--
DROP TABLE IF EXISTS `service_booking`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `service_booking` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`install_id` int(8) NOT NULL,
`shop_id` int(8) NOT NULL,
`shop_name` varchar(255) NOT NULL,
`product_count` int(8) NOT NULL,
`product_id` int(8) NOT NULL,
`product_name` varchar(255) NOT NULL,
`booking_typ` int(8) NOT NULL,
`booking_text` varchar(255) NOT NULL,
`order_id` int(8) NOT NULL,
`orderpos_id` int(8) NOT NULL,
`orderpos_netto` float NOT NULL,
`orderpos_mwert` float NOT NULL,
`orderpos_brutto` float NOT NULL,
`payment_value` float NOT NULL,
`service_value` int(3) NOT NULL,
`uuid` varchar(40) NOT NULL,
`created` datetime NOT NULL,
`updated` datetime NOT NULL,
`product_resale` float NOT NULL,
`product_contact_creator` int(8) NOT NULL,
`product_contact_buyer` int(8) NOT NULL,
`type` int(8) NOT NULL,
`product_contact_creator_name` varchar(255) NOT NULL,
`product_contact_creator_street` varchar(255) NOT NULL,
`product_contact_creator_city` varchar(255) NOT NULL,
`product_contact_creator_mail` varchar(255) NOT NULL,
`product_contact_creator_tel` varchar(255) NOT NULL,
`product_contact_buyer_name` varchar(255) NOT NULL,
`product_contact_buyer_street` varchar(255) NOT NULL,
`product_contact_buyer_city` varchar(255) NOT NULL,
`product_contact_buyer_mail` varchar(255) NOT NULL,
`product_contact_buyer_tel` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `shippingtype`
--
DROP TABLE IF EXISTS `shippingtype`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `shippingtype` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`install_id` bigint(20) DEFAULT NULL,
`shop_id` bigint(20) DEFAULT NULL,
`enable` tinyint(1) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`art` varchar(255) DEFAULT NULL,
`land` varchar(255) DEFAULT NULL,
`mwert` double DEFAULT NULL,
`kosten_a` varchar(255) DEFAULT NULL,
`kosten_b` varchar(255) DEFAULT NULL,
`kosten_c` varchar(255) DEFAULT NULL,
`kosten_d` varchar(255) DEFAULT NULL,
`kosten_e` varchar(255) DEFAULT NULL,
`kosten_f` varchar(255) DEFAULT NULL,
`kosten_fix` varchar(255) DEFAULT NULL,
`pos` int(8) NOT NULL,
`no_payment` int(1) NOT NULL,
`description` text DEFAULT NULL,
`private` int(1) NOT NULL,
`weight_from` int(11) DEFAULT NULL,
`weight_to` int(11) DEFAULT NULL,
`xml` longtext DEFAULT NULL,
`kosten_percent` float DEFAULT 0,
`price_from` int(8) DEFAULT 0,
`price_to` int(8) DEFAULT 0,
`mode` tinyint(4) DEFAULT 1,
PRIMARY KEY (`id`),
KEY `install_id_idx` (`install_id`),
KEY `shop_id_idx` (`shop_id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=5461;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `shop`
--
DROP TABLE IF EXISTS `shop`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `shop` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`install_id` bigint(20) DEFAULT NULL,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`layout` varchar(255) DEFAULT NULL,
`uid` varchar(255) DEFAULT NULL,
`defaultfunc` varchar(255) DEFAULT NULL,
`defaultparam` varchar(255) DEFAULT NULL,
`mwert` varchar(2) DEFAULT NULL,
`logo1` varchar(255) DEFAULT NULL,
`logo2` varchar(255) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`subtitle` varchar(500) DEFAULT NULL,
`parameter` longtext DEFAULT NULL,
`formel` longtext DEFAULT NULL,
`land` bigint(20) DEFAULT NULL,
`googleanalyticscode` varchar(50) DEFAULT '',
`private` tinyint(1) NOT NULL DEFAULT 1,
`smtpfromname` varchar(255) DEFAULT NULL,
`smtpfrommail` varchar(255) DEFAULT NULL,
`smtphostname` varchar(255) DEFAULT NULL,
`smtpusername` varchar(255) DEFAULT NULL,
`smtppassword` varchar(255) DEFAULT NULL,
`smtpusethis` int(1) NOT NULL,
`useemailaslogin` int(1) NOT NULL,
`noverify` int(1) NOT NULL,
`keywords` longtext DEFAULT NULL,
`description` varchar(1000) DEFAULT NULL,
`author` varchar(255) DEFAULT NULL,
`copyright` varchar(255) DEFAULT NULL,
`basketfield1` varchar(255) DEFAULT NULL,
`basketfield2` varchar(255) DEFAULT NULL,
`css` text DEFAULT NULL,
`market` tinyint(1) DEFAULT NULL,
`markettemplate` tinyint(1) DEFAULT NULL,
`reportsite1` varchar(255) DEFAULT NULL,
`reportsite2` varchar(255) DEFAULT NULL,
`customtemplates` int(1) DEFAULT 0,
`templatecopyright` text DEFAULT NULL,
`uploadfrontend` int(1) DEFAULT 1,
`uselanguage` int(1) DEFAULT 0,
`default_account` int(8) NOT NULL,
`template_navi_display_all` int(1) DEFAULT 1,
`template_display_products` int(1) DEFAULT 0,
`template_display_motive` int(1) DEFAULT 0,
`template_display_themenshops` int(1) DEFAULT 0,
`template_display_products_all` int(1) DEFAULT 0,
`template_display_products_product_templates` int(1) DEFAULT 0,
`template_display_products_products` int(1) DEFAULT 0,
`template_display_products_templates` int(1) DEFAULT 0,
`template_display_products_own_products` int(1) DEFAULT 0,
`template_display_products_my_products` int(1) DEFAULT 0,
`template_display_products_custom_layouter` int(1) DEFAULT 0,
`template_display_products_calc` int(1) DEFAULT 0,
`template_display_products_depot` int(1) DEFAULT 0,
`template_display_motive_all` int(1) DEFAULT 0,
`template_display_motive_fav` int(1) DEFAULT 0,
`template_display_motive_my` int(1) DEFAULT 0,
`browsericon` varchar(255) DEFAULT NULL,
`template_display_products_navi` int(1) DEFAULT 0,
`template_display_theme_navi` int(1) DEFAULT 0,
`template_display_products_crossselling` int(1) DEFAULT 0,
`template_display_help` int(1) DEFAULT 0,
`template_display_help_cms` int(8) DEFAULT NULL,
`template_display_lesezeichen` int(1) DEFAULT 0,
`template_display_news` int(1) DEFAULT 0,
`template_display_newsletter` int(1) DEFAULT 0,
`pmb` int(1) DEFAULT 0,
`views` int(8) DEFAULT NULL,
`preview_logo` varchar(255) DEFAULT NULL,
`template_display_uploadcenter` int(8) DEFAULT NULL,
`template_display_orders` int(8) DEFAULT NULL,
`registration` int(1) DEFAULT 1,
`slider_cms` int(1) DEFAULT NULL,
`slider_a_1` int(8) DEFAULT NULL,
`slider_a_2` int(8) DEFAULT NULL,
`slider_a_3` int(8) DEFAULT NULL,
`slider_a_4` int(8) DEFAULT NULL,
`slider_a_5` int(8) DEFAULT NULL,
`slider_cms_1` int(8) DEFAULT NULL,
`slider_cms_2` int(8) DEFAULT NULL,
`slider_cms_3` int(8) DEFAULT NULL,
`slider_cms_4` int(8) DEFAULT NULL,
`slider_cms_5` int(8) DEFAULT NULL,
`slider_logo` varchar(50) DEFAULT NULL,
`template_display_lead_box` int(8) DEFAULT NULL,
`rate` int(8) DEFAULT NULL,
`rate_count` int(8) DEFAULT NULL,
`template_display_rate` int(1) DEFAULT 1,
`template_display_violation` int(1) DEFAULT 1,
`layouter_presets` text DEFAULT NULL,
`betreiber_company` varchar(100) DEFAULT NULL,
`betreiber_name` varchar(100) DEFAULT NULL,
`betreiber_street` varchar(100) DEFAULT NULL,
`betreiber_address` varchar(100) DEFAULT NULL,
`display_top_modul` int(1) DEFAULT NULL,
`top_modul_settings` text DEFAULT NULL,
`display_resale_modul` int(1) DEFAULT NULL,
`betreiber_email` varchar(50) DEFAULT NULL,
`template_lead_product_1` int(8) DEFAULT NULL,
`template_lead_product_2` int(8) DEFAULT NULL,
`template_lead_product_3` int(8) DEFAULT NULL,
`template_lead_product_4` int(8) DEFAULT NULL,
`display_lead_box_modul` int(1) DEFAULT NULL,
`template_lead_product_5` int(8) DEFAULT NULL,
`display_market` int(1) DEFAULT 1,
`creator_id` int(8) DEFAULT NULL,
`web_title` varchar(250) DEFAULT NULL,
`default_motiv_status` int(3) DEFAULT 30,
`display_motiv_count` int(2) DEFAULT 32,
`display_market_count` int(2) DEFAULT 32,
`display_article_count` int(2) DEFAULT 32,
`service_value` int(3) DEFAULT 30,
`private_product` int(1) DEFAULT NULL,
`sitemap` varchar(40) DEFAULT NULL,
`report_agb` varchar(40) DEFAULT NULL,
`test_parameter` text DEFAULT NULL,
`test_formel` text DEFAULT NULL,
`report_background_invoice` int(1) DEFAULT 1,
`report_background_delivery` int(1) DEFAULT 1,
`report_background_label` int(1) DEFAULT NULL,
`report_background_job` int(1) DEFAULT NULL,
`report_background_offer` int(1) DEFAULT 1,
`report_background_order` int(1) DEFAULT 1,
`redirect_login` varchar(255) DEFAULT NULL,
`template_display_products_customer_related` int(1) DEFAULT NULL,
`template_display_products_related_carusel` int(1) DEFAULT NULL,
`template_display_user_approval` int(1) DEFAULT NULL,
`robots` varchar(40) DEFAULT NULL,
`custom_agb` longtext DEFAULT NULL,
`report_background_offer_blank` int(1) DEFAULT 1,
`report_background_offer_contact` int(1) DEFAULT 1,
`shipping_mode` int(1) DEFAULT 1,
`product_sort` varchar(8) DEFAULT NULL,
`product_sort_dir` varchar(4) DEFAULT NULL,
`xmlvideositemap` varchar(40) DEFAULT NULL,
`betreiber_tel` varchar(255) DEFAULT NULL,
`betreiber_uid` varchar(255) DEFAULT NULL,
`betreiber_hid` varchar(255) DEFAULT NULL,
`betreiber_sid` varchar(255) DEFAULT NULL,
`betreiber_register` varchar(255) DEFAULT NULL,
`betreiber_vb` varchar(255) DEFAULT NULL,
`layout_settings` longtext DEFAULT NULL,
`betreiber_description` longtext DEFAULT NULL,
`custom_impress` longtext DEFAULT NULL,
`betreiber_rechtsform` varchar(255) DEFAULT NULL,
`betreiber_web` varchar(255) DEFAULT NULL,
`display_sender` int(1) DEFAULT 1,
`display_delivery` int(1) DEFAULT 1,
`basket_offer_number` int(8) DEFAULT 0,
`deleted` int(1) DEFAULT 0,
`layouter_version` varchar(20) DEFAULT NULL,
`basketposfield1` varchar(255) DEFAULT '',
`basketposfield2` varchar(255) DEFAULT NULL,
`redirect_to_uploadcenter_after_basket_finish` int(1) DEFAULT 0,
`template_switch` int(1) DEFAULT 0,
`apikey` varchar(40) DEFAULT NULL,
`fullbackground` varchar(40) DEFAULT NULL,
`redirect_logout` varchar(255) DEFAULT NULL,
`redirect_register` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `install_id_idx` (`install_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `shop_account`
--
DROP TABLE IF EXISTS `shop_account`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `shop_account` (
`shop_id` bigint(20) NOT NULL DEFAULT 0,
`account_id` bigint(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`shop_id`,`account_id`),
KEY `account_id` (`account_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=16384;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `shop_clipart`
--
DROP TABLE IF EXISTS `shop_clipart`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `shop_clipart` (
`shop_id` int(8) NOT NULL,
`clipart_id` int(8) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `shop_contact`
--
DROP TABLE IF EXISTS `shop_contact`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `shop_contact` (
`shop_id` bigint(20) NOT NULL DEFAULT 0,
`contact_id` bigint(20) NOT NULL DEFAULT 0,
`login` int(1) DEFAULT 1,
`admin` int(1) DEFAULT 0,
`uuid` varchar(255) DEFAULT NULL,
`created` datetime DEFAULT current_timestamp(),
`updated` datetime DEFAULT current_timestamp(),
`selected` int(1) DEFAULT 0,
`id` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`),
KEY `contact_id` (`contact_id`)
) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=780;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `shop_counter`
--
DROP TABLE IF EXISTS `shop_counter`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `shop_counter` (
`counter_id` int(11) NOT NULL,
`max_doc_id` int(11) NOT NULL,
PRIMARY KEY (`counter_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `shop_setting`
--
DROP TABLE IF EXISTS `shop_setting`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `shop_setting` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`shop_id` int(8) NOT NULL,
`keyid` varchar(255) NOT NULL,
`value` longtext DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `shop_shippingtype`
--
DROP TABLE IF EXISTS `shop_shippingtype`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `shop_shippingtype` (
`shippingtype_id` int(8) DEFAULT NULL,
`shop_id` int(8) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `shop_theme`
--
DROP TABLE IF EXISTS `shop_theme`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `shop_theme` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`created` datetime DEFAULT NULL,
`updated` datetime DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
`uuid` varchar(100) DEFAULT NULL,
`install_id` int(8) DEFAULT NULL,
`shop_id` int(8) DEFAULT NULL,
`parent_id` int(8) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `shop_theme_shop`
--
DROP TABLE IF EXISTS `shop_theme_shop`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `shop_theme_shop` (
`theme_id` int(8) DEFAULT NULL,
`shop_id` int(8) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `steplayouterdata`
--
DROP TABLE IF EXISTS `steplayouterdata`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `steplayouterdata` (
`uuid` varchar(40) NOT NULL DEFAULT '',
`data` longtext DEFAULT NULL,
`id` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`),
UNIQUE KEY `uuid` (`uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `stockbooking`
--
DROP TABLE IF EXISTS `stockbooking`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `stockbooking` (
`uid` varchar(40) DEFAULT NULL,
`product_id` int(8) DEFAULT NULL,
`description` text DEFAULT NULL,
`amount` int(8) DEFAULT NULL,
`delivery` varchar(255) DEFAULT NULL,
`contact_id` int(8) DEFAULT NULL,
`created` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `taggable_tag`
--
DROP TABLE IF EXISTS `taggable_tag`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `taggable_tag` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `upload`
--
DROP TABLE IF EXISTS `upload`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `upload` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`orderpos_id` int(11) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`path` varchar(255) DEFAULT NULL,
`typ` varchar(255) DEFAULT NULL,
`pathpreview` varchar(255) DEFAULT NULL,
`created` timestamp NOT NULL DEFAULT current_timestamp(),
`updated` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`chunktitle` varchar(255) DEFAULT NULL,
`uuid` varchar(40) NOT NULL,
`preflight_status` int(3) DEFAULT NULL,
`preflight_errors` longtext DEFAULT NULL,
`export` int(1) DEFAULT 0,
PRIMARY KEY (`id`),
KEY `orderpos_id` (`orderpos_id`)
) ENGINE=InnoDB AUTO_INCREMENT=169 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=712 PACK_KEYS=0;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `upload_article`
--
DROP TABLE IF EXISTS `upload_article`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `upload_article` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`article_id` int(11) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`path` varchar(255) DEFAULT NULL,
`typ` varchar(255) DEFAULT NULL,
`pathpreview` varchar(255) DEFAULT NULL,
`created` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`updated` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`chunktitle` varchar(255) DEFAULT NULL,
`uuid` varchar(40) NOT NULL,
`preflight_status` int(3) DEFAULT NULL,
`preflight_errors` longtext DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `orderpos_id` (`article_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci AVG_ROW_LENGTH=712 PACK_KEYS=0;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*M!100616 SET NOTE_VERBOSITY=@OLD_NOTE_VERBOSITY */;
-- Dump completed on 2025-09-29 9:11:25