ok
Direktori : /proc/thread-self/root/proc/self/root/proc/thread-self/root/var/softaculous/toaster/ |
Current File : //proc/thread-self/root/proc/self/root/proc/thread-self/root/var/softaculous/toaster/toaster.sql |
-- MySQL dump 10.13 Distrib 5.6.46, for Linux (x86_64) -- -- Host: localhost Database: toast390 -- ------------------------------------------------------ -- Server version 5.6.46 /*!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 utf8 */; /*!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' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `config` -- DROP TABLE IF EXISTS `config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `config` ( `name` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `value` text COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `config` -- LOCK TABLES `config` WRITE; /*!40000 ALTER TABLE `config` DISABLE KEYS */; INSERT INTO `config` VALUES ('currentTheme','default'),('imgSmall','250'),('imgMedium','350'),('imgLarge','500'),('useSmtp','0'),('smtpHost',''),('smtpLogin',''),('smtpPassword',''),('language','us'),('teaserSize','200'),('smtpPort',''),('memPagesInMenu','1'),('mediaServers','0'),('smtpSsl','0'),('codeEnabled','0'),('inlineEditor','1'),('recaptchaPublicKey','6LcaJdASAAAAADyAWIdBYytJMmYPEykb3Otz4pp6'),('recaptchaPrivateKey','6LcaJdASAAAAAH-e1dWpk96PACf3BQG1OGGvh5hK'),('grecaptchaPublicKey','6LdZLBQUAAAAAGkmICdj_M7bsgYV68HgUAQzUi1o'),('grecaptchaPrivateKey','6LdZLBQUAAAAAPrpbakuqApNJlyonUsVN_bm_Pcx'),('enableMobileTemplates','1'),('userDefaultTimezone','America/New_York'),('userDefaultPhoneMobileCode','US'),('oldMobileFormat','1'),('enableMinifyCss','0'),('enableMinifyJs','0'),('cropNewFormat','0'),('optimizedNotifications',''),('wraplinks','0'),('takeATour','1'),('version','3.9.0'),('adminEmail','[[admin_email]]'),('youtubeApiKey','AIzaSyBFX8e8ogEfY9uaI6OU4geTT4hspC6kNtU'),('wicCorporateLogo','plugins/widcard/system/userdata/CorporateLogo.png'),('wicOrganizationDescription','Describe your organization and main products in 200 characters or less. Your information might get picked up by mobile search engines, directories and other web sites.'),('wicOrganizationName','SeoToaster CMS'),('wicOrganizationCountry','US'),('wicAddress1','2140 S Dupont Highway'),('wicAddress2',''),('wicCity','Camden'),('wicCountryState','DE'),('wicZip','19934'),('wicLatitude',''),('wicLongitude',''),('wicPhone','+1 (877) 450.9894'),('wicEmail','sales@seotoaster.com'),('wicFbAccount','https://www.facebook.com/seotoaster'),('wicTwitAccount','https://twitter.com/seotoaster'),('wicLinkedInAccount',''),('wicGplusAccount','https://plus.google.com/u/1/+Seotoaster/posts'),('wicYoutubeChannel',''),('wicRssChannel',''),('wicIndustryType',''),('wicPaymentType',''),('wicBusiness',''),('wicPayOnline',''),('wicAnalyticsType','s:2:\"WA\";'),('sambaToken',''),('wicMSA',''),('wicAgreement','1'),('waCode',''),('enableMinify','1'),('controlPanelStatus','0'),('enableDeveloperMode','0'),('canonicalScheme','http'),('redirectAdminAfterLogin',''),('googleApiKey','AIzaSyBFX8e8ogEfY9uaI6OU4geTT4hspC6kNtU'); /*!40000 ALTER TABLE `config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `container` -- DROP TABLE IF EXISTS `container`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `container` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `container_type` int(10) unsigned NOT NULL, `page_id` int(11) unsigned DEFAULT NULL, `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `published` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '1', `publishing_date` date DEFAULT NULL, `content` longtext COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `indPublished` (`published`), KEY `indContainerType` (`container_type`), KEY `indPageId` (`page_id`), CONSTRAINT `container_ibfk_1` FOREIGN KEY (`page_id`) REFERENCES `page` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=828 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `container` -- LOCK TABLES `container` WRITE; /*!40000 ALTER TABLE `container` DISABLE KEYS */; INSERT INTO `container` VALUES (1,4,NULL,'top_1','1','0000-00-00','<span class=\"icon-delivery\"></span> Free Shipping!'),(2,4,NULL,'top_2','1','0000-00-00','<span class=\"icon-gift\"></span> ORDER TWO OR MORE ITEMS & GET FREE USA OR DISCOUNTED INTL. SHIPPING!'),(3,4,NULL,'box-hello-title','1','0000-00-00','<span class=\"icon-comments9\"></span>Do you suffer from embarrassing dark or discolored intimate areas?'),(4,2,NULL,'wb_f521742e67a148f545524faf','1','0000-00-00','<p style=\"text-align: justify;\"><strong>Millions do!</strong> We all want to look our best. Especially in our most intimate areas! Now you can with South Beach Skin Solutions. It is the beauty secret of thousands of celebrities, royalty and soccer moms around the world. Don\'t be fooled by cheap imitators. Ours is the original all-natural product created for use in intimate areas (sometimes called \"anal bleaching or vaginal bleaching \"). Formulated to be gentle and mild on sensitive skin, we don\'t use harsh chemicals such as Hydroquinone, Kojic Acid or Mercury! Perfect for all skin types. We are trusted by thousands of professional estheticians, cosmetologists, make-up artisits, pharmacists and doctors in 30+ countries. Nobody else can say that.</p>'),(5,3,1,'content_1','1','0000-00-00','Your beauty arsenal is here'),(6,3,1,'content_2','1','0000-00-00','<span class=\"icon-newspaper\"></span> Latest News & Events'),(7,3,1,'content_3','1','0000-00-00','Sale!!!'),(8,3,1,'headline_1','1','0000-00-00','Trusted by thousands of professionals around the world in <br> more than 30 countries...'),(9,2,NULL,'wb_0b8f9dc6b8d32c0c4bf6fbf7','1','0000-00-00','{\"folder\":\"testimonials-professionals\",\"image\":\"dr-hala-fadli.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(10,2,NULL,'wb_273f7e1bb3f3191525f276d5','1','0000-00-00','{\"folder\":\"testimonials-professionals\",\"image\":\"luba-sasowski.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(11,2,NULL,'wb_663a91753017a601779edda8','1','0000-00-00','{\"folder\":\"testimonials-professionals\",\"image\":\"melissa-black.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(12,2,NULL,'wb_85b9566304d6dc34ad3fa3c4','1','0000-00-00','{\"folder\":\"testimonials-professionals\",\"image\":\"dr-hala-fadli.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(14,4,NULL,'t-professional-name_2','1','0000-00-00','Melissa Black'),(15,4,NULL,'t-professional-name_3','1','0000-00-00','Dr. Hala Fadli'),(17,4,NULL,'t-professional-position_2','1','0000-00-00','Owner and Master Aesthetician Bombshell Brazilian Waxing & Beauty Lounge Richmond, VA'),(18,4,NULL,'t-professional-position_3','1','0000-00-00','Dermatologist, Dubai'),(19,2,NULL,'wb_358ddfcf6d4514bd72908bee','1','0000-00-00',''),(20,2,NULL,'wb_8e39bd7a2dd119802edd7f90','1','0000-00-00','<p>Our clients love the products. They achieve results that are amazing! The underarms and intimate...</p>'),(21,2,NULL,'wb_90feb928d571be59d12e276a','1','0000-00-00','<p>My patients really see the results quickly. I know the product is safe and effective. I highly recommend it.</p>'),(22,3,1,'headline_2','1','0000-00-00','<span class=\"icon-comments9\"></span> As Seen In...'),(23,3,1,'review-title','1','0000-00-00','<span class=\"icon-comments9\"></span> PRESS'),(24,1,1,'wb_6b16d6df0a8e7dc9769327fa','1','0000-00-00','{\"folder\":\"content\",\"image\":\"review.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(25,1,1,'wb_54d39ea71ed65da20ce760c9','1','0000-00-00','<p style=\"text-align: justify;\">As someone who has pretty fair skin, any sort of dark spots or discoloration stand out, I have always been pretty skeptical of any sort of brightening product because I am extremely cautious as to what I put on my skin. erent, it is an all-natural products free of chemicals usually put in other brightening products. I don\'t have a lot of dark areas other than a few spots on my legs and my underarms. The South Beach Body Milk was perfect to give my whole body a glow and get rid of the few spots on my legs. It really worked! It instantly felt brighter and after 2 weeks my skin was so much brigher and evened out. I have been using a South Beach Brightening Roll on for underarms and I am just as pleased! I feel great and my skin has never been more even-toned and bright!</p>'),(27,3,1,'question-title','1','0000-00-00','Sign up for our newsletter containing special announcements, and exclusive promotions'),(28,1,1,'wb_a773ee11ab7a440634f49435','1','0000-00-00','<p>Hi, I\'m Pinky. Your guide and customer service concierge. My friends and I are here to help you with any questions that you may have. We invite you to review our FAQs section which has the answers to many of the most commonly asked questions. If you need any further help, please do not hesitate to contact us. We will answer all emails that we receive. I look forward to hearing from you. Enjoy!</p>'),(29,3,1,'skin-title','1','0000-00-00','Perfect for all skin types!'),(30,3,1,'skin-sub-title','1','0000-00-00','parfait pour tous les types de peaux!'),(31,1,1,'wb_fb60d0b1a5cbbb119794a64f','1','0000-00-00','{\"folder\":\"content\",\"image\":\"perfect-for-all-skin-types.png\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(32,2,NULL,'footer-info','1','0000-00-00','<h2><span style=\"color: #ffffff;\">Powered by <a href=\"seosamba.com\"><span style=\"color: #ffffff;\">Seosamba</span></a></span></h2>'),(33,1,1,'wb_ef6997f4c9b9f743df784c80','1','0000-00-00','{\"link\":\"\",\"width\":\"380\",\"height\":\"310\"}'),(34,1,1,'content_1','1','0000-00-00','{$productlist:_products list:tagnames-New product}'),(35,4,NULL,'btn_header_1_text','1','0000-00-00','See Details'),(36,4,NULL,'btn_header_2_text','1','0000-00-00','See All promotions'),(38,2,NULL,'testimonials_1','1','0000-00-00','<ul class=\"testimonials-list\">\n<li>\n<blockquote><strong>Barb, Australia</strong>\n<p>Yes I was sceptical about it working.... BUT....I have to say after using it.....I HIGHLY RECOMMEND *SOUTH BEACH GEL FOR SENSITIVE AREAS*.... LOVE IT ... Thank You Sooooo Very Much For This GEL ... : )</p>\n</blockquote>\n</li>\n<li>\n<blockquote><strong>Mary, Australia</strong>\n<p>I have tried the gel around my discoloured anal area and can already see good results!</p>\n</blockquote>\n</li>\n<li>\n<blockquote><strong>Janet (reorder), USA</strong>\n<p>I already tried the cream, I Love It...!!!Works great...!!!</p>\n</blockquote>\n</li>\n<li>\n<blockquote><strong>Andreh</strong>\n<p>You guys save my life!!</p>\n</blockquote>\n</li>\n<li>\n<blockquote><strong>Daniel, USA</strong>\n<p>Hello guys, I\'ve just ordered the SSBS Roll-on, you know I am seeing good results on my genital area... I am so happy ..I realy AM seeing GOOD results IN my genital skin...I can hardly believe!</p>\n</blockquote>\n</li>\n</ul>'),(39,4,NULL,'btn_view-more_1_link','1','0000-00-00','http://femmefatale-freetheme.seotoaster.com/testimonials.html'),(40,2,NULL,'wb_871a0ab35c5c5838da54ec68','1','0000-00-00',''),(43,2,NULL,'wb_dc88366b1279deef6c53b8a1','1','0000-00-00',''),(45,2,NULL,'wb_b79436ecebfdcf98e02c5c79','1','0000-00-00',''),(46,4,NULL,'btn_view-more_2_link','1','0000-00-00','http://femmefatale-freetheme.seotoaster.com/testimonials-of-professionals.html'),(49,2,NULL,'wb_2e732f936d2a76cc116acba1','1','0000-00-00','<p>You guys save my life!!</p>'),(50,4,NULL,'t-name_4','1','0000-00-00','Andreh'),(51,2,NULL,'wb_c2b664f106985e94ab9c4c5c','1','0000-00-00','<p>Hello guys, I\'ve just ordered the SSBS Roll-on, you know I am seeing good results on my genital area... I am so happy ..I realy AM seeing GOOD results IN my genital skin...I can hardly believe!</p>'),(52,4,NULL,'t-name_5','1','0000-00-00','Daniel, USA'),(53,2,NULL,'wb_5ca800824baab8a770387e5c','1','0000-00-00','<p>Thank you so much for your urgent respond which reflects high professional work.</p>'),(54,4,NULL,'t-name_6','1','0000-00-00','Amir'),(55,2,NULL,'wb_7cc0702a9195613ab69a5591','1','0000-00-00','<p>Thank you for the product I have received and your wonderful service.</p>'),(56,4,NULL,'t-name_7','1','0000-00-00','Mona'),(57,2,NULL,'wb_5ece7e4a0c76185bd0cafaa0','1','0000-00-00','<p>thank you sooooooo much for your cream. i have used it. it was the best thing ever. i will order it again and again thanx</p>'),(58,4,NULL,'t-name_8','1','0000-00-00','Sahar'),(59,2,NULL,'wb_f875d7899b640579f7cbde18','1','0000-00-00','<p><em>Your product really works!</em></p>'),(60,4,NULL,'t-name_9','1','0000-00-00','Amy'),(61,2,NULL,'wb_b58af4563b6ccd31b1bd537d','1','0000-00-00','<p><em>Love your products!</em></p>'),(62,4,NULL,'t-name_10','1','0000-00-00','Camille'),(63,2,NULL,'wb_6f6b2a173949d2301577035b','1','0000-00-00','<p>I just used the ultimate skin prep for the first time for a brazillian wax and it is fabulous! I love this product and will continue to purchase it and refer it to everyone I know!</p>'),(64,4,NULL,'t-name_11','1','0000-00-00','Jennifer'),(65,2,NULL,'wb_8ae1f952f21dfe6c30900ea7','1','0000-00-00','<p>I\'m very happy with your product i got great results specially in my underarms area. I had tried other products and none of them gave the results your product did. Thank you so very much.</p>'),(66,4,NULL,'t-name_12','1','0000-00-00','Olga'),(67,2,NULL,'wb_5632a54b933be94fdce4f1ca','1','0000-00-00','<p>I\'m Latin and my private area was darker than my general body and when I used this bleach cream it was the most thankful thing that ever happen to me. My sex life is better and my private area looks more pink and it makes my man want me more. So girls! buy this bleach cream.... it really works.... I love it and will buy it again and again.... love you guys.</p>'),(68,4,NULL,'t-name_13','1','0000-00-00','Jennifer'),(69,2,NULL,'wb_a5f2656975f605954026e576','1','0000-00-00','<p>Just wanted to let you know I was really happy with your lightning gel! I was actually a little sceptical that it would have gentle ingredients AND work, but I\'m obviously really happy that it did! Thanks also for being so discreet with your packaging.</p>'),(70,4,NULL,'t-name_14','1','0000-00-00','Robyn'),(71,2,NULL,'wb_cecd04e54e9a9677aa8b266f','1','0000-00-00','<p>I\'m Asian & I have olive skin. My skin \'down there\' is (rather, WAS) very dark & also a little yellow (eep!). Someone recommended South Beach Lightening Gel & she was right... it works! There are a few things I love about this product. Firstly, it has natural ingredients... other products have harsh chemicals that are banned in some countries because the chemical has been linked to cancer. Secondly, SB customer service is top notch. And finally, my husband thinks I\'m naturally hot! (*winks*)... Thanks so much SB Team - Amara :)</p>'),(72,2,NULL,'wb_8692512b927da6745de09593','1','0000-00-00','<p>I\'M ORDERING AGAIN, BECAUSE IT REALLY WORKS.</p>'),(73,4,NULL,'t-name_16','1','0000-00-00','Glenda'),(74,2,NULL,'wb_0ee26a4a42ffed34c794a627','1','0000-00-00','<p>My friend used it before and saw a dramatic changes, she loved it and strongly recommended it to me.</p>'),(75,4,NULL,'t-name_17','1','0000-00-00','Sarah'),(76,2,NULL,'wb_2a45c7fa0f55254aa26ce977','1','0000-00-00','<p>Amazing I love it!</p>'),(77,4,NULL,'t-name_18','1','0000-00-00','Tabitha'),(78,2,NULL,'wb_2ee75988631ca70bff206a79','1','0000-00-00','<p>I bought the lighten gel and applied it on my underarm a week ago. Now I am happy to see that it really works and the skin on my underarm started to get whiter.</p>'),(79,4,NULL,'t-name_19','1','0000-00-00','Tran'),(80,2,NULL,'wb_93678782c50454d379e92c98','1','0000-00-00','<p>Thank you! Your skin lightening gel is the best! Brazil, Paraguay, and Argentina look brand new!! And the soothing lotion has eliminated ingrown hairs after waxing! Thanks!</p>'),(81,4,NULL,'t-name_20','1','0000-00-00','Christopher'),(82,2,NULL,'wb_a1d3b3c148266ef2d8e8235a','1','0000-00-00','<p>Thank you very much. The bleaching cream has removed all but a few spots on my face and I want to start on my hands then chest. GREAT product!</p>'),(83,4,NULL,'t-name_21','1','0000-00-00','Janice'),(84,2,NULL,'wb_d49c3e6b8ae58ddb2b263d97','1','0000-00-00','<p>Thank you for a product that is safe and actually works!</p>'),(85,4,NULL,'t-name_22','1','0000-00-00','Tyler'),(86,2,NULL,'wb_a12d4ff381d91123f2ba35a1','1','0000-00-00','<p>Your product is great!!!!!!!!!!! This is the third time I order and I am really seeing nice results.</p>'),(87,4,NULL,'t-name_23','1','0000-00-00','Guillermo'),(88,2,NULL,'wb_24fd5ee899bf601ee686392c','1','0000-00-00','<p>Excellent!</p>'),(89,4,NULL,'t-name_24','1','0000-00-00','Prin'),(90,2,NULL,'wb_68a4ae301c5f6dc55e0c97b6','1','0000-00-00','<p>Returning customer. I noticed the difference!! Thank you!</p>'),(91,4,NULL,'t-name_25','1','0000-00-00','Sonia'),(92,2,NULL,'wb_03f21c51febafeef47750bee','1','0000-00-00','<p>This product is great. I thought there was no hope for the discolorations i have down there but this actually worked. and it was so easy and no irritations. I am coming back for more. Thanks so much.</p>'),(93,4,NULL,'t-name_26','1','0000-00-00','Tanya'),(94,2,NULL,'wb_d7094a6fae6bdaaf542248a9','1','0000-00-00','<p>My girlfriend and I had been noticing some strange discoloration on our more intimate areas. We tried your skin solution and it worked!! It has enhanced our sex life immensely and has strengthened our friendship. Thank you south beach!</p>'),(95,4,NULL,'t-name_27','1','0000-00-00','Vallery'),(96,2,NULL,'wb_a86eaba3f1d38af52f1229ad','1','0000-00-00','<p>I would like to say Thank you!! I am very Happy with the Lightening Gel, works very well. For long time I was looking something like this and I am lucky to find your product. My skin looks much better and I am using the product only for 7 days and feel very happy. i will re-order this product soon. Thank you very much!!</p>'),(97,4,NULL,'t-name_28','1','0000-00-00','Carlos'),(98,2,NULL,'wb_a06705325465197a471bebe6','1','0000-00-00','<p>I wanted to let you know that I bought the lightening gel for my private area. It really works and It looks good.</p>'),(99,4,NULL,'t-name_29','1','0000-00-00','Marlene'),(100,2,NULL,'wb_5772c9333e2cda4bf09acb6b','1','0000-00-00','<p>Great Product!! I ordered some a few years back and it worked wonders for the dark spots on my knee caps.</p>'),(101,4,NULL,'t-name_30','1','0000-00-00','Ashley'),(102,2,NULL,'wb_e4afed73ccc40709e97f7643','1','0000-00-00','<p>ESTE MENSAJE ES PARA DARLES LAS GRACIAS, EL DIA DE AYER RECIBI MI PEDIDO Y ANOCHE MISMO LA EMPECE A USAR Y DE VERDAD QUE ES MUY BUENO EL PRODUCTO A LA PRIM131116 APLICACION A MI ME FUNCIONO, CLARO SE QUE TENGO QUE TERMINARLO PERO ME ENCANTO. GRACIAS. LO VOY A EMPEZAR A RECOMENDAR CON MIS AMISTADES</p>'),(103,4,NULL,'t-name_31','1','0000-00-00','Rocio'),(104,2,NULL,'wb_2ae74daca79406ba4936df42','1','0000-00-00','<p>Your company has excellent customer service.</p>'),(105,4,NULL,'t-name_32','1','0000-00-00','Andrea'),(106,2,NULL,'wb_0abe7b39552506877b1c99a5','1','0000-00-00','<p>I live in UK and i used your cream once on my underarms and it really worked.Thanks for that.</p>'),(107,4,NULL,'t-name_33','1','0000-00-00','Aisha'),(108,1,1,'repeat_testimonials','1','0000-00-00','33::'),(109,4,NULL,'menu_title_2','1','0000-00-00','New Products'),(110,4,NULL,'menu_title_2_1','1','0000-00-00','New Products'),(111,4,NULL,'menu_title_2_2','1','0000-00-00','By Category'),(112,4,NULL,'menu_title_2_3','1','0000-00-00','By Brand'),(113,4,NULL,'menu_title_2_4','1','0000-00-00','By Brand'),(115,3,1,'content_4','1','0000-00-00','Recommended Products'),(117,2,NULL,'wb_6841fa33b014b87702359374','1','0000-00-00','new-products:5:0:img'),(120,1,1,'wb_69b3c2f6eb93297e790601c9','1','0000-00-00','{\"link\":\"https:\\/\\/www.youtube.com\\/watch?v=1aUcDye71a0&feature=youtu.be\",\"width\":\"276\",\"height\":\"155\"}'),(121,2,NULL,'wb_19c5f79b48247de7aed8e745','1','0000-00-00','{\"folder\":\"testimonials-professionals\",\"image\":\"doc22.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(122,2,NULL,'wb_69d885ffc2614c5b373ba4b2','1','0000-00-00','{\"folder\":\"testimonials-professionals\",\"image\":\"doc3.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(123,2,NULL,'wb_0d74d54cf1eb7b7ee20e9c77','1','0000-00-00','{\"folder\":\"testimonials-professionals\",\"image\":\"test_bridget.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(124,2,NULL,'wb_ae10a6813977e5ce657a3ffc','1','0000-00-00','{\"folder\":\"testimonials-professionals\",\"image\":\"test_glittersmalaysia.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(125,2,NULL,'wb_2bbb25867adf200d1a52c6a5','1','0000-00-00','{\"folder\":\"testimonials-professionals\",\"image\":\"test_jenna.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(126,2,NULL,'wb_1944fa19a1fef3ed6931a9aa','1','0000-00-00','{\"folder\":\"testimonials-professionals\",\"image\":\"test_nude.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(127,2,NULL,'wb_1fcd79fb0598be0800158fcd','1','0000-00-00','{\"folder\":\"testimonials-professionals\",\"image\":\"test_pinkparlour.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(128,2,NULL,'wb_04ca1a433cb67d9271323590','1','0000-00-00','{\"folder\":\"testimonials-professionals\",\"image\":\"test_russia.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(129,2,NULL,'wb_1936e1f6753fc317d72ec9f0','1','0000-00-00','{\"folder\":\"testimonials-professionals\",\"image\":\"test_samantha.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(134,4,NULL,'t-professional-name_4','1','0000-00-00','Dr. Jose Bestard'),(135,4,NULL,'t-professional-position_4','1','0000-00-00','OB/GYN, USA'),(136,2,NULL,'wb_a8fa6203d9b54da192f25006','1','0000-00-00','<p>After pregnancy, I recommend South Beach to all my patients who have hyperpigmentation due to hormonal changes. It really helps with the dark discolorations.</p>'),(137,4,NULL,'t-professional-name_5','1','0000-00-00','Dr. Gabriella Boza'),(138,4,NULL,'t-professional-position_5','1','0000-00-00','MD, Costa Rica'),(139,2,NULL,'wb_a36c7a45f689f34e46b1b3b2','1','0000-00-00','<p>As a woman, a mother and a doctor, I have seen the results. It really works!</p>'),(140,4,NULL,'t-professional-name_6','1','0000-00-00','Bridget Rutherford, Aleph Helestrosa'),(141,2,NULL,'wb_28ee6d102bb2c7032f3c122d','1','0000-00-00','<p>Mexico City loves South Beach! Our customers appreciate the product which does the job without hazardous chemicals.</p>'),(142,4,NULL,'t-professional-position_6','1','0000-00-00','Owners of Wax Revolution, Mexico City, Mexico'),(143,4,NULL,'t-professional-name_7','1','0000-00-00','Madeline Teh'),(144,4,NULL,'t-professional-position_7','1','0000-00-00','Owner of GLITTERS, Malaysia'),(145,2,NULL,'wb_d5df81e28d33a689bbfddc38','1','0000-00-00','<p>South Beach is truly amazing. Our clients love it!</p>'),(146,4,NULL,'t-professional-name_8','1','0000-00-00','Jenna Hoadley'),(147,4,NULL,'t-professional-position_8','1','0000-00-00','Owner of Bella Brazilian, QLD, Australia'),(148,2,NULL,'wb_0038c28ab40d8c5216e70c6c','1','0000-00-00','<p>I love your product so much! It really works!</p>'),(149,4,NULL,'t-professional-name_9','1','0000-00-00','Tara Lai'),(150,4,NULL,'t-professional-position_9','1','0000-00-00','Owner of NUDE, Hong Kong, China'),(151,2,NULL,'wb_dac8fd9dcbf90fdd48264482','1','0000-00-00','<p>This product is amazing! We have seen amazing results from our clients who have been using it for their sensitive area discoloration!</p>'),(152,4,NULL,'t-professional-name_10','1','0000-00-00','Derrick Seeto'),(153,4,NULL,'t-professional-position_10','1','0000-00-00','Owner of PINK PARLOUR, Singapore, Malaysia'),(154,2,NULL,'wb_4b741885d2d793e39d41d8ac','1','0000-00-00','<p>Our clients love it and we sell out very fast!</p>'),(155,4,NULL,'t-professional-name_11','1','0000-00-00','Lyudmila Bileckaya'),(156,4,NULL,'t-professional-position_11','1','0000-00-00','Co-Owner of Gallery Beauty Salon, Moscow, Russia'),(157,2,NULL,'wb_10eca940a0fb994f96fdfe54','1','0000-00-00','<p>Women in Russia are excited to have South Beach product to help with the dark discolorations that all women get!</p>'),(158,4,NULL,'t-professional-name_12','1','0000-00-00','Samantha Low, Megan Hamilton'),(159,4,NULL,'t-professional-position_12','1','0000-00-00','Owners of Bee Brazilian, VIC Australia'),(160,2,NULL,'wb_71510ee035bf7ba35f9ea3c0','1','0000-00-00','<p>They are fantastic products that do what they say they are going to do!</p>'),(161,1,1,'review','1','0000-00-00','<div><img style=\"float: right;\" src=\"http://femmefatale-freetheme.seotoaster.com/media/content/small/spalife-newsletter.jpg\" alt=\"spalife newsletter\" width=\"116\" border=\"0\" /></div>\n<p>As someone who has pretty fair skin, any sort of dark spots or discoloration stand out, I have always been pretty skeptical of any sort of brightening product because I am extremely cautious as to what I put on my skin. erent, it is an all-natural products free of chemicals usually put in other brightening products. I don\'t have a lot of dark areas other than a few spots on my legs and my underarms. The South Beach Body Milk was perfect to give my whole body a glow and get rid of the few spots on my legs. It really worked! It instantly felt brighter and after 2 weeks my skin was so much brigher and evened out. I have been using a South Beach Brightening Roll on for underarms and I am just as pleased! I feel great and my skin has never been more even-toned and bright!</p>'),(162,2,NULL,'left_1','1','0000-00-00','{$featured:area:all-products:15:0:0}'),(164,4,NULL,'left_1','1','0000-00-00','By Category'),(165,2,NULL,'wb_c57fdacf3aa5d640c437166c','1','0000-00-00','category:10:0:'),(166,4,NULL,'left_2','1','0000-00-00','By Area of Body'),(167,2,NULL,'wb_e0f4f1d8e5e2dbba5ea6bcd6','1','0000-00-00','menu_by-area-of-body:10:0:'),(168,4,NULL,'left_3','1','0000-00-00','By Range'),(169,2,NULL,'wb_93eabcaae47fb76788ec60d0','1','0000-00-00','menu_by-range:10:0:'),(170,4,NULL,'tab1','1','0000-00-00','Details'),(171,4,NULL,'tab2','1','0000-00-00','Ingredients'),(172,4,NULL,'button','1','0000-00-00','Home Page'),(173,2,NULL,'404','1','0000-00-00','<p class=\"larger\">Sorry, this page doesn\'t exist. <br /> Why not going back to <a href=\"{$website:url}\">Home Page</a></p>'),(175,4,NULL,'skin-title','1','0000-00-00','PERFECT FOR ALL SKIN TYPES!'),(176,4,NULL,'skin-sub-title','1','0000-00-00','PARFAIT POUR TOUS LES TYPES DE PEAUX!'),(183,4,NULL,'btn_header_3_link','1','0000-00-00','/client-area.html'),(184,4,NULL,'btn_header_3_text','1','0000-00-00','{$user:name}'),(185,4,NULL,'btn_header_4_link','1','0000-00-00','/login.html'),(186,4,NULL,'btn_header_4_text','1','0000-00-00','Login'),(188,2,NULL,'wb_35cf2e1fafd381c7efee30a1','1','0000-00-00','salons_North America:5:0:'),(191,2,NULL,'wb_4d4b9e644b12f1d097e36e9f','1','0000-00-00','salons_Caribbean:5:0:'),(193,2,NULL,'wb_8bb46bd21d5667a7a87893ea','1','0000-00-00','salons_South America:5:0:'),(267,4,NULL,'storelocator_4','1','0000-00-00','Central America'),(268,2,NULL,'wb_92cd8dbcfa4b156517be04a5','1','0000-00-00','salons_Central America:20:0:'),(270,4,NULL,'storelocator_5','1','0000-00-00','Asia/Oceania'),(271,2,NULL,'wb_e129f00f435a65c74e04f1fc','1','0000-00-00','salons_Asia/Oceania:30:0:'),(308,4,NULL,'storelocator_6','1','0000-00-00','Middle East/Gulf'),(309,2,NULL,'wb_61234b4d4c6904178bb4974b','1','0000-00-00','salons_Middle East/Gulf:20:0:'),(312,4,NULL,'storelocator_7','1','0000-00-00','Africa'),(313,2,NULL,'wb_e8044fca55cbf5e38ecf6834','1','0000-00-00','Africa:15:0:'),(314,4,NULL,'storelocator_8','1','0000-00-00','Europe'),(315,2,NULL,'wb_edf37cb7eff84eba05d2113b','1','0000-00-00','Europe:15:0:'),(401,4,NULL,'tab3','1','0000-00-00','Testimonials'),(411,2,NULL,'right_1','1','0000-00-00','{$form:newsletter}'),(412,4,NULL,'right_1','1','0000-00-00','Sign up for our newsletter containing special announcements, and exclusive promotions!'),(447,4,NULL,'social-header','1','0000-00-00','Share the product with your friends'),(449,7,NULL,'label-14','1','0000-00-00','WORLD <br/> FAMOUS!'),(460,7,NULL,'label-26','1','0000-00-00','NEW!<br/>TRY IT!'),(476,4,NULL,'box-testimonials-title','1','0000-00-00','<span class=\"icon-comments9\"></span>Customer Testimonials'),(481,1,1,'marker_allpagesmapc96cdfefdaed3d9be0eab495487fbdc1','1','0000-00-00','5760 W 120th Ave ste 220<br />Broomfield, CO 80020<br />TEL: 303-404-0255'),(491,4,NULL,'zip','1','0000-00-00','Find a reseller near you: Enter your ZIP/postal code or click on the map'),(497,1,1,'marker_allpagesmap343d44c805c7ebefa70dca77fbfae424','1','0000-00-00','<p><span class=\"text2b\">COMING SOON! </span></p>\n<div id=\"gt-res-content\">\n<div dir=\"ltr\"><span id=\"result_box\" lang=\"ja\">近日公開予定!</span></div>\n</div>'),(504,2,NULL,'form','1','0000-00-00','{$form:contact-small}'),(506,4,NULL,'contactus','1','0000-00-00','Contact Us'),(509,4,NULL,'tab4','1','0000-00-00','Instructions'),(519,4,NULL,'btn_view-more_4_link','1','0000-00-00','products.html'),(520,4,NULL,'btn_view-more_3_link','1','0000-00-00','http://femmefatale-freetheme.seotoaster.com/news/'),(522,3,1,'top','1','0000-00-00','Do you suffer from embarrassing dark or discolored intimate areas?'),(523,1,1,'wb_21a28ddd0244a577ec681782','1','0000-00-00','<p>Millions do! We all want to look our best. Especially in our most intimate areas! Now you can with South Beach Skin Solutions. It is the beauty secret of thousands of celebrities, royalty and soccer moms around the world. Don\'t be fooled by cheap imitators. Ours is the original natural product created for use in intimate areas (sometimes called \"anal bleaching or vaginal bleaching\"). Formulated to be gentle and mild on sensitive skin, we don\'t use harsh chemicals such as Hydroquinone, Kojic Acid or Mercury! Perfect for all skin types. We are trusted by thousands of professional estheticians, cosmetologists, make-up artisits, pharmacists and doctors in 40+ countries. Nobody else can say that.</p>\r\n<p><em>\"I HIGHLY RECOMMEND IT .. Thank You Sooooo Very Much For This GEL ... : )\"</em> - Barb, Australia</p>'),(534,7,NULL,'retail-price-71','1','0000-00-00','50'),(535,7,NULL,'5plus-14','1','0000-00-00','25'),(536,7,NULL,'retail-price-14','1','0000-00-00','50'),(537,7,NULL,'retail-price-14','1','0000-00-00','80'),(540,7,NULL,'5plus-14','1','0000-00-00','25'),(541,7,NULL,'retail-price-14','1','0000-00-00','50'),(542,7,NULL,'5plus-16','1','0000-00-00','5'),(543,7,NULL,'retail-price-16','1','0000-00-00','10'),(544,7,NULL,'retail-price-16','1','0000-00-00','80'),(545,7,NULL,'5plus-26','1','0000-00-00','22.50'),(546,7,NULL,'retail-price-26','1','0000-00-00','45'),(547,7,NULL,'retail-price-26','1','0000-00-00','50'),(548,7,NULL,'5plus-29','1','0000-00-00','25'),(549,7,NULL,'retail-price-29','1','0000-00-00','50'),(550,7,NULL,'retail-price-29','1','0000-00-00','30'),(551,7,NULL,'5plus-32','1','0000-00-00','40'),(552,7,NULL,'retail-price-32','1','0000-00-00','80'),(553,7,NULL,'retail-price-32','1','0000-00-00','30'),(554,7,NULL,'5plus-34','1','0000-00-00','25'),(555,7,NULL,'retail-price-34','1','0000-00-00','50'),(556,7,NULL,'retail-price-34','1','0000-00-00','15'),(557,7,NULL,'5plus-36','1','0000-00-00','7.5'),(558,7,NULL,'retail-price-36','1','0000-00-00','15'),(559,7,NULL,'retail-price-36','1','0000-00-00','10'),(560,7,NULL,'5plus-43','1','0000-00-00','25'),(561,7,NULL,'retail-price-43','1','0000-00-00','50'),(562,7,NULL,'retail-price-43','1','0000-00-00','50'),(563,7,NULL,'5plus-45','1','0000-00-00','1'),(565,7,NULL,'retail-price-45','1','0000-00-00','5'),(566,7,NULL,'5plus-47','1','0000-00-00','1'),(567,7,NULL,'5plus-47','1','0000-00-00','1'),(568,7,NULL,'5plus-45','1','0000-00-00','22.50'),(569,7,NULL,'5plus-45','1','0000-00-00','22.50'),(570,7,NULL,'retail-price-47','1','0000-00-00','5'),(571,7,NULL,'retail-price-47','1','0000-00-00','5'),(572,7,NULL,'5plus-58','1','0000-00-00','15'),(575,7,NULL,'5plus-60','1','0000-00-00','12.50'),(576,7,NULL,'retail-price-60','1','0000-00-00','25'),(577,7,NULL,'retail-price-61','1','0000-00-00','25'),(578,7,NULL,'5plus-61','1','0000-00-00','12.50'),(579,7,NULL,'retail-price-58','1','0000-00-00','30'),(580,7,NULL,'5plus-66','1','0000-00-00','15'),(581,7,NULL,'retail-price-66','1','0000-00-00','30'),(637,4,NULL,'related','1','0000-00-00','Customers who bought this product also bought this:'),(640,7,NULL,'regular-price-71','1','0000-00-00','$160.00'),(641,7,NULL,'regular-price-71','1','0000-00-00','$88'),(707,7,NULL,'regular-price-82','1','0000-00-00','160'),(708,7,NULL,'regular-price-82','1','0000-00-00','$160'),(709,7,NULL,'save-price-82','1','0000-00-00','60'),(711,7,NULL,'save-price-83','1','0000-00-00','60'),(712,7,NULL,'regular-price-83','1','0000-00-00','160'),(713,7,NULL,'regular-price-84','1','0000-00-00','190'),(714,7,NULL,'save-price-84','1','0000-00-00','60'),(716,7,NULL,'regular-price-85','1','0000-00-00','140'),(717,7,NULL,'save-price-85','1','0000-00-00','60'),(720,7,NULL,'regular-price-86','1','0000-00-00','120'),(721,7,NULL,'save-price-86','1','0000-00-00','20'),(723,7,NULL,'regular-price-87','1','0000-00-00','200'),(724,7,NULL,'save-price-87','1','0000-00-00','20'),(726,7,NULL,'regular-price-88','1','0000-00-00','300'),(727,7,NULL,'save-price-88','1','0000-00-00','100'),(729,7,NULL,'regular-price-89','1','0000-00-00','120'),(730,7,NULL,'save-price-89','1','0000-00-00','20'),(732,7,NULL,'regular-price-90','1','0000-00-00','220'),(733,7,NULL,'save-price-90','1','0000-00-00','70'),(735,7,NULL,'regular-price-91','1','0000-00-00','150'),(736,7,NULL,'save-price-91','1','0000-00-00','20'),(738,7,NULL,'regular-price-92','1','0000-00-00','200'),(739,7,NULL,'save-price-92','1','0000-00-00','40'),(741,7,NULL,'regular-price-93','1','0000-00-00','280'),(742,7,NULL,'save-price-93','1','0000-00-00','80'),(744,7,NULL,'regular-price-94','1','0000-00-00','150'),(745,7,NULL,'save-price-94','1','0000-00-00','20'),(747,7,NULL,'regular-price-95','1','0000-00-00','450'),(748,7,NULL,'save-price-95','1','0000-00-00','50'),(750,7,NULL,'regular-price-96','1','0000-00-00','500'),(751,7,NULL,'save-price-96','1','0000-00-00','50'),(766,7,NULL,'label-82','1','0000-00-00','MOST<br>POPULAR'),(769,7,NULL,'label-34','1','0000-00-00','UND131116RMS'),(771,7,NULL,'label-66','1','0000-00-00','UNDER<BR>EYE'),(774,7,NULL,'label-36','1','0000-00-00','LIPS &<BR>NIPS'),(777,7,NULL,'label-29','1','0000-00-00','Instant<br>Lift!'),(784,7,NULL,'label-43','1','0000-00-00','Mineral<br>Based'),(790,7,NULL,'label-58','1','0000-00-00','Brightens<br>Conceals'),(794,7,NULL,'label-45','1','0000-00-00','3-PACK'),(801,1,1,'1','1','0000-00-00','<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>'),(802,3,1,'content_0','1','0000-00-00','Lorem Ipsum is simply dummy text of the printing'),(803,1,1,'recommended','1','0000-00-00','{$productlist:_products list:tagnames-Recommended}'),(805,1,1,'wb_7dba09208a602364b79291e5','1','0000-00-00','{\"folder\":\"slider\",\"image\":\"slide4.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(806,1,1,'wb_f7052fec8e9d223071c544fc','1','0000-00-00','{\"folder\":\"slider\",\"image\":\"slide3.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(808,1,1,'wb_4d9ae22cd72741b265f8f8e3','1','0000-00-00','{\"folder\":\"slider\",\"image\":\"slide1.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(809,3,1,'header-slider','1','0000-00-00','Perfect hair need<br/> perfect care'),(810,3,1,'header-slider_3','1','0000-00-00','Perfect hair need<br/> perfect care'),(811,3,1,'header-slider_1','1','0000-00-00','Feel more beautiful <br/>than ever'),(812,3,1,'header-slider_2','1','0000-00-00','Make up or break up,<br/> be beautiful'),(813,1,1,'sale','1','0000-00-00','{$productlist:_product list sale:tagnames-Sale:3}'),(815,7,NULL,'label-100','1','0000-00-00','SALE'),(816,7,NULL,'label-101','1','0000-00-00','SALE'),(818,7,NULL,'label-103','1','0000-00-00','SALE'),(819,7,NULL,'label-102','1','0000-00-00','SALE'),(820,2,NULL,'wb_fb60d0b1a5cbbb119794a64f','1','0000-00-00','{\"folder\":\"content\",\"image\":\"cosmetics.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(821,1,1,'wb_57a39e7b0bd3da829abc4cf8','1','0000-00-00','{\"folder\":\"content\",\"image\":\"women.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(822,1,1,'question-desc','1','0000-00-00','{$form:newsletter}'),(823,2,NULL,'wb_ff6079a4ec14c61c99787517','1','0000-00-00','{\"folder\":\"content\",\"image\":\"cosmetics.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'),(824,2,NULL,'wb_785b1ba276e83c299a4edbfb','1','0000-00-00','category:5:250:img'),(825,2,NULL,'wb_549499167f417f5cc583c8e3','1','0000-00-00','brand:5:250:'),(827,1,1,'wb_d303847daf55d0f6ae6d89f9','1','0000-00-00','{\"folder\":\"slider\",\"image\":\"slide1.jpg\",\"description\":\"\",\"linkedTo\":\"nothing\",\"target\":\"_blank\",\"externalUrl\":\"\"}'); /*!40000 ALTER TABLE `container` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `deeplink` -- DROP TABLE IF EXISTS `deeplink`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `deeplink` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `page_id` int(10) unsigned DEFAULT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `url` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `type` enum('int','ext') COLLATE utf8_unicode_ci DEFAULT 'int', `ban` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', `nofollow` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `indName` (`name`), KEY `indType` (`type`), KEY `indUrl` (`url`), KEY `indDplPageId` (`page_id`), CONSTRAINT `deeplink_ibfk_1` FOREIGN KEY (`page_id`) REFERENCES `page` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `deeplink` -- LOCK TABLES `deeplink` WRITE; /*!40000 ALTER TABLE `deeplink` DISABLE KEYS */; /*!40000 ALTER TABLE `deeplink` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `email_triggers` -- DROP TABLE IF EXISTS `email_triggers`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `email_triggers` ( `id` int(10) NOT NULL AUTO_INCREMENT, `enabled` enum('0','1') COLLATE utf8_unicode_ci NOT NULL, `trigger_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `observer` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `trigger_name_2` (`trigger_name`,`observer`), KEY `trigger_name` (`trigger_name`), KEY `observer` (`observer`), KEY `enabled` (`enabled`) ) ENGINE=InnoDB AUTO_INCREMENT=63 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `email_triggers` -- LOCK TABLES `email_triggers` WRITE; /*!40000 ALTER TABLE `email_triggers` DISABLE KEYS */; INSERT INTO `email_triggers` VALUES (1,'1','t_feedbackform','Tools_Mail_SystemMailWatchdog'),(2,'1','t_passwordreset','Tools_Mail_SystemMailWatchdog'),(3,'1','t_passwordchange','Tools_Mail_SystemMailWatchdog'),(4,'1','t_membersignup','Tools_Mail_SystemMailWatchdog'),(5,'1','t_systemnotification','Tools_Mail_SystemMailWatchdog'),(6,'1','t_userinvitation','Tools_Mail_SystemMailWatchdog'),(7,'1','store_newcustomer','Tools_StoreMailWatchdog'),(8,'1','store_neworder','Tools_StoreMailWatchdog'),(9,'1','store_trackingnumber','Tools_StoreMailWatchdog'),(10,'1','store_refund','Tools_StoreMailWatchdog'),(11,'1','t_userchangeattr','Tools_StoreMailWatchdog'),(12,'1','store_newuseraccount','Tools_StoreMailWatchdog'),(13,'1','quote_created','Quote_Tools_QuoteMailWatchdog'),(14,'1','quote_updated','Quote_Tools_QuoteMailWatchdog'),(15,'1','emailsequence_abandoned','Tools_EmailsequenceMailWatchdog'),(16,'1','emailsequence_newquote','Tools_EmailsequenceMailWatchdog'),(17,'1','emailsequence_quotesent','Tools_EmailsequenceMailWatchdog'),(18,'1','emailsequence_paymentreceived','Tools_EmailsequenceMailWatchdog'),(19,'1','emailsequence_itemsshipped','Tools_EmailsequenceMailWatchdog'),(20,'1','emailsequence_itemsdelivered','Tools_EmailsequenceMailWatchdog'),(21,'1','emailsequence_refundedpurchase','Tools_EmailsequenceMailWatchdog'),(22,'1','emailsequence_actionrequire','Tools_EmailsequenceMailWatchdog'),(23,'1','emailsequence_technicalprocessing','Tools_EmailsequenceMailWatchdog'),(24,'1','emailsequence_lostopportunity','Tools_EmailsequenceMailWatchdog'),(25,'1','emailsequence_nocart','Tools_EmailsequenceMailWatchdog'),(26,'1','emailsequence_unsubscribereport','Tools_EmailsequenceMailWatchdog'),(27,'1','invoice_send','Tools_InvoicetopdfMailWatchdog'),(28,'1','leads_contact','Tools_LeadsMailWatchdog'),(29,'1','leads_meeting','Tools_LeadsMailWatchdog'),(30,'1','leads_taskreminder','Tools_LeadsMailWatchdog'),(31,'1','leads_licenselimit','Tools_LeadsMailWatchdog'),(32,'1','leads_taskcompleted','Tools_LeadsMailWatchdog'),(33,'1','leads_taskreopened','Tools_LeadsMailWatchdog'),(34,'1','paypal_recurringpayment','Tools_PaypalMailWatchdog'),(35,'1','paypal_recurringcanceled','Tools_PaypalMailWatchdog'),(36,'1','paypal_recurringsuspended','Tools_PaypalMailWatchdog'),(37,'1','paypal_recurringreactivated','Tools_PaypalMailWatchdog'),(38,'1','paypal_recurringfailed','Tools_PaypalMailWatchdog'),(39,'1','leads_taskcreated','Tools_LeadsMailWatchdog'),(40,'1','leads_imapcredentialsnotification','Tools_LeadsMailWatchdog'),(41,'1','leads_reviewrequest','Tools_LeadsMailWatchdog'),(42,'1','leads_npsreviewrequest','Tools_LeadsMailWatchdog'),(43,'1','store_suppliercompleted','Tools_StoreMailWatchdog'),(44,'1','store_suppliershipped','Tools_StoreMailWatchdog'),(45,'1','store_giftorder','Tools_StoreMailWatchdog'),(46,'1','store_delivered','Tools_StoreMailWatchdog'),(47,'1','store_customernotification','Tools_StoreMailWatchdog'),(48,'1','store_neworder','Tools_AppsSmsWatchdog'),(49,'1','store_trackingnumber','Tools_AppsSmsWatchdog'),(50,'1','store_partialpayment','Tools_StoreMailWatchdog'),(51,'1','store_partialpaymentsecond','Tools_StoreMailWatchdog'),(52,'1','store_partialpaymentnotif','Tools_StoreMailWatchdog'),(53,'1','quote_signed','Quote_Tools_QuoteMailWatchdog'),(54,'1','leads_taskoverdue','Tools_LeadsMailWatchdog'),(55,'1','leads_taskstart','Tools_LeadsMailWatchdog'),(56,'1','leads_meetingreminder','Tools_LeadsMailWatchdog'),(57,'1','quote_notifyexpiryquote','Quote_Tools_QuoteMailWatchdog'),(58,'1','store_pickupnotification','Tools_StoreMailWatchdog'),(59,'1','leads_emailsvalidationqueue','Tools_LeadsMailWatchdog'),(60,'1','t_mfanotification','Tools_Mail_SystemMailWatchdog'),(61,'1','leads_sequencemassactionnotification','Tools_LeadsMailWatchdog'),(62,'1','leads_useremailreport','Tools_LeadsMailWatchdog'); /*!40000 ALTER TABLE `email_triggers` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `email_triggers_actions` -- DROP TABLE IF EXISTS `email_triggers_actions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `email_triggers_actions` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `service` enum('email','sms') COLLATE utf8_unicode_ci DEFAULT NULL, `trigger` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `template` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL, `recipient` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `message` text COLLATE utf8_unicode_ci, `from` tinytext COLLATE utf8_unicode_ci NOT NULL COMMENT 'can be used in the From field of e-mail', `subject` tinytext COLLATE utf8_unicode_ci NOT NULL COMMENT 'can be used in the "Subject" field of e-mail', `preheader` text COLLATE utf8_unicode_ci COMMENT 'Email preheader text is a small line of text that appears after the subject line in an email inbox.', PRIMARY KEY (`id`), KEY `trigger` (`trigger`), KEY `template` (`template`), KEY `recipient` (`recipient`), CONSTRAINT `email_triggers_actions_ibfk_1` FOREIGN KEY (`trigger`) REFERENCES `email_triggers` (`trigger_name`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `email_triggers_actions_ibfk_2` FOREIGN KEY (`recipient`) REFERENCES `email_triggers_recipient` (`recipient`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=68 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `email_triggers_actions` -- LOCK TABLES `email_triggers_actions` WRITE; /*!40000 ALTER TABLE `email_triggers_actions` DISABLE KEYS */; INSERT INTO `email_triggers_actions` VALUES (1,'email','cartstatusemail_abandoned','email - user','customer','You’ve left something rather lovely in your shopping basket. {cart:basket} Ready to make it yours? Click here {cart:recovery}','','What’s that in your shopping basket? Do you see what we see?',NULL),(2,'email','leads_licenselimit','CRM subscription','admin','Congratulations! You\'re getting noticed and folks are interested in what you\'re doing.\r\n\r\nWe hope that you\'re enjoying using our CRM at <a target=\"_blank\" href=\"{$website:url}\">{$website:host}</a>. Unfortunately, you\'ve reached your software subscription limit.\r\nAs a result, no additional named lead contacts can be created. As it stands, you won\'t be able to know what web pages your prospective clients have looked at, which documents they\'ve downloaded, which emails and attachments they\'ve opened. And you won\'t have access to a history of phone conversations, all conveniently located under their client profiles.\r\nThe good news is that it\'s super simple to fix this: Don\'t lose any more valuable opportunities. Click <a href=\"{lead:subscriptionlink}\">here </a>to upgrade your CRM subscription now','store@example.com','You\'re losing out on critical sales data. Upgrade your CRM subscription now.',NULL),(3,'email','leads_contact','email - user','admin','','admin@package.seotoaster.com','',NULL),(4,'email','t_membersignup','email - user','member','Thank you for your registration!','','Thank you for your registration!',NULL),(5,'email','t_membersignup','email - user','admin','We have a new member registered at {$website:url}','','New member registered',NULL),(6,'email','t_passwordreset','email - user','member','Please click the link below to reset your password: {reset:link}','','Password reminder',NULL),(7,'email','t_passwordreset','email - user','admin','Please click the link below to reset your password: {reset:link}','','Password reminder',NULL),(8,'email','t_passwordreset','email - user','customer','Please click the link below to reset your password: {reset:link}','','Password reminder',NULL),(9,'email','t_passwordreset','email - user','sales person','Please click the link below to reset your password: {reset:link}','','Password reminder',NULL),(10,'email','t_passwordreset','email - user','copywriter','Please click the link below to reset your password: {reset:link}','','Password reminder',NULL),(11,'email','t_passwordchange','email - user','admin','Your password was changed successfully','','Password was changed',NULL),(12,'email','t_passwordchange','email - user','copywriter','Your password was changed successfully','','Password was changed',NULL),(13,'email','t_passwordchange','email - user','customer','Your password was changed successfully','','Password was changed',NULL),(14,'email','t_passwordchange','email - user','member','Your password was changed successfully','','Password was changed',NULL),(15,'email','t_passwordchange','email - user','sales person','Your password was changed successfully','','Password was changed',NULL),(16,'email','leads_taskreminder','email - user','admin','This is a friendly reminder.<br> The following <a href=\"{$website:url}crmLogin/tabName/dashboard/subTab/leads/paramHashName/lead/paramHash/{task:leadid}\">task </a> which was created by {task:creatorFullName} is now due: {task:dueDate}','','Task reminder',NULL),(17,'email','leads_taskreminder','email - user','sales person','This is a friendly reminder.<br> The following <a href=\"{$website:url}crmLogin/tabName/dashboard/subTab/leads/paramHashName/lead/paramHash/{task:leadid}\">task </a> which was created by {task:creatorFullName} is now due: {task:dueDate}','','Task reminder',NULL),(18,'email','leads_taskcompleted','email - user','admin','Hello, <br><br> The task <a href=\"{$website:url}crmLogin/tabName/dashboard/subTab/leads/paramHashName/lead/paramHash/{task:leadid}\"> has been completed by {task:taskCompletedBy} on the {task:taskCompletedDate}, <br><br>','','Task Completed',NULL),(19,'email','leads_taskcompleted','email - user','sales person','Hello, <br><br> The task <a href=\"{$website:url}crmLogin/tabName/dashboard/subTab/leads/paramHashName/lead/paramHash/{task:leadid}\"> has been completed by {task:taskCompletedBy} on the {task:taskCompletedDate}, <br><br>','','Task Completed',NULL),(20,'email','leads_taskreopened','email - user','admin','Hello,<br><br> The task <a href=\"{$website:url}crmLogin/tabName/dashboard/subTab/leads/paramHashName/lead/paramHash/{task:leadid}\"> has been reopened by {task:reopenedBy}, <br><br>','','Task re-opened',NULL),(21,'email','leads_taskreopened','email - user','sales person','Hello,<br><br> The task <a href=\"{$website:url}crmLogin/tabName/dashboard/subTab/leads/paramHashName/lead/paramHash/{task:leadid}\"> has been reopened by {task:reopenedBy}, <br><br>','','Task re-opened',NULL),(22,'email','leads_meeting','email - user','admin','{leadsmeeting:subject}<br><br>\r\n<b>Meeting starts: </b>{leadsmeeting:starttimedate}<br>\r\n<b>Meeting ends: </b>{leadsmeeting:endtimedate}<br><br>\r\n<b>Details: </b>{leadsmeeting:details}','','Meeting ',NULL),(23,'email','invoice_send','email - user','customer','Hi there {customer:fullname}! You can find your invoice in attachment.','','Invoice',NULL),(24,'email','cartstatusemail_nocart',NULL,'customer','','','',NULL),(25,'email','quote_updated','email - user','admin','Hi there! Your quote[{quote:id}] has been updated. Go ahead and <a href=\'{$website:url}{quote:id}.html\'> check out your quote</a>','','Your quote has been updated',NULL),(26,'email','quote_created','email - user','admin','Hi there! We just generated a new quote ({quote:id}) for you. Go ahead and <a href=\'{$website:url}{quote:id}.html\'> check out your quote</a>','','New quote request',NULL),(27,'email','quote_created','email - user','customer','Hi there! We just generated a new quote ({quote:id}) for you. Go ahead and <a href=\'{$website:url}{quote:id}.html\'> check out your quote</a>','','We have received your quote request',NULL),(28,'email','quote_updated','email - user','customer','Hi there! Your quote[{quote:id}] has been updated. Go ahead and <a href=\'{$website:url}{quote:id}.html\'> check out your quote</a>','','Your quote has been updated',NULL),(29,'email','store_neworder','email - user','customer','Hi there {customer:fullname}! Thank you for purchasing with us.<br/><br/>\r\nYour order includes\r\n<br/><br/>\r\n{$store:postpurchasereport:mailreport}','','Thank you for purchasing with us!',NULL),(30,'email','store_neworder','email - user','admin','Hi there,\r\n<br/><br/>\r\nWe received an order on {order:createdat} from {customer:fullname} placed from {order:ipaddress}. This order came through {order:referer}.\r\n<br/><br/> \r\nTheir order total is {order:total}.<br/>\r\nWe are shipping via {order:shippingservice} to {order:shippingaddress}<br/><br/>\r\nThis client originally registered with our site {customer:regdate} on {customer:ipaddress}<br/><br/>\r\n{$store:postpurchasereport:mailreport}','','New order placed',NULL),(31,'email','store_neworder','email - user','sales person','Hi there,\r\n<br/><br/>\r\nWe received an order on {order:createdat} from {customer:fullname} placed from {order:ipaddress}. This order came through {order:referer}.\r\n<br/><br/> \r\nTheir order total is {order:total}.<br/>\r\nWe are shipping via {order:shippingservice} to {order:shippingaddress}<br/><br/>\r\nThis client originally registered with our site {customer:regdate} on {customer:ipaddress}<br/><br/>\r\n{$store:postpurchasereport:mailreport}','','New order placed',NULL),(32,'email','store_newcustomer','email - user','admin','We have a new customer registered - {customer:fullname}! ','no-reply@{$website:domain}','New Customer Registered',NULL),(33,'email','store_newcustomer','email - user','customer','Hi there {customer:fullname}! <br> <br>Thank you for your registration.<br>You are welcome to login to your Client Area. <br><br>Login: {customer:email}<br>Follow this <strong>{customer:passwordLink}</strong> in order to set your password.<br><br>','no-reply@{$website:domain}','You\'ve been successfully registered',NULL),(34,'email','store_trackingnumber','email - user','customer','Your order #{order:id} status shipping tracking code: {order:shippingtrackingid}','','Track your order',NULL),(35,'email','store_refund','email - user','admin','','no-reply@{$website:domain}','Order refunded',NULL),(36,'email','store_refund','email - user','customer','Order with amount: {refund:message} has been refunded. <br> Admin left a comment: {refund:notes}','no-reply@{$website:domain}','Order refunded',NULL),(37,'email','store_newcustomer','email - user','sales person','Hi there {customer:fullname}! <br> <br>Thank you for your registration.<br>You are welcome to login to your Client Area. <br><br>Login: {customer:email}<br>Follow this <strong>{customer:passwordLink}</strong> in order to set your password.<br><br>','no-reply@{$website:domain}','You\'ve been successfully registered',NULL),(39,'email','store_newuseraccount','email - user','sales person','Hello! <br> <br> User information has been updated','no-reply@{$website:domain}','New User Account Information',NULL),(50,'email','store_newuseraccount','email - user','customer','Hello! <br> <br> User information has been updated','no-reply@{$website:domain}','New User Account Information',NULL),(51,'email','store_refund','email - user','sales person','Order with amount: {refund:message} has been refunded. <br> Admin left a comment: {refund:notes}','no-reply@{$website:domain}','Order refunded',NULL),(52,'email','store_delivered','email - user','sales person','Hello! <br><br> Your order #{order:id} status shipping tracking code: {order:shippingtrackingid} is delivered.','no-reply@{$website:domain}','Order Delivered',NULL),(53,'email','store_delivered','email - user','customer','Hello! <br><br> Your order #{order:id} status shipping tracking code: {order:shippingtrackingid} is delivered.','no-reply@{$website:domain}','Order Delivered',NULL),(54,'email','store_suppliercompleted','email - user','sales person','Hello! <br><br> Suppliers order {product:urls} is completed.','no-reply@{$website:domain}','Supplier Order Completed',NULL),(55,'email','store_suppliercompleted','email - user','customer','Hello! <br><br> Suppliers order {product:urls} is completed.','no-reply@{$website:domain}','Supplier Order Completed',NULL),(56,'email','store_suppliershipped','email - user','sales person','Hello! <br><br> Suppliers order {product:urls} is delivered.','no-reply@{$website:domain}','Supplier Order Delivered',NULL),(57,'email','store_suppliershipped','email - user','customer','Hello! <br><br> Suppliers order {product:urls} is delivered.','no-reply@{$website:domain}','Supplier Order Delivered',NULL),(58,'email','store_giftorder','email - user','admin','Hi there, we have a new order from {customer:fullname}!','no-reply@{$website:domain}','Gift Order Info',NULL),(59,'email','store_giftorder','email - user','customer','<p>Dear {$postpurchase:shipping:firstname},</p><p>{customer:fullname} is sending you the gift from {store:name}. Look for a shipping notification from {order:shippingservice} to the email address listed here: {order:shippingaddress}. Please contact the customer cervice with any issues or questions.</p><br><p>A personal note is include:<br>\"{$postpurchase:notes}\"<p><br>','no-reply@{$website:domain}','Gift Order Info',NULL),(60,'email','store_partialpayment','email - user','customer','Hello {customer:fullname}!<br/><br/>Welcome to the family. Thanks for your trust, we will now get to work to earn it. We\'ll be in touch soon to kick start your project. For the record, you paid the following towards your project:<br><br>{$postpurchase:partialpercentage}% ($ {$postpurchase:partialamount}) out of {order:total}<br/>Feel free to contact us should you have any questions or concerns.','no-reply@{$website:domain}','Thank you for your order - We have received your deposit payment',NULL),(61,'email','store_partialpaymentnotif','email - user','customer','Hello {customer:fullname}!<br/><br/>Great news. We have completed another important step in this process, and you have reached the next milestone towards success. Please follow this link and use your credit card <a href=\"{$website:url}{quote:id}.html\"> to securely complete your order</a><br/><br/>Thank you for your business. We appreciate it very much.<br/><br/>Feel free to contact us should you have any questions or concerns.','no-reply@{$website:domain}','Payment completion stage',NULL),(62,'email','emailsequence_abandoned','email - user','customer','You’ve left something rather lovely in your shopping basket. {cart:basket} Ready to make it yours? Click here {cart:recovery}','no-reply@{$website:domain}','What’s that in your shopping basket? Do you see what we see?',NULL),(63,'email','emailsequence_quotesent','email - user','customer','Don’t forget, you left something behind. To help you make up your mind, enjoy 15% off your quote when you call us at XXX XXX XXXX with coupon # Click here to view your private quote {cart:recovery} Hurry this offer ends on XX/XX/XXXX','no-reply@{$website:domain}','A little something to sweeten your day',NULL),(64,'email','emailsequence_paymentreceived','email - user','customer','We wanted to thank you for your business with a free shipping voucher code for your next purchase. Next time you shop with us, please enter XXXXX in the promotional code field on the checkout page.','no-reply@{$website:domain}','Thank you for your payment',NULL),(65,'email','emailsequence_nocart','email - user','customer','','store@example.com','',NULL),(66,'email','leads_reviewrequest','NPS leave review system','guest','<p>Thank you so much for being a valuable customer. Please help us improve by sharing with others your experience about {$plugin:widcard:BizOrgName:notag}. We would be extremely grateful if you could write a quick review.</p>','{$leadowner:email}','Please share your experience with others',NULL),(67,'email','t_userinvitation',NULL,'guest','Hello {user:fullname},<br><br>You have a new account at {$website:url}<br><br>Account details:<br><b>Login: </b>{user:email}<br><br>Start using your new account by <a href={reset:url}>setting up a password</a>','admin@{$website:domain}','Complete your account setup',NULL); /*!40000 ALTER TABLE `email_triggers_actions` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `email_triggers_recipient` -- DROP TABLE IF EXISTS `email_triggers_recipient`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `email_triggers_recipient` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `recipient` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Recipient Name', PRIMARY KEY (`id`), KEY `recipient` (`recipient`) ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `email_triggers_recipient` -- LOCK TABLES `email_triggers_recipient` WRITE; /*!40000 ALTER TABLE `email_triggers_recipient` DISABLE KEYS */; INSERT INTO `email_triggers_recipient` VALUES (4,'admin'),(3,'copywriter'),(6,'customer'),(1,'guest'),(2,'member'),(7,'sales person'),(5,'superadmin'); /*!40000 ALTER TABLE `email_triggers_recipient` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `featured_area` -- DROP TABLE IF EXISTS `featured_area`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `featured_area` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(164) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `indName` (`name`) ) ENGINE=InnoDB AUTO_INCREMENT=95 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `featured_area` -- LOCK TABLES `featured_area` WRITE; /*!40000 ALTER TABLE `featured_area` DISABLE KEYS */; INSERT INTO `featured_area` VALUES (14,'Africa'),(5,'all-products'),(91,'articles'),(94,'brand'),(93,'category'),(16,'Europe'),(2,'menu_by-area-of-body'),(1,'menu_by-category'),(3,'menu_by-range'),(4,'menu_new-products'),(92,'new-products'),(6,'salons_all'),(12,'salons_Asia/Oceania'),(49,'salons_Australia_NSW'),(52,'salons_Australia_NT'),(50,'salons_Australia_Queensland'),(53,'salons_Australia_VIC'),(51,'salons_Australia_WA'),(89,'salons_Bahamas'),(68,'salons_Bahrain_Al Ali'),(67,'salons_Bahrain_Hidd'),(64,'salons_Bahrain_Isa Town'),(62,'salons_Bahrain_Manama'),(66,'salons_Bahrain_Muharraq'),(63,'salons_Bahrain_Riffa'),(65,'salons_Bahrain_Sanad'),(54,'salons_Cambodia'),(42,'salons_Canada_Alberta'),(44,'salons_Canada_British Columbia'),(45,'salons_Canada_Ontario'),(43,'salons_Canada_Quebec'),(9,'salons_Caribbean'),(11,'salons_Central America'),(55,'salons_China_Beijin'),(82,'salons_Finland_Turku'),(83,'salons_Germany'),(56,'salons_Hong Kong'),(57,'salons_India'),(69,'salons_Jordan'),(70,'salons_Kuwait'),(71,'salons_Lebanon'),(58,'salons_Malaysia'),(48,'salons_Mexico_Campeche'),(46,'salons_Mexico_DF'),(47,'salons_Mexico_Michoacan'),(13,'salons_Middle East/Gulf'),(84,'salons_Netherlands'),(59,'salons_New Zealand'),(8,'salons_North America'),(17,'salons_North America_Alabama'),(29,'salons_North America_Arizona'),(41,'salons_North America_California'),(18,'salons_North America_Colorado'),(30,'salons_North America_Florida'),(19,'salons_North America_Georgia'),(20,'salons_North America_Hawaii'),(31,'salons_North America_Illinois'),(32,'salons_North America_Kentucky'),(35,'salons_North America_Louisiana'),(21,'salons_North America_Maryland'),(36,'salons_North America_Massachusetts'),(22,'salons_North America_Minnesota'),(33,'salons_North America_Nevada'),(23,'salons_North America_New Jersey'),(25,'salons_North America_New Mexico'),(24,'salons_North America_New York'),(39,'salons_North America_North Carolina'),(26,'salons_North America_Ohio'),(38,'salons_North America_Pennsylvania'),(40,'salons_North America_Texas'),(28,'salons_North America_Virginia'),(34,'salons_North America_Washington'),(27,'salons_North America_Wisconsin'),(72,'salons_Oman'),(60,'salons_Philippines'),(90,'salons_Puerto Rico'),(73,'salons_Qatar'),(85,'salons_Romania'),(86,'salons_Russia_Moscow'),(87,'salons_Russia_Moscow_GorZdrav'),(61,'salons_Sangapore'),(77,'salons_South Africa_ Gauteng'),(78,'salons_South Africa_Kwa-Zulu Natal'),(79,'salons_South Africa_Western Cape'),(10,'salons_South America'),(80,'salons_Sudan, Khartoom'),(75,'salons_UAE_ Sharjah'),(74,'salons_UAE_Abu Dhabi'),(76,'salons_UAE_Dubai'),(88,'salons_UK'); /*!40000 ALTER TABLE `featured_area` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `form` -- DROP TABLE IF EXISTS `form`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `form` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(64) COLLATE utf8_unicode_ci NOT NULL, `code` mediumtext COLLATE utf8_unicode_ci NOT NULL, `contact_email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `message_success` text COLLATE utf8_unicode_ci NOT NULL, `message_error` text COLLATE utf8_unicode_ci NOT NULL, `reply_subject` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `reply_mail_template` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `reply_from` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `reply_from_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `reply_text` text COLLATE utf8_unicode_ci, `captcha` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `mobile` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `enable_sms` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `admin_subject` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `admin_mail_template` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `admin_from` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `admin_from_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `admin_text` text COLLATE utf8_unicode_ci, `reply_email` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `auto_reply_pdf_template` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `form` -- LOCK TABLES `form` WRITE; /*!40000 ALTER TABLE `form` DISABLE KEYS */; INSERT INTO `form` VALUES (1,'contact','<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha\" for=\"name\">Name</label>\r\n <input class=\"grid_8 omega\" id=\"name\" name=\"name\" type=\"text\">\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha\" for=\"Country\">Country</label>\r\n<select class=\"grid_8 omega\" id=\"Country\" name=\"Country\">\r\n <option>Albania</option>\r\n <option>Algeria</option>\r\n <option>American Samoa</option>\r\n <option>Andorra</option>\r\n <option>Anguilla</option>\r\n <option>Antigua</option>\r\n <option>Argentina</option>\r\n <option>Aruba</option>\r\n <option>Australia</option>\r\n <option>Austria</option>\r\n <option>Azores</option>\r\n <option>Bahamas</option>\r\n <option>Bahrain</option>\r\n <option>Bangladesh</option>\r\n <option>Barbados</option>\r\n <option>Barbuda</option>\r\n <option>Belgium</option>\r\n <option>Belize</option>\r\n <option>Belorus</option>\r\n <option>Benin</option>\r\n <option>Bermuda</option>\r\n <option>Bolivia</option>\r\n <option>Bonaire</option>\r\n <option>Botswana</option>\r\n <option>Brazil</option>\r\n <option>British Virgin Islands</option>\r\n <option>Brunei</option>\r\n <option>Bulgaria</option>\r\n <option>Burkina Faso</option>\r\n <option>Burundi</option>\r\n <option>Cambodia</option>\r\n <option>Cameroon</option>\r\n <option>Canada</option>\r\n <option>Canary Islands</option>\r\n <option>Cape Verde Islands</option>\r\n <option>Cayman Islands</option>\r\n <option>Central African Republic</option>\r\n <option>Chad</option>\r\n <option>Channel Islands</option>\r\n <option>Chile</option>\r\n <option>China, Peoples Republic of</option>\r\n <option>Christmas Island</option>\r\n <option>Cocos Islands</option>\r\n <option>Colombia</option>\r\n <option>Congo</option>\r\n <option>Cook Islands</option>\r\n <option>Costa Rica</option>\r\n <option>Croatia</option>\r\n <option>Curacao</option>\r\n <option>Cyprus</option>\r\n <option>Czech Republic</option>\r\n <option>Denmark</option>\r\n <option>Djibouti</option>\r\n <option>Dominica</option>\r\n <option>Dominican Republic</option>\r\n <option>Ecuador</option>\r\n <option>Egypt</option>\r\n <option>El Salvador</option>\r\n <option>England</option>\r\n <option>Equitorial Guinea</option>\r\n <option>Eritrea</option>\r\n <option>Estonia</option>\r\n <option>Ethiopia</option>\r\n <option>Faeroe Islands</option>\r\n <option>Fiji</option>\r\n <option>Finland</option>\r\n <option>France</option>\r\n <option>French Guiana</option>\r\n <option>French Polynesia</option>\r\n <option>Gabon</option>\r\n <option>Gambia</option>\r\n <option>Germany</option>\r\n <option>Ghana</option>\r\n <option>Gibraltar</option>\r\n <option>Greece</option>\r\n <option>Greenland</option>\r\n <option>Grenada</option>\r\n <option>Guadeloupe</option>\r\n <option>Guam</option>\r\n <option>Guatemala</option>\r\n <option>Guinea</option>\r\n <option>Guinea-Bissau</option>\r\n <option>Guyana</option>\r\n <option>Haiti</option>\r\n <option>Holland</option>\r\n <option>Honduras</option>\r\n <option>Hong Kong</option>\r\n <option>Hungary</option>\r\n <option>Iceland</option>\r\n <option>India</option>\r\n <option>Indonesia</option>\r\n <option>Iran</option>\r\n <option>Ireland</option>\r\n <option>Israel</option>\r\n <option>Italy</option>\r\n <option>Ivory Coast (Cote d\'Ivoire)</option>\r\n <option>Jamaica</option>\r\n <option>Japan</option>\r\n <option>Jordan</option>\r\n <option>Kazakhstan</option>\r\n <option>Kenya</option>\r\n <option>Kiribati</option>\r\n <option>Korea, South</option>\r\n <option>Kosrae</option>\r\n <option>Kuwait</option>\r\n <option>Kyrgyzstan</option>\r\n <option>Laos</option>\r\n <option>Latvia</option>\r\n <option>Lebanon</option>\r\n <option>Lesotho</option>\r\n <option>Liberia</option>\r\n <option>Liechtenstein</option>\r\n <option>Lithuania</option>\r\n <option>Luxembourg</option>\r\n <option>Macau</option>\r\n <option>Macedonia</option>\r\n <option>Madagascar</option>\r\n <option>Madeira</option>\r\n <option>Malawi</option>\r\n <option>Malaysia</option>\r\n <option>Maldives</option>\r\n <option>Mali</option>\r\n <option>Malta</option>\r\n <option>Marshall Islands</option>\r\n <option>Martinique</option>\r\n <option>Mauritania</option>\r\n <option>Mauritius</option>\r\n <option>Mexico</option>\r\n <option>Micronesia</option>\r\n <option>Monaco</option>\r\n <option>Montserrat</option>\r\n <option>Morocco</option>\r\n <option>Mozambique</option>\r\n <option>Myanmar</option>\r\n <option>Namibia</option>\r\n <option>Nepal</option>\r\n <option>Netherlands</option>\r\n <option>Netherlands Antilles</option>\r\n <option>Nevis</option>\r\n <option>New Caledonia</option>\r\n <option>New Zealand</option>\r\n <option>Nicaragua</option>\r\n <option>Niger</option>\r\n <option>Nigeria</option>\r\n <option>Niue</option>\r\n <option>Norfolk Island</option>\r\n <option>Northern Ireland</option>\r\n <option>Northern Mariana Islands</option>\r\n <option>Norway</option>\r\n <option>Oman</option>\r\n <option>Pakistan</option>\r\n <option>Palau</option>\r\n <option>Panama</option>\r\n <option>Papua New Guinea</option>\r\n <option>Paraguay</option>\r\n <option>Peru</option>\r\n <option>Philippines</option>\r\n <option>Poland</option>\r\n <option>Ponape</option>\r\n <option>Portugal</option>\r\n <option>Puerto Rico</option>\r\n <option>Qatar</option>\r\n <option>Reunion</option>\r\n <option>Romania</option>\r\n <option>Rota</option>\r\n <option>Russia</option>\r\n <option>Rwanda</option>\r\n <option>Saba</option>\r\n <option>Saipan</option>\r\n <option>Saudi Arabia</option>\r\n <option>Scotland</option>\r\n <option>Senegal</option>\r\n <option>Seychelles</option>\r\n <option>Sierra Leone</option>\r\n <option>Singapore</option>\r\n <option>Slovak Republic</option>\r\n <option>Slovenia</option>\r\n <option>Solomon Islands</option>\r\n <option>South Africa</option>\r\n <option>Spain</option>\r\n <option>Sri Lanka</option>\r\n <option>St. Barthelemy</option>\r\n <option>St. Christopher</option>\r\n <option>St. Croix</option>\r\n <option>St. Eustatius</option>\r\n <option>St. John</option>\r\n <option>St. Kitts</option>\r\n <option>St. Lucia</option>\r\n <option>St. Maarten</option>\r\n <option>St. Martin</option>\r\n <option>St. Thomas</option>\r\n <option>St. Vincent and the Grenadines</option>\r\n <option>Sudan</option>\r\n <option>Suriname</option>\r\n <option>Swaziland</option>\r\n <option>Sweden</option>\r\n <option>Switzerland</option>\r\n <option>Syria</option>\r\n <option>Tahiti</option>\r\n <option>Taiwan</option>\r\n <option>Tajikistan</option>\r\n <option>Tanzania</option>\r\n <option>Thailand</option>\r\n <option>Tinian</option>\r\n <option>Togo</option>\r\n <option>Tonga</option>\r\n <option>Tortola</option>\r\n <option>Trinidad & Tobago</option>\r\n <option>Truk</option>\r\n <option>Tunisia</option>\r\n <option>Turkey</option>\r\n <option>Turks and Caicos Islands</option>\r\n <option>Tuvalu</option>\r\n <option>Uganda</option>\r\n <option>Ukraine</option>\r\n <option>Union Island</option>\r\n <option>United Arab Emirates</option>\r\n <option>United Kingdom</option>\r\n <option selected=\"\">United States</option>\r\n <option>Uruguay</option>\r\n <option>U.S. Virgin Islands</option>\r\n <option>Uzbekistan</option>\r\n <option>Vanuatu</option>\r\n <option>Venezuela</option>\r\n <option>Vietnam</option>\r\n <option>Virgin Gorda</option>\r\n <option>Wake Island</option>\r\n <option>Wales</option>\r\n <option>Wallis and Futuna Islands</option>\r\n <option>Western Samoa</option>\r\n <option>Yap</option>\r\n <option>Yemen</option>\r\n <option>Zaire</option>\r\n <option>Zambia</option>\r\n <option>Zimbabwe</option>\r\n </select>\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha\" for=\"City\">City</label>\r\n <input class=\"grid_8 omega\" id=\"City\" name=\"City\" type=\"text\">\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha\" for=\"email\">E-mail</label>\r\n <input class=\"grid_8 omega\" id=\"email\" name=\"email\" type=\"text\">\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha\" for=\"how\">How did you hear about us?</label>\r\n <select id=\"how\" name=\"How did you hear about us\" class=\"grid_8 omega\">\r\n <option selected=\"\">Choose One</option>\r\n <option value=\"Google\">Searching Internet - \r\n Google</option>\r\n <option value=\"Yahoo\">Searching Internet - Yahoo</option>\r\n <option value=\"Other Search Engine\">Other Internet \r\n Search Engine</option>\r\n <option value=\"Word of Mouth\">Word of Mouth</option>\r\n <option value=\"Customer\">I am a customer</option>\r\n <option value=\"Salon\">Salon</option>\r\n <option value=\"Other\">Other</option>\r\n </select>\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha\" for=\"message\">Comments or Questions</label>\r\n <textarea class=\"grid_8 omega\" name=\"Comments or Questions\" id=\"message\" ></textarea>\r\n</p>','{$plugin:widcard:BizEmail:notag}','Success','Error','Thank you for contacting us.','email','{$plugin:widcard:BizEmail:notag}','','Hello!\r\nThank you for contacting us.','0','','0','subject','0','{$plugin:widcard:BizEmail:notag}','{$plugin:widcard:BizEmail:notag}','','0',NULL),(2,'Wholesale','<p class=\"mb30px small text-center\">We welcome inquiries from salons, day spas, beauty supply stores and other retailers interested in reselling our products. Please complete the form.<br>Thank you!</p>\r\n\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha required\" for=\"name\">First Name:</label>\r\n <input class=\"grid_8 omega\" id=\"name\" name=\"name\" type=\"text\" required>\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha required\">Last Name:</label>\r\n <input class=\"grid_8 omega\" name=\"Last Name\" type=\"text\" required>\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha required\">Company Name:</label>\r\n <input class=\"grid_8 omega\" name=\"Company Name\" type=\"text\" required>\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha\">License Number:</label>\r\n <input class=\"grid_8 omega\" name=\"License Number\" type=\"text\">\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha required\">Type of Business:</label>\r\n <select name=\"Type of Business\" class=\"grid_8 omega\">\r\n <option selected=\"\">Choose One</option>\r\n <option value=\"Waxing Salon\">Waxing Salon</option>\r\n <option value=\"Day Spa\">Day Spa</option>\r\n <option value=\"Laser Clinic\">Laser Clilnic</option>\r\n <option value=\"Hair/Nail Salon\">Hair/Nail Salon</option>\r\n <option value=\"Pharmacy\">Pharmacy</option>\r\n <option value=\"Other\">Other</option>\r\n </select>\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha\">If other, tell us:</label>\r\n <input class=\"grid_8 omega\" name=\"If other, tell us\" type=\"text\">\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha required\">Address:</label>\r\n <input class=\"grid_8 omega\" name=\"Address\" type=\"text\" required>\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha required\">City:</label>\r\n <input class=\"grid_8 omega\" name=\"City\" type=\"text\" required>\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha\">State</label>\r\n<select class=\"grid_8 omega\" name=\"State\">\r\n <option value=\"\" selected=\"\">Select State</option>\r\n <option value=\"OU\">Outside USA/Canada</option>\r\n <option value=\"AL\">Alabama</option>\r\n <option value=\"AK\">Alaska</option>\r\n <option value=\"AB\">Alberta</option>\r\n <option value=\"AS\">American Samoa</option>\r\n <option value=\"AZ\">Arizona</option>\r\n <option value=\"AR\">Arkansas</option>\r\n <option value=\"AE\">Armed Forces - Europe</option>\r\n <option value=\"AP\">Armed Forces - Pacific</option>\r\n <option value=\"AA\">Armed Forces - USA/Canada</option>\r\n <option value=\"BC\">British Columbia</option>\r\n <option value=\"CA\">California</option>\r\n <option value=\"CO\">Colorado</option>\r\n <option value=\"CT\">Connecticut</option>\r\n <option value=\"DE\">Delaware</option>\r\n <option value=\"DC\">District of Columbia</option>\r\n <option value=\"FM\">Federated States of Micronesia</option>\r\n <option value=\"FL\">Florida</option>\r\n <option value=\"GA\">Georgia</option>\r\n <option value=\"GU\">Guam</option>\r\n <option value=\"HI\">Hawaii</option>\r\n <option value=\"ID\">Idaho</option>\r\n <option value=\"IL\">Illinois</option>\r\n <option value=\"IN\">Indiana</option>\r\n <option value=\"IA\">Iowa</option>\r\n <option value=\"KS\">Kansas</option>\r\n <option value=\"KY\">Kentucky</option>\r\n <option value=\"LA\">Louisiana</option>\r\n <option value=\"ME\">Maine</option>\r\n <option value=\"MB\">Manitoba</option>\r\n <option value=\"MH\">Marshall Islands</option>\r\n <option value=\"MD\">Maryland</option>\r\n <option value=\"MA\">Massachusetts</option>\r\n <option value=\"MI\">Michigan</option>\r\n <option value=\"MN\">Minnesota</option>\r\n <option value=\"MS\">Mississippi</option>\r\n <option value=\"MO\">Missouri</option>\r\n <option value=\"MT\">Montana</option>\r\n <option value=\"NE\">Nebraska</option>\r\n <option value=\"NV\">Nevada</option>\r\n <option value=\"NB\">New Brunswick</option>\r\n <option value=\"NH\">New Hampshire</option>\r\n <option value=\"NJ\">New Jersey</option>\r\n <option value=\"NM\">New Mexico</option>\r\n <option value=\"NY\">New York</option>\r\n <option value=\"NF\">Newfoundland</option>\r\n <option value=\"NC\">North Carolina</option>\r\n <option value=\"ND\">North Dakota</option>\r\n <option value=\"MP\">Northern Mariana Island</option>\r\n <option value=\"NT\">Northwest Territories</option>\r\n <option value=\"NS\">Nova Scotia</option>\r\n <option value=\"OH\">Ohio</option>\r\n <option value=\"OK\">Oklahoma</option>\r\n <option value=\"ON\">Ontario</option>\r\n <option value=\"OR\">Oregon</option>\r\n <option value=\"PW\">Palau Island</option>\r\n <option value=\"PA\">Pennsylvania</option>\r\n <option value=\"PE\">Prince Edward Island</option>\r\n <option value=\"PR\">Puerto Rico</option>\r\n <option value=\"QC\">Quebec</option>\r\n <option value=\"RI\">Rhode Island</option>\r\n <option value=\"SK\">Saskatchewan</option>\r\n <option value=\"SC\">South Carolina</option>\r\n <option value=\"SD\">South Dakota</option>\r\n <option value=\"TN\">Tennessee</option>\r\n <option value=\"TX\">Texas</option>\r\n <option value=\"UT\">Utah</option>\r\n <option value=\"VT\">Vermont</option>\r\n <option value=\"VI\">Virgin Islands</option>\r\n <option value=\"VA\">Virginia</option>\r\n <option value=\"WA\">Washington</option>\r\n <option value=\"WV\">West Virginia</option>\r\n <option value=\"WI\">Wisconsin</option>\r\n <option value=\"WY\">Wyoming</option>\r\n <option value=\"YT\">Yukon Territory</option>\r\n <option value=\"OU\">Outside USA/Canada</option>\r\n</select>\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha required\">Zip Code:</label>\r\n <input class=\"grid_8 omega\" name=\"Zip Code\" type=\"text\" required>\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha required\">Country:</label>\r\n<select class=\"grid_8 omega\" name=\"Country\">\r\n <option>Albania</option>\r\n <option>Algeria</option>\r\n <option>American Samoa</option>\r\n <option>Andorra</option>\r\n <option>Anguilla</option>\r\n <option>Antigua</option>\r\n <option>Argentina</option>\r\n <option>Aruba</option>\r\n <option>Australia</option>\r\n <option>Austria</option>\r\n <option>Azores</option>\r\n <option>Bahamas</option>\r\n <option>Bahrain</option>\r\n <option>Bangladesh</option>\r\n <option>Barbados</option>\r\n <option>Barbuda</option>\r\n <option>Belgium</option>\r\n <option>Belize</option>\r\n <option>Belorus</option>\r\n <option>Benin</option>\r\n <option>Bermuda</option>\r\n <option>Bolivia</option>\r\n <option>Bonaire</option>\r\n <option>Botswana</option>\r\n <option>Brazil</option>\r\n <option>British Virgin Islands</option>\r\n <option>Brunei</option>\r\n <option>Bulgaria</option>\r\n <option>Burkina Faso</option>\r\n <option>Burundi</option>\r\n <option>Cambodia</option>\r\n <option>Cameroon</option>\r\n <option>Canada</option>\r\n <option>Canary Islands</option>\r\n <option>Cape Verde Islands</option>\r\n <option>Cayman Islands</option>\r\n <option>Central African Republic</option>\r\n <option>Chad</option>\r\n <option>Channel Islands</option>\r\n <option>Chile</option>\r\n <option>China, Peoples Republic of</option>\r\n <option>Christmas Island</option>\r\n <option>Cocos Islands</option>\r\n <option>Colombia</option>\r\n <option>Congo</option>\r\n <option>Cook Islands</option>\r\n <option>Costa Rica</option>\r\n <option>Croatia</option>\r\n <option>Curacao</option>\r\n <option>Cyprus</option>\r\n <option>Czech Republic</option>\r\n <option>Denmark</option>\r\n <option>Djibouti</option>\r\n <option>Dominica</option>\r\n <option>Dominican Republic</option>\r\n <option>Ecuador</option>\r\n <option>Egypt</option>\r\n <option>El Salvador</option>\r\n <option>England</option>\r\n <option>Equitorial Guinea</option>\r\n <option>Eritrea</option>\r\n <option>Estonia</option>\r\n <option>Ethiopia</option>\r\n <option>Faeroe Islands</option>\r\n <option>Fiji</option>\r\n <option>Finland</option>\r\n <option>France</option>\r\n <option>French Guiana</option>\r\n <option>French Polynesia</option>\r\n <option>Gabon</option>\r\n <option>Gambia</option>\r\n <option>Germany</option>\r\n <option>Ghana</option>\r\n <option>Gibraltar</option>\r\n <option>Greece</option>\r\n <option>Greenland</option>\r\n <option>Grenada</option>\r\n <option>Guadeloupe</option>\r\n <option>Guam</option>\r\n <option>Guatemala</option>\r\n <option>Guinea</option>\r\n <option>Guinea-Bissau</option>\r\n <option>Guyana</option>\r\n <option>Haiti</option>\r\n <option>Holland</option>\r\n <option>Honduras</option>\r\n <option>Hong Kong</option>\r\n <option>Hungary</option>\r\n <option>Iceland</option>\r\n <option>India</option>\r\n <option>Indonesia</option>\r\n <option>Iran</option>\r\n <option>Ireland</option>\r\n <option>Israel</option>\r\n <option>Italy</option>\r\n <option>Ivory Coast (Cote d\'Ivoire)</option>\r\n <option>Jamaica</option>\r\n <option>Japan</option>\r\n <option>Jordan</option>\r\n <option>Kazakhstan</option>\r\n <option>Kenya</option>\r\n <option>Kiribati</option>\r\n <option>Korea, South</option>\r\n <option>Kosrae</option>\r\n <option>Kuwait</option>\r\n <option>Kyrgyzstan</option>\r\n <option>Laos</option>\r\n <option>Latvia</option>\r\n <option>Lebanon</option>\r\n <option>Lesotho</option>\r\n <option>Liberia</option>\r\n <option>Liechtenstein</option>\r\n <option>Lithuania</option>\r\n <option>Luxembourg</option>\r\n <option>Macau</option>\r\n <option>Macedonia</option>\r\n <option>Madagascar</option>\r\n <option>Madeira</option>\r\n <option>Malawi</option>\r\n <option>Malaysia</option>\r\n <option>Maldives</option>\r\n <option>Mali</option>\r\n <option>Malta</option>\r\n <option>Marshall Islands</option>\r\n <option>Martinique</option>\r\n <option>Mauritania</option>\r\n <option>Mauritius</option>\r\n <option>Mexico</option>\r\n <option>Micronesia</option>\r\n <option>Monaco</option>\r\n <option>Montserrat</option>\r\n <option>Morocco</option>\r\n <option>Mozambique</option>\r\n <option>Myanmar</option>\r\n <option>Namibia</option>\r\n <option>Nepal</option>\r\n <option>Netherlands</option>\r\n <option>Netherlands Antilles</option>\r\n <option>Nevis</option>\r\n <option>New Caledonia</option>\r\n <option>New Zealand</option>\r\n <option>Nicaragua</option>\r\n <option>Niger</option>\r\n <option>Nigeria</option>\r\n <option>Niue</option>\r\n <option>Norfolk Island</option>\r\n <option>Northern Ireland</option>\r\n <option>Northern Mariana Islands</option>\r\n <option>Norway</option>\r\n <option>Oman</option>\r\n <option>Pakistan</option>\r\n <option>Palau</option>\r\n <option>Panama</option>\r\n <option>Papua New Guinea</option>\r\n <option>Paraguay</option>\r\n <option>Peru</option>\r\n <option>Philippines</option>\r\n <option>Poland</option>\r\n <option>Ponape</option>\r\n <option>Portugal</option>\r\n <option>Puerto Rico</option>\r\n <option>Qatar</option>\r\n <option>Reunion</option>\r\n <option>Romania</option>\r\n <option>Rota</option>\r\n <option>Russia</option>\r\n <option>Rwanda</option>\r\n <option>Saba</option>\r\n <option>Saipan</option>\r\n <option>Saudi Arabia</option>\r\n <option>Scotland</option>\r\n <option>Senegal</option>\r\n <option>Seychelles</option>\r\n <option>Sierra Leone</option>\r\n <option>Singapore</option>\r\n <option>Slovak Republic</option>\r\n <option>Slovenia</option>\r\n <option>Solomon Islands</option>\r\n <option>South Africa</option>\r\n <option>Spain</option>\r\n <option>Sri Lanka</option>\r\n <option>St. Barthelemy</option>\r\n <option>St. Christopher</option>\r\n <option>St. Croix</option>\r\n <option>St. Eustatius</option>\r\n <option>St. John</option>\r\n <option>St. Kitts</option>\r\n <option>St. Lucia</option>\r\n <option>St. Maarten</option>\r\n <option>St. Martin</option>\r\n <option>St. Thomas</option>\r\n <option>St. Vincent and the Grenadines</option>\r\n <option>Sudan</option>\r\n <option>Suriname</option>\r\n <option>Swaziland</option>\r\n <option>Sweden</option>\r\n <option>Switzerland</option>\r\n <option>Syria</option>\r\n <option>Tahiti</option>\r\n <option>Taiwan</option>\r\n <option>Tajikistan</option>\r\n <option>Tanzania</option>\r\n <option>Thailand</option>\r\n <option>Tinian</option>\r\n <option>Togo</option>\r\n <option>Tonga</option>\r\n <option>Tortola</option>\r\n <option>Trinidad & Tobago</option>\r\n <option>Truk</option>\r\n <option>Tunisia</option>\r\n <option>Turkey</option>\r\n <option>Turks and Caicos Islands</option>\r\n <option>Tuvalu</option>\r\n <option>Uganda</option>\r\n <option>Ukraine</option>\r\n <option>Union Island</option>\r\n <option>United Arab Emirates</option>\r\n <option>United Kingdom</option>\r\n <option selected=\"\">United States</option>\r\n <option>Uruguay</option>\r\n <option>U.S. Virgin Islands</option>\r\n <option>Uzbekistan</option>\r\n <option>Vanuatu</option>\r\n <option>Venezuela</option>\r\n <option>Vietnam</option>\r\n <option>Virgin Gorda</option>\r\n <option>Wake Island</option>\r\n <option>Wales</option>\r\n <option>Wallis and Futuna Islands</option>\r\n <option>Western Samoa</option>\r\n <option>Yap</option>\r\n <option>Yemen</option>\r\n <option>Zaire</option>\r\n <option>Zambia</option>\r\n <option>Zimbabwe</option>\r\n </select>\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha required\">Tel:</label>\r\n <input class=\"grid_8 omega\" name=\"Tel\" type=\"text\" required>\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha required\">E-mail:</label>\r\n <input class=\"grid_8 omega\" name=\"email\" type=\"text\" required>\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha\">Web Site:</label>\r\n <input class=\"grid_8 omega\" name=\"Web Site\" type=\"text\">\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_4 alpha required\">My Customers Are:</label>\r\n<select name=\"My Customers Are\" class=\"grid_4 omega\">\r\n <option value=\"Women\" selected=\"\">Women</option>\r\n <option value=\"Men\">Men</option>\r\n <option value=\"Both\">Both</option>\r\n </select>\r\n</p>\r\n<p class=\"grid_12 alpha omega\">\r\n <label class=\"grid_12 alpha omega\" for=\"message\">Comments or Questions (Include any license numbers)</label>\r\n <textarea class=\"grid_12 alpha omega\" name=\"Comments or Questions\" id=\"message\" ></textarea>\r\n</p>','{$plugin:widcard:BizEmail:notag}','Success','Error','Subject','email','{$plugin:widcard:BizEmail:notag}','','Reply text','0','','0','','0','{$plugin:widcard:BizEmail:notag}','{$plugin:widcard:BizEmail:notag}','','0',NULL),(3,'newsletter','<p class=\"grid_12 t-grid_6 t-alpha t-omega m-grid_4 m-alpha m-omega alpha omega\">\r\n <input class=\"grid_12 t-grid_6 t-alpha t-omega m-grid_4 m-alpha m-omega alpha omega\" id=\"email\" placeholder=\"Your E-mail\" name=\"email\" type=\"text\" required>\r\n</p>','{$plugin:widcard:BizEmail:notag}','Success','Error','Subject','email','{$plugin:widcard:BizEmail:notag}','','Reply Text','0','','0','subject','0','{$plugin:widcard:BizEmail:notag}','{$plugin:widcard:BizEmail:notag}','','0',NULL),(4,'contact-small','<p class=\"grid_6\">\r\n <label for=\"name\">Name</label>\r\n <input id=\"name\" name=\"name\" type=\"text\">\r\n</p>\r\n<p class=\"grid_6\">\r\n <label for=\"email\">E-mail</label>\r\n <input id=\"email\" name=\"email\" type=\"text\">\r\n</p>\r\n<p >\r\n <label for=\"Your question\">Your question</label>\r\n <textarea name=\"Your question\" id=\"message\" ></textarea>\r\n</p>','{$plugin:widcard:BizEmail:notag}','Success','Error','subject','0','{$plugin:widcard:BizEmail:notag}','','','0','','0',NULL,NULL,'{$plugin:widcard:BizEmail:notag}','{$plugin:widcard:BizEmail:notag}',NULL,'0',NULL); /*!40000 ALTER TABLE `form` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `form_blacklist_rules` -- DROP TABLE IF EXISTS `form_blacklist_rules`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `form_blacklist_rules` ( `id` int(10) NOT NULL AUTO_INCREMENT, `type` varchar(30) COLLATE utf8_unicode_ci NOT NULL, `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`type`,`value`), UNIQUE KEY `id` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `form_blacklist_rules` -- LOCK TABLES `form_blacklist_rules` WRITE; /*!40000 ALTER TABLE `form_blacklist_rules` DISABLE KEYS */; /*!40000 ALTER TABLE `form_blacklist_rules` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `form_page_conversion` -- DROP TABLE IF EXISTS `form_page_conversion`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `form_page_conversion` ( `page_id` int(10) unsigned NOT NULL, `form_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `conversion_code` text COLLATE utf8_unicode_ci, PRIMARY KEY (`page_id`,`form_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `form_page_conversion` -- LOCK TABLES `form_page_conversion` WRITE; /*!40000 ALTER TABLE `form_page_conversion` DISABLE KEYS */; INSERT INTO `form_page_conversion` VALUES (1,'newsletter',''),(1,'quote',''),(6,'contact',''),(7,'contact',''); /*!40000 ALTER TABLE `form_page_conversion` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `link_container` -- DROP TABLE IF EXISTS `link_container`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `link_container` ( `id_container` int(10) unsigned NOT NULL, `link` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id_container`,`link`), KEY `indContainerId` (`id_container`), KEY `indLink` (`link`), CONSTRAINT `FK_link_container` FOREIGN KEY (`id_container`) REFERENCES `container` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `link_container` -- LOCK TABLES `link_container` WRITE; /*!40000 ALTER TABLE `link_container` DISABLE KEYS */; /*!40000 ALTER TABLE `link_container` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `masks_list` -- DROP TABLE IF EXISTS `masks_list`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `masks_list` ( `country_code` char(2) COLLATE utf8_unicode_ci NOT NULL, `mask_type` enum('mobile','desktop') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'mobile', `mask_value` varchar(20) COLLATE utf8_unicode_ci NOT NULL, `full_mask_value` varchar(20) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`country_code`,`mask_type`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `masks_list` -- LOCK TABLES `masks_list` WRITE; /*!40000 ALTER TABLE `masks_list` DISABLE KEYS */; INSERT INTO `masks_list` VALUES ('AC','mobile','9999','9999'),('AC','desktop','9999','9999'),('AD','mobile','999-999','999-999'),('AD','desktop','999-999','999-999'),('AE','mobile','59-999-9999','59-999-9999'),('AE','desktop','59-999-9999','59-999-9999'),('AF','mobile','99-999-9999','99-999-9999'),('AF','desktop','99-999-9999','99-999-9999'),('AG','mobile','(268)999-9999','(268)999-9999'),('AG','desktop','(268)999-9999','(268)999-9999'),('AI','mobile','(264)999-9999','(264)999-9999'),('AI','desktop','(264)999-9999','(264)999-9999'),('AL','mobile','(999)999-999','(999)999-999'),('AL','desktop','(999)999-999','(999)999-999'),('AM','mobile','99-999-999','99-999-999'),('AM','desktop','99-999-999','99-999-999'),('AN','mobile','999-9999','999-9999'),('AN','desktop','999-9999','999-9999'),('AO','mobile','(999)999-999','(999)999-999'),('AO','desktop','(999)999-999','(999)999-999'),('AQ','mobile','199-999','199-999'),('AQ','desktop','199-999','199-999'),('AR','mobile','(999)999-9999','(999)999-9999'),('AR','desktop','(999)999-9999','(999)999-9999'),('AS','mobile','(684)999-9999','(684)999-9999'),('AS','desktop','(684)999-9999','(684)999-9999'),('AT','mobile','(999)999-9999','(999)999-9999'),('AT','desktop','(999)999-9999','(999)999-9999'),('AU','mobile','9-9999-9999','9-9999-9999'),('AU','desktop','9-9999-9999','9-9999-9999'),('AW','mobile','999-9999','999-9999'),('AW','desktop','999-9999','999-9999'),('AZ','mobile','99-999-99-99','99-999-99-99'),('AZ','desktop','99-999-99-99','99-999-99-99'),('BA','mobile','99-99999','99-99999'),('BA','desktop','99-99999','99-99999'),('BB','mobile','(246)999-9999','(246)999-9999'),('BB','desktop','(246)999-9999','(246)999-9999'),('BD','mobile','99-999-999','99-999-999'),('BD','desktop','99-999-999','99-999-999'),('BE','mobile','9 99 99 99 99','9 99 99 99 99'),('BE','desktop','9 99 99 99 99','9 99 99 99 99'),('BF','mobile','99-99-9999','99-99-9999'),('BF','desktop','99-99-9999','99-99-9999'),('BG','mobile','(999)999-999','(999)999-999'),('BG','desktop','(999)999-999','(999)999-999'),('BH','mobile','9999-9999','9999-9999'),('BH','desktop','9999-9999','9999-9999'),('BI','mobile','99-99-9999','99-99-9999'),('BI','desktop','99-99-9999','99-99-9999'),('BJ','mobile','99-99-9999','99-99-9999'),('BJ','desktop','99-99-9999','99-99-9999'),('BM','mobile','(441)999-9999','(441)999-9999'),('BM','desktop','(441)999-9999','(441)999-9999'),('BN','mobile','999-9999','999-9999'),('BN','desktop','999-9999','999-9999'),('BO','mobile','9-999-9999','9-999-9999'),('BO','desktop','9-999-9999','9-999-9999'),('BR','mobile','(99)9999-9999','(99)9999-9999'),('BR','desktop','(99)9999-9999','(99)9999-9999'),('BS','mobile','(242)999-9999','(242)999-9999'),('BS','desktop','(242)999-9999','(242)999-9999'),('BT','mobile','17-999-999','17-999-999'),('BT','desktop','17-999-999','17-999-999'),('BW','mobile','99-999-999','99-999-999'),('BW','desktop','99-999-999','99-999-999'),('BY','mobile','(99)999-99-99','(99)999-99-99'),('BY','desktop','(99)999-99-99','(99)999-99-99'),('BZ','mobile','999-9999','999-9999'),('BZ','desktop','999-9999','999-9999'),('CA','mobile','(999)999-9999','(999)999-9999'),('CA','desktop','(999)999-9999','(999)999-9999'),('CD','mobile','(999)999-999','(999)999-999'),('CD','desktop','(999)999-999','(999)999-999'),('CF','mobile','99-99-9999','99-99-9999'),('CF','desktop','99-99-9999','99-99-9999'),('CG','mobile','99-999-9999','99-999-9999'),('CG','desktop','99-999-9999','99-999-9999'),('CH','mobile','99 999 99 99','99 999 99 99'),('CH','desktop','99 999 99 99','99 999 99 99'),('CI','mobile','99-999-999','99-999-999'),('CI','desktop','99-999-999','99-999-999'),('CK','mobile','99-999','99-999'),('CK','desktop','99-999','99-999'),('CL','mobile','9-9999-9999','9-9999-9999'),('CL','desktop','9-9999-9999','9-9999-9999'),('CM','mobile','9999-9999','9999-9999'),('CM','desktop','9999-9999','9999-9999'),('CN','mobile','(999)9999-9999','(999)9999-9999'),('CN','desktop','(999)9999-9999','(999)9999-9999'),('CO','mobile','(999)999-9999','(999)999-9999'),('CO','desktop','(999)999-9999','(999)999-9999'),('CR','mobile','9999-9999','9999-9999'),('CR','desktop','9999-9999','9999-9999'),('CU','mobile','9-999-9999','9-999-9999'),('CU','desktop','9-999-9999','9-999-9999'),('CV','mobile','(999)99-99','(999)99-99'),('CV','desktop','(999)99-99','(999)99-99'),('CW','mobile','999-9999','999-9999'),('CW','desktop','999-9999','999-9999'),('CY','mobile','99-999-999','99-999-999'),('CY','desktop','99-999-999','99-999-999'),('CZ','mobile','(999)999-999','(999)999-999'),('CZ','desktop','(999)999-999','(999)999-999'),('DE','mobile','(9999)999-9999','(9999)999-9999'),('DE','desktop','(9999)999-9999','(9999)999-9999'),('DJ','mobile','99-99-99-99','99-99-99-99'),('DJ','desktop','99-99-99-99','99-99-99-99'),('DK','mobile','99-99-99-99','99-99-99-99'),('DK','desktop','99-99-99-99','99-99-99-99'),('DM','mobile','(767)999-9999','(767)999-9999'),('DM','desktop','(767)999-9999','(767)999-9999'),('DO','mobile','(809)999-9999','(809)999-9999'),('DO','desktop','(809)999-9999','(809)999-9999'),('DZ','mobile','99-999-9999','99-999-9999'),('DZ','desktop','99-999-9999','99-999-9999'),('EC','mobile','99-999-9999','99-999-9999'),('EC','desktop','99-999-9999','99-999-9999'),('EE','mobile','9999-9999','9999-9999'),('EE','desktop','9999-9999','9999-9999'),('EG','mobile','(999)999-9999','(999)999-9999'),('EG','desktop','(999)999-9999','(999)999-9999'),('ER','mobile','9-999-999','9-999-999'),('ER','desktop','9-999-999','9-999-999'),('ES','mobile','(999)999-999','(999)999-999'),('ES','desktop','(999)999-999','(999)999-999'),('ET','mobile','99-999-9999','99-999-9999'),('ET','desktop','99-999-9999','99-999-9999'),('FI','mobile','(999)999-99-99','(999)999-99-99'),('FI','desktop','(999)999-99-99','(999)999-99-99'),('FJ','mobile','99-99999','99-99999'),('FJ','desktop','99-99999','99-99999'),('FK','mobile','99999','99999'),('FK','desktop','99999','99999'),('FM','mobile','999-9999','999-9999'),('FM','desktop','999-9999','999-9999'),('FO','mobile','999-999','999-999'),('FO','desktop','999-999','999-999'),('FR','mobile','9 99 99 99 99?9','9 99 99 99 99?9'),('FR','desktop','9 99 99 99 99?9','9 99 99 99 99?9'),('GA','mobile','9-99-99-99','9-99-99-99'),('GA','desktop','9-99-99-99','9-99-99-99'),('GB','mobile','99-9999-9999?9','99-9999-9999?9'),('GB','desktop','99-9999-9999?9','99-9999-9999?9'),('GD','mobile','(473)999-9999','(473)999-9999'),('GD','desktop','(473)999-9999','(473)999-9999'),('GE','mobile','(999)999-999','(999)999-999'),('GE','desktop','(999)999-999','(999)999-999'),('GF','mobile','99999-9999','99999-9999'),('GF','desktop','99999-9999','99999-9999'),('GH','mobile','(999)999-999','(999)999-999'),('GH','desktop','(999)999-999','(999)999-999'),('GI','mobile','999-99999','999-99999'),('GI','desktop','999-99999','999-99999'),('GL','mobile','99-99-99','99-99-99'),('GL','desktop','99-99-99','99-99-99'),('GM','mobile','(999)99-99','(999)99-99'),('GM','desktop','(999)99-99','(999)99-99'),('GN','mobile','99-999-999','99-999-999'),('GN','desktop','99-999-999','99-999-999'),('GQ','mobile','99-999-9999','99-999-9999'),('GQ','desktop','99-999-9999','99-999-9999'),('GR','mobile','(999)999-9999','(999)999-9999'),('GR','desktop','(999)999-9999','(999)999-9999'),('GT','mobile','9-999-9999','9-999-9999'),('GT','desktop','9-999-9999','9-999-9999'),('GU','mobile','(671)999-9999','(671)999-9999'),('GU','desktop','(671)999-9999','(671)999-9999'),('GW','mobile','9-999999','9-999999'),('GW','desktop','9-999999','9-999999'),('GY','mobile','999-9999','999-9999'),('GY','desktop','999-9999','999-9999'),('HK','mobile','9999-9999','9999-9999'),('HK','desktop','9999-9999','9999-9999'),('HN','mobile','9999-9999','9999-9999'),('HN','desktop','9999-9999','9999-9999'),('HR','mobile','99-999-999','99-999-999'),('HR','desktop','99-999-999','99-999-999'),('HT','mobile','99-99-9999','99-99-9999'),('HT','desktop','99-99-9999','99-99-9999'),('HU','mobile','(999)999-999','(999)999-999'),('HU','desktop','(999)999-999','(999)999-999'),('ID','mobile','(899)999-9999','(899)999-9999'),('ID','desktop','(899)999-9999','(899)999-9999'),('IE','mobile','(999)999-999','(999)999-999'),('IE','desktop','(999)999-999','(999)999-999'),('IL','mobile','59-999-9999','59-999-9999'),('IL','desktop','59-999-9999','59-999-9999'),('IN','mobile','(9999)999-999','(9999)999-999'),('IN','desktop','(9999)999-999','(9999)999-999'),('IO','mobile','999-9999','999-9999'),('IO','desktop','999-9999','999-9999'),('IQ','mobile','(999)999-9999','(999)999-9999'),('IQ','desktop','(999)999-9999','(999)999-9999'),('IR','mobile','(999)999-9999','(999)999-9999'),('IR','desktop','(999)999-9999','(999)999-9999'),('IS','mobile','999-9999','999-9999'),('IS','desktop','999-9999','999-9999'),('IT','mobile','(999)9999-999','(999)9999-999'),('IT','desktop','(999)9999-999','(999)9999-999'),('JM','mobile','(876)999-9999','(876)999-9999'),('JM','desktop','(876)999-9999','(876)999-9999'),('JO','mobile','9-9999-9999','9-9999-9999'),('JO','desktop','9-9999-9999','9-9999-9999'),('JP','mobile','99-9999-9999','99-9999-9999'),('JP','desktop','99-9999-9999','99-9999-9999'),('KE','mobile','999-999999','999-999999'),('KE','desktop','999-999999','999-999999'),('KG','mobile','(999)999-999','(999)999-999'),('KG','desktop','(999)999-999','(999)999-999'),('KH','mobile','99-999-999','99-999-999'),('KH','desktop','99-999-999','99-999-999'),('KI','mobile','99-999','99-999'),('KI','desktop','99-999','99-999'),('KM','mobile','99-99999','99-99999'),('KM','desktop','99-99999','99-99999'),('KN','mobile','(869)999-9999','(869)999-9999'),('KN','desktop','(869)999-9999','(869)999-9999'),('KP','mobile','191-999-9999','191-999-9999'),('KP','desktop','191-999-9999','191-999-9999'),('KR','mobile','99-999-9999','99-999-9999'),('KR','desktop','99-999-9999','99-999-9999'),('KW','mobile','9999-9999','9999-9999'),('KW','desktop','9999-9999','9999-9999'),('KY','mobile','(345)999-9999','(345)999-9999'),('KY','desktop','(345)999-9999','(345)999-9999'),('KZ','mobile','(699)999-99-99','(699)999-99-99'),('KZ','desktop','(699)999-99-99','(699)999-99-99'),('LA','mobile','(2099)999-999','(2099)999-999'),('LA','desktop','(2099)999-999','(2099)999-999'),('LB','mobile','99-999-999','99-999-999'),('LB','desktop','99-999-999','99-999-999'),('LC','mobile','999-9999','999-9999'),('LC','desktop','999-9999','999-9999'),('LI','mobile','(999)999-9999','(999)999-9999'),('LI','desktop','(999)999-9999','(999)999-9999'),('LK','mobile','99-999-9999','99-999-9999'),('LK','desktop','99-999-9999','99-999-9999'),('LR','mobile','99-999-999','99-999-999'),('LR','desktop','99-999-999','99-999-999'),('LS','mobile','9-999-9999','9-999-9999'),('LS','desktop','9-999-9999','9-999-9999'),('LT','mobile','(999)99-999','(999)99-999'),('LT','desktop','(999)99-999','(999)99-999'),('LU','mobile','(999)999-999','(999)999-999'),('LU','desktop','(999)999-999','(999)999-999'),('LV','mobile','99-999-999','99-999-999'),('LV','desktop','99-999-999','99-999-999'),('LY','mobile','99-999-999','99-999-999'),('LY','desktop','99-999-999','99-999-999'),('MA','mobile','99-9999-999','99-9999-999'),('MA','desktop','99-9999-999','99-9999-999'),('MC','mobile','99 99 99 99','99 99 99 99'),('MC','desktop','99 99 99 99','99 99 99 99'),('MD','mobile','9999-9999','9999-9999'),('MD','desktop','9999-9999','9999-9999'),('ME','mobile','99-999-999','99-999-999'),('ME','desktop','99-999-999','99-999-999'),('MG','mobile','99-99-99999','99-99-99999'),('MG','desktop','99-99-99999','99-99-99999'),('MH','mobile','999-9999','999-9999'),('MH','desktop','999-9999','999-9999'),('MK','mobile','99-999-999','99-999-999'),('MK','desktop','99-999-999','99-999-999'),('ML','mobile','99-99-9999','99-99-9999'),('ML','desktop','99-99-9999','99-99-9999'),('MM','mobile','99-999-999','99-999-999'),('MM','desktop','99-999-999','99-999-999'),('MN','mobile','99-99-9999','99-99-9999'),('MN','desktop','99-99-9999','99-99-9999'),('MO','mobile','9999-9999','9999-9999'),('MO','desktop','9999-9999','9999-9999'),('MP','mobile','999-9999','999-9999'),('MP','desktop','999-9999','999-9999'),('MQ','mobile','(999)99-99-99','(999)99-99-99'),('MQ','desktop','(999)99-99-99','(999)99-99-99'),('MR','mobile','99-99-9999','99-99-9999'),('MR','desktop','99-99-9999','99-99-9999'),('MS','mobile','999-9999','999-9999'),('MS','desktop','999-9999','999-9999'),('MT','mobile','9999-9999','9999-9999'),('MT','desktop','9999-9999','9999-9999'),('MU','mobile','999-9999','999-9999'),('MU','desktop','999-9999','999-9999'),('MV','mobile','999-9999','999-9999'),('MV','desktop','999-9999','999-9999'),('MW','mobile','999-999','999-999'),('MW','desktop','999-999','999-999'),('MX','mobile','(999)999-9999','(999)999-9999'),('MX','desktop','(999)999-9999','(999)999-9999'),('MY','mobile','99-999-9999','99-999-9999'),('MY','desktop','99-999-9999','99-999-9999'),('MZ','mobile','99-999-999','99-999-999'),('MZ','desktop','99-999-999','99-999-999'),('NA','mobile','99-999-9999','99-999-9999'),('NA','desktop','99-999-9999','99-999-9999'),('NC','mobile','99-9999','99-9999'),('NC','desktop','99-9999','99-9999'),('NE','mobile','99-99-9999','99-99-9999'),('NE','desktop','99-99-9999','99-99-9999'),('NF','mobile','99-999','99-999'),('NF','desktop','99-999','99-999'),('NG','mobile','(999)999-9999','(999)999-9999'),('NG','desktop','(999)999-9999','(999)999-9999'),('NI','mobile','9999-9999','9999-9999'),('NI','desktop','9999-9999','9999-9999'),('NL','mobile','99-999-9999','99-999-9999'),('NL','desktop','99-999-9999','99-999-9999'),('NO','mobile','(999)99-999','(999)99-999'),('NO','desktop','(999)99-999','(999)99-999'),('NP','mobile','99-999-999','99-999-999'),('NP','desktop','99-999-999','99-999-999'),('NR','mobile','999-9999','999-9999'),('NR','desktop','999-9999','999-9999'),('NU','mobile','9999','9999'),('NU','desktop','9999','9999'),('NZ','mobile','(999)999-999','(999)999-999'),('NZ','desktop','(999)999-999','(999)999-999'),('OM','mobile','99-999-999','99-999-999'),('OM','desktop','99-999-999','99-999-999'),('PA','mobile','999-9999','999-9999'),('PA','desktop','999-9999','999-9999'),('PE','mobile','(999)999-999','(999)999-999'),('PE','desktop','(999)999-999','(999)999-999'),('PF','mobile','99-99-99','99-99-99'),('PF','desktop','99-99-99','99-99-99'),('PG','mobile','(999)99-999','(999)99-999'),('PG','desktop','(999)99-999','(999)99-999'),('PH','mobile','(999)999-9999','(999)999-9999'),('PH','desktop','(999)999-9999','(999)999-9999'),('PK','mobile','(999)999-9999','(999)999-9999'),('PK','desktop','(999)999-9999','(999)999-9999'),('PL','mobile','(999)999-999','(999)999-999'),('PL','desktop','(999)999-999','(999)999-999'),('PS','mobile','99-999-9999','99-999-9999'),('PS','desktop','99-999-9999','99-999-9999'),('PT','mobile','99-999-9999','99-999-9999'),('PT','desktop','99-999-9999','99-999-9999'),('PW','mobile','999-9999','999-9999'),('PW','desktop','999-9999','999-9999'),('PY','mobile','(999)999-999','(999)999-999'),('PY','desktop','(999)999-999','(999)999-999'),('QA','mobile','9999-9999','9999-9999'),('QA','desktop','9999-9999','9999-9999'),('RE','mobile','99999-9999','99999-9999'),('RE','desktop','99999-9999','99999-9999'),('RO','mobile','99-999-9999','99-999-9999'),('RO','desktop','99-999-9999','99-999-9999'),('RS','mobile','99-999-9999','99-999-9999'),('RS','desktop','99-999-9999','99-999-9999'),('RU','mobile','(999)999-99-99','(999)999-99-99'),('RU','desktop','(999)999-99-99','(999)999-99-99'),('RW','mobile','(999)999-999','(999)999-999'),('RW','desktop','(999)999-999','(999)999-999'),('SA','mobile','9999-9999','9999-9999'),('SA','desktop','9999-9999','9999-9999'),('SB','mobile','999-9999','999-9999'),('SB','desktop','999-9999','999-9999'),('SC','mobile','9-999-999','9-999-999'),('SC','desktop','9-999-999','9-999-999'),('SD','mobile','99-999-9999','99-999-9999'),('SD','desktop','99-999-9999','99-999-9999'),('SE','mobile','99-999-9999','99-999-9999'),('SE','desktop','99-999-9999','99-999-9999'),('SG','mobile','9999-9999','9999-9999'),('SG','desktop','9999-9999','9999-9999'),('SH','mobile','9999','9999'),('SH','desktop','9999','9999'),('SI','mobile','99-999-999','99-999-999'),('SI','desktop','99-999-999','99-999-999'),('SK','mobile','(999)999-999','(999)999-999'),('SK','desktop','(999)999-999','(999)999-999'),('SL','mobile','99-999999','99-999999'),('SL','desktop','99-999999','99-999999'),('SM','mobile','9999-999999','9999-999999'),('SM','desktop','9999-999999','9999-999999'),('SN','mobile','99-999-9999','99-999-9999'),('SN','desktop','99-999-9999','99-999-9999'),('SO','mobile','99-999-999','99-999-999'),('SO','desktop','99-999-999','99-999-999'),('SR','mobile','999-9999','999-9999'),('SR','desktop','999-9999','999-9999'),('SS','mobile','99-999-9999','99-999-9999'),('SS','desktop','99-999-9999','99-999-9999'),('ST','mobile','99-99999','99-99999'),('ST','desktop','99-99999','99-99999'),('SV','mobile','99-99-9999','99-99-9999'),('SV','desktop','99-99-9999','99-99-9999'),('SX','mobile','999-9999','999-9999'),('SX','desktop','999-9999','999-9999'),('SY','mobile','99-9999-999','99-9999-999'),('SY','desktop','99-9999-999','99-9999-999'),('SZ','mobile','99-99-9999','99-99-9999'),('SZ','desktop','99-99-9999','99-99-9999'),('TC','mobile','999-9999','999-9999'),('TC','desktop','999-9999','999-9999'),('TD','mobile','99-99-99-99','99-99-99-99'),('TD','desktop','99-99-99-99','99-99-99-99'),('TG','mobile','99-999-999','99-999-999'),('TG','desktop','99-999-999','99-999-999'),('TH','mobile','99-999-9999','99-999-9999'),('TH','desktop','99-999-9999','99-999-9999'),('TJ','mobile','99-999-9999','99-999-9999'),('TJ','desktop','99-999-9999','99-999-9999'),('TK','mobile','9999','9999'),('TK','desktop','9999','9999'),('TL','mobile','999-9999','999-9999'),('TL','desktop','999-9999','999-9999'),('TM','mobile','9-999-9999','9-999-9999'),('TM','desktop','9-999-9999','9-999-9999'),('TN','mobile','99-999-999','99-999-999'),('TN','desktop','99-999-999','99-999-999'),('TO','mobile','99999','99999'),('TO','desktop','99999','99999'),('TR','mobile','(999)999-9999','(999)999-9999'),('TR','desktop','(999)999-9999','(999)999-9999'),('TT','mobile','999-9999','999-9999'),('TT','desktop','999-9999','999-9999'),('TV','mobile','9999','9999'),('TV','desktop','9999','9999'),('TW','mobile','9-9999-9999','9-9999-9999'),('TW','desktop','9-9999-9999','9-9999-9999'),('TZ','mobile','99-999-9999','99-999-9999'),('TZ','desktop','99-999-9999','99-999-9999'),('UA','mobile','(99)999-99-99','(99)999-99-99'),('UA','desktop','(99)999-99-99','(99)999-99-99'),('UG','mobile','(999)999-999','(999)999-999'),('UG','desktop','(999)999-999','(999)999-999'),('US','mobile','(999)999-9999','(999)999-9999'),('US','desktop','(999)999-9999','(999)999-9999'),('UY','mobile','9-999-99-99','9-999-99-99'),('UY','desktop','9-999-99-99','9-999-99-99'),('UZ','mobile','99-999-9999','99-999-9999'),('UZ','desktop','99-999-9999','99-999-9999'),('VA','mobile','99999','99999'),('VA','desktop','99999','99999'),('VC','mobile','999-9999','999-9999'),('VC','desktop','999-9999','999-9999'),('VE','mobile','(999)999-9999','(999)999-9999'),('VE','desktop','(999)999-9999','(999)999-9999'),('VG','mobile','999-9999','999-9999'),('VG','desktop','999-9999','999-9999'),('VI','mobile','999-9999','999-9999'),('VI','desktop','999-9999','999-9999'),('VN','mobile','99-9999-999','99-9999-999'),('VN','desktop','99-9999-999','99-9999-999'),('VU','mobile','99-99999','99-99999'),('VU','desktop','99-99999','99-99999'),('WF','mobile','99-9999','99-9999'),('WF','desktop','99-9999','99-9999'),('WS','mobile','99-9999','99-9999'),('WS','desktop','99-9999','99-9999'),('YE','mobile','999-999-999','999-999-999'),('YE','desktop','999-999-999','999-999-999'),('ZA','mobile','99-999-9999','99-999-9999'),('ZA','desktop','99-999-9999','99-999-9999'),('ZM','mobile','99-999-9999','99-999-9999'),('ZM','desktop','99-999-9999','99-999-9999'),('ZW','mobile','9-999999','9-999999'),('ZW','desktop','9-999999','9-999999'); /*!40000 ALTER TABLE `masks_list` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `observers_queue` -- DROP TABLE IF EXISTS `observers_queue`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `observers_queue` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `observable` text COLLATE utf8_unicode_ci NOT NULL COMMENT 'Observable Class Name', `observer` text COLLATE utf8_unicode_ci NOT NULL COMMENT 'Observer Class Name', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `observers_queue` -- LOCK TABLES `observers_queue` WRITE; /*!40000 ALTER TABLE `observers_queue` DISABLE KEYS */; INSERT INTO `observers_queue` VALUES (1,'Application_Model_Models_Page','Api_Tools_PageObserver'),(2,'Models_Model_CartSession','Api_Tools_PurchaseWatchdog'),(3,'Application_Model_Models_Form','Tools_SmsServiceFormWatchdog'),(4,'Application_Model_Models_Form','Tools_MailServiceFormWatchdog'),(5,'Application_Model_Models_Form','Tools_CrmServiceFormWatchdog'),(6,'Application_Model_Models_Page','Newslog_Tools_Watchdog_Page'),(7,'Models_Model_CartSession','Quote_Tools_PurchaseWatchdog'),(8,'Models_Model_Product','PromoObserver'),(9,'Models_Model_CartSession','Cartstatusemail_Tools_CartStatusObserver'),(10,'Application_Model_Models_Form','Tools_LeadFormWatchdog'),(11,'Quote_Models_Model_Quote','Tools_LeadQuoteWatchdog'),(12,'Models_Model_Customer','Tools_LeadRegistrationWatchdog'),(13,'Application_Model_Models_User','Tools_LeadRegistrationWatchdog'),(14,'Models_Model_CartSession','Tools_LeadPurchaseWatchdog'),(15,'Downloader_Models_Model_DownloaderFilesModel','Tools_LeadDownloaderWatchdog'),(16,'Models_Model_CartSession','Api_Tools_PurchaseWatchdog'),(17,'Models_Model_Product','Tools_AllowanceObserver'),(18,'Models_Model_Product','Tools_GroupPriceObserver'),(19,'Models_Model_Product','Tools_NotifyObserver'),(20,'Newslog_Models_Model_News','Tools_NotifierNewsObserver'); /*!40000 ALTER TABLE `observers_queue` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `optimized` -- DROP TABLE IF EXISTS `optimized`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `optimized` ( `page_id` int(10) unsigned NOT NULL COMMENT 'Foreign key to page table', `url` tinytext COLLATE utf8_unicode_ci, `h1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `header_title` text COLLATE utf8_unicode_ci, `nav_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `targeted_key_phrase` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `meta_description` text COLLATE utf8_unicode_ci, `meta_keywords` text COLLATE utf8_unicode_ci, `teaser_text` text COLLATE utf8_unicode_ci, `seo_intro` text COLLATE utf8_unicode_ci, `seo_intro_target` text COLLATE utf8_unicode_ci, `status` enum('tweaked','on') COLLATE utf8_unicode_ci DEFAULT NULL, `seo_rule_id` int(10) DEFAULT NULL, `url_rule_id` int(10) DEFAULT NULL, UNIQUE KEY `page_id` (`page_id`), KEY `h1` (`h1`), KEY `status` (`status`), KEY `nav_name` (`nav_name`), KEY `url` (`url`(30)), CONSTRAINT `optimized_ibfk_1` FOREIGN KEY (`page_id`) REFERENCES `page` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `optimized` -- LOCK TABLES `optimized` WRITE; /*!40000 ALTER TABLE `optimized` DISABLE KEYS */; /*!40000 ALTER TABLE `optimized` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `page` -- DROP TABLE IF EXISTS `page`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `page` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `template_id` varchar(45) COLLATE utf8_unicode_ci NOT NULL, `parent_id` int(11) NOT NULL DEFAULT '0', `nav_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `meta_description` text COLLATE utf8_unicode_ci, `meta_keywords` text COLLATE utf8_unicode_ci, `header_title` text COLLATE utf8_unicode_ci, `h1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `teaser_text` text COLLATE utf8_unicode_ci, `last_update` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `is_404page` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `show_in_menu` enum('0','1','2') COLLATE utf8_unicode_ci DEFAULT '0', `order` int(10) unsigned DEFAULT NULL, `weight` tinyint(3) unsigned DEFAULT '0', `silo_id` int(10) unsigned DEFAULT NULL, `targeted_key_phrase` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `protected` enum('0','1') CHARACTER SET utf8 DEFAULT '0', `system` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', `draft` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', `publish_at` date DEFAULT NULL, `news` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', `err_login_landing` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', `mem_landing` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', `signup_landing` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', `checkout` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', `preview_image` text COLLATE utf8_unicode_ci COMMENT 'Page Preview Image', `external_link_status` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', `external_link` text COLLATE utf8_unicode_ci, `page_type` tinyint(3) unsigned NOT NULL DEFAULT '1', `page_folder` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `is_folder_index` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `exclude_category` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', `page_target_blank` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', `not_clickable` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `indParentId` (`parent_id`), KEY `indUrl` (`url`), KEY `indMenu` (`show_in_menu`), KEY `indOrder` (`order`), KEY `indProtected` (`protected`), KEY `draft` (`draft`), KEY `news` (`news`), KEY `nav_name` (`nav_name`), KEY `page_folder` (`page_folder`), CONSTRAINT `page_ibfk_2` FOREIGN KEY (`page_folder`) REFERENCES `page_folder` (`name`) ON DELETE SET NULL ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `page` -- LOCK TABLES `page` WRITE; /*!40000 ALTER TABLE `page` DISABLE KEYS */; INSERT INTO `page` VALUES (1,'index',0,'Home','','','Home','Home','index.html','','2012-06-20 15:30:39','0','1',0,0,NULL,'','0','0','0',NULL,'0','0','0','0','0',NULL,'0',NULL,1,NULL,'0','0','0','0'); /*!40000 ALTER TABLE `page` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `page_fa` -- DROP TABLE IF EXISTS `page_fa`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `page_fa` ( `page_id` int(10) unsigned NOT NULL, `fa_id` int(10) unsigned NOT NULL, `order` int(10) unsigned NOT NULL, PRIMARY KEY (`page_id`,`fa_id`), KEY `indPageId` (`page_id`), KEY `indFaId` (`fa_id`), KEY `indOrder` (`order`), CONSTRAINT `FK_page_fa` FOREIGN KEY (`page_id`) REFERENCES `page` (`id`) ON DELETE CASCADE, CONSTRAINT `page_fa_ibfk_1` FOREIGN KEY (`fa_id`) REFERENCES `featured_area` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `page_fa` -- LOCK TABLES `page_fa` WRITE; /*!40000 ALTER TABLE `page_fa` DISABLE KEYS */; INSERT INTO `page_fa` VALUES (41,2,0),(126,12,0),(141,13,0),(153,14,0),(167,16,0),(337,47,0),(362,54,0),(407,64,0),(609,92,0),(616,93,0),(619,94,0),(42,2,1),(127,12,1),(143,13,1),(154,14,1),(165,16,1),(571,91,1),(610,92,1),(617,93,1),(144,13,2),(155,14,2),(168,12,2),(613,92,2),(618,93,2),(43,93,3),(44,2,3),(130,12,3),(145,13,3),(156,14,3),(161,16,3),(275,41,3),(131,12,4),(146,13,4),(157,14,4),(162,16,4),(380,60,4),(39,1,5),(41,5,5),(132,12,5),(147,13,5),(158,14,5),(163,16,5),(40,1,6),(42,5,6),(133,12,6),(148,13,6),(159,14,6),(166,16,6),(134,12,7),(149,13,7),(523,86,7),(44,5,8),(126,6,8),(135,12,8),(150,13,8),(127,6,9),(136,12,9),(151,13,9),(137,12,10),(152,13,10),(131,6,11),(138,12,11),(132,6,12),(139,12,12),(133,6,13),(140,12,13),(134,6,14),(433,71,14),(135,6,15),(136,6,16),(137,6,17),(138,6,18),(139,6,19),(140,6,20),(141,6,21),(143,6,22),(144,6,23),(145,6,24),(146,6,25),(147,6,26),(148,6,27),(149,6,28),(150,6,29),(151,6,30),(152,6,31),(450,71,31),(153,6,32),(154,6,33),(155,6,34),(156,6,35),(157,6,36),(158,6,37),(159,6,38),(311,41,39),(161,6,40),(162,6,41),(163,6,42),(165,6,44),(166,6,45),(167,6,46),(168,6,47),(130,6,49); /*!40000 ALTER TABLE `page_fa` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `page_folder` -- DROP TABLE IF EXISTS `page_folder`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `page_folder` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `index_page` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`), KEY `index_page` (`index_page`), CONSTRAINT `page_folder_ibfk_4` FOREIGN KEY (`index_page`) REFERENCES `page` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `page_folder` -- LOCK TABLES `page_folder` WRITE; /*!40000 ALTER TABLE `page_folder` DISABLE KEYS */; /*!40000 ALTER TABLE `page_folder` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `page_has_option` -- DROP TABLE IF EXISTS `page_has_option`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `page_has_option` ( `page_id` int(10) unsigned NOT NULL, `option_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`page_id`,`option_id`), KEY `option_id` (`option_id`), CONSTRAINT `page_has_option_ibfk_1` FOREIGN KEY (`page_id`) REFERENCES `page` (`id`) ON DELETE CASCADE, CONSTRAINT `page_has_option_ibfk_2` FOREIGN KEY (`option_id`) REFERENCES `page_option` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `page_has_option` -- LOCK TABLES `page_has_option` WRITE; /*!40000 ALTER TABLE `page_has_option` DISABLE KEYS */; INSERT INTO `page_has_option` VALUES (111,'option_404page'),(19,'option_checkout'),(8,'option_newsindex'),(116,'option_storeclientlogin'),(661,'option_storethankyou'); /*!40000 ALTER TABLE `page_has_option` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `page_option` -- DROP TABLE IF EXISTS `page_option`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `page_option` ( `id` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `title` tinytext COLLATE utf8_unicode_ci NOT NULL, `context` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'In which context this option is used. E.g. option_newsindex used in News system context', `active` tinyint(1) NOT NULL DEFAULT '1', `option_usage` enum('once','many') COLLATE utf8_unicode_ci DEFAULT 'many', PRIMARY KEY (`id`), KEY `active` (`active`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `page_option` -- LOCK TABLES `page_option` WRITE; /*!40000 ALTER TABLE `page_option` DISABLE KEYS */; INSERT INTO `page_option` VALUES ('option_404page','Our error 404 \"Not found\" page','Seotoaster pages',1,'many'),('option_adminredirect','Page where superadmin will be redirected after login','Redirect',1,'once'),('option_checkout','The cart checkout page','Cart and checkout',1,'once'),('option_member_landing','Where members land after logging-in','Seotoaster membership',1,'once'),('option_member_loginerror','Our membership login error page','Seotoaster membership',1,'once'),('option_member_signuplanding','Where members land after signed-up','Seotoaster membership',1,'once'),('option_newsindex','News index page','News system',1,'once'),('option_newspage','News page','News system',1,'many'),('option_protected','Accessible only to logged-in members','Seotoaster pages',1,'many'),('option_quotepage','Quote page','Quote system',1,'many'),('option_quotethankyoupage','Quote \"Thank you\" page','Quote system',1,'once'),('option_search','Search landing page','Seotoaster pages',1,'once'),('option_storeclientlogin','Store client landing page','Cart and checkout',1,'once'),('option_storeshippingterms','Shipping terms and conditions','Cart and checkout',1,'once'),('option_storethankyou','Post purchase \"Thank you\" page','Cart and checkout',1,'once'); /*!40000 ALTER TABLE `page_option` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `page_types` -- DROP TABLE IF EXISTS `page_types`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `page_types` ( `page_type_id` tinyint(3) unsigned NOT NULL, `page_type_name` varchar(60) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`page_type_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `page_types` -- LOCK TABLES `page_types` WRITE; /*!40000 ALTER TABLE `page_types` DISABLE KEYS */; INSERT INTO `page_types` VALUES (1,'page'),(2,'product'),(3,'news'),(4,'quote'); /*!40000 ALTER TABLE `page_types` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `page_types_access` -- DROP TABLE IF EXISTS `page_types_access`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `page_types_access` ( `page_type_id` tinyint(3) unsigned NOT NULL, `resource_type` varchar(60) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', PRIMARY KEY (`page_type_id`,`resource_type`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `page_types_access` -- LOCK TABLES `page_types_access` WRITE; /*!40000 ALTER TABLE `page_types_access` DISABLE KEYS */; INSERT INTO `page_types_access` VALUES (1,'link_list'),(1,'list_pages'),(1,'organize_pages'),(1,'seo_pages'),(1,'sitemap_pages'),(2,'seo_pages'),(2,'sitemap_pages'),(3,'seo_pages'),(3,'sitemap_pages'); /*!40000 ALTER TABLE `page_types_access` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `password_reset_log` -- DROP TABLE IF EXISTS `password_reset_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `password_reset_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `token_hash` varchar(100) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Password reset token. Unique hash string.', `user_id` int(10) unsigned NOT NULL, `status` enum('new','used','expired') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'new' COMMENT 'Recovery link status', `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `expired_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), UNIQUE KEY `token_hash` (`token_hash`), KEY `status` (`status`), KEY `user_id` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `password_reset_log` -- LOCK TABLES `password_reset_log` WRITE; /*!40000 ALTER TABLE `password_reset_log` DISABLE KEYS */; /*!40000 ALTER TABLE `password_reset_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin` -- DROP TABLE IF EXISTS `plugin`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `status` enum('enabled','disabled') COLLATE utf8_unicode_ci DEFAULT 'disabled', `tags` text COLLATE utf8_unicode_ci COMMENT 'comma separated words', `license` blob, `version` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `indName` (`name`), KEY `indStatus` (`status`) ) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin` -- LOCK TABLES `plugin` WRITE; /*!40000 ALTER TABLE `plugin` DISABLE KEYS */; INSERT INTO `plugin` VALUES (1,'api','enabled','','','2.2.2'),(2,'apps','enabled','','','2.2.5'),(3,'netcontent','enabled','','','2.2.0'),(4,'newslog','enabled','feed','','2.2.8'),(5,'socialposter','enabled','','','2.2.0'),(7,'webbuilder','enabled','','','2.2.2'),(8,'widcard','enabled','','','2.2.3'),(9,'shopping','enabled','processphones,userupdate','','3.0.3'),(10,'cart','enabled','','','2.2.0'),(11,'quote','enabled','ecommerce,userdeleteerror,userdelete,salespermission','','2.3.8'),(12,'toasterstats','enabled','','','2.2.0'),(13,'paypal','enabled','','','2.3.4'),(14,'productonly','enabled','','','2.2.0'),(15,'promo','enabled','ecommerce,merchandising','','2.2.0'),(16,'cartstatusemail','disabled','ecommerce,merchandising','','2.3.7'),(17,'dashboard','enabled','ecommerce','','2.2.0'),(18,'delivery','enabled','','','2.2.1'),(19,'flatrateshipping','enabled','','','2.2.1'),(20,'invoicetopdf','enabled','ecommerce','','2.5.0'),(21,'crm','enabled','','','1.0.0'),(22,'emailsequence','enabled','cartstatusemail','','2.2.9'),(23,'leads','enabled','crm,hiddenemail,emaillog,userdelete,assigngroup,userupdate','','2.2.0'),(24,'toastauth','enabled','','','2.2.0'),(25,'notifier','enabled','','','3.0.2'); /*!40000 ALTER TABLE `plugin` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_apps_crm` -- DROP TABLE IF EXISTS `plugin_apps_crm`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_apps_crm` ( `id` int(11) NOT NULL AUTO_INCREMENT, `dataType` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `lists` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `additional_list` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `service` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_apps_crm` -- LOCK TABLES `plugin_apps_crm` WRITE; /*!40000 ALTER TABLE `plugin_apps_crm` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_apps_crm` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_apps_settings` -- DROP TABLE IF EXISTS `plugin_apps_settings`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_apps_settings` ( `service_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `status` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `category` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `detailed_info` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', PRIMARY KEY (`service_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_apps_settings` -- LOCK TABLES `plugin_apps_settings` WRITE; /*!40000 ALTER TABLE `plugin_apps_settings` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_apps_settings` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_apps_system_form` -- DROP TABLE IF EXISTS `plugin_apps_system_form`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_apps_system_form` ( `id` int(11) NOT NULL AUTO_INCREMENT, `form` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `lists` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `additional_list` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `service` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_apps_system_form` -- LOCK TABLES `plugin_apps_system_form` WRITE; /*!40000 ALTER TABLE `plugin_apps_system_form` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_apps_system_form` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_cartstatusemail_queue` -- DROP TABLE IF EXISTS `plugin_cartstatusemail_queue`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_cartstatusemail_queue` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `cartStatusId` int(10) NOT NULL, `status` enum('0','1','2') CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', `cartStatus` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, `cartId` int(10) NOT NULL, `type` enum('email','sms') NOT NULL DEFAULT 'email', `userEmail` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, `userFullName` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, `userPhoneNumber` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, `emailMessage` text CHARACTER SET utf8 COLLATE utf8_unicode_ci, `emailTemplate` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, `emailFrom` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, `emailFromLabel` text CHARACTER SET utf8 COLLATE utf8_unicode_ci COMMENT 'Email from label', `sentAt` datetime DEFAULT NULL, `delayDelivery` enum('0','1') DEFAULT '0', `delayedTo` datetime DEFAULT NULL, `externalId` int(10) unsigned DEFAULT NULL, `sequence_id` int(10) unsigned DEFAULT NULL, `externalType` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, `subject` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, `preheader` text CHARACTER SET utf8 COLLATE utf8_unicode_ci COMMENT 'Email preheader text is a small line of text that appears after the subject line in an email inbox.', PRIMARY KEY (`id`), KEY `externalId` (`externalId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_cartstatusemail_queue` -- LOCK TABLES `plugin_cartstatusemail_queue` WRITE; /*!40000 ALTER TABLE `plugin_cartstatusemail_queue` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_cartstatusemail_queue` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_cartstatusemail_restored_cart` -- DROP TABLE IF EXISTS `plugin_cartstatusemail_restored_cart`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_cartstatusemail_restored_cart` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `cart_id` int(10) unsigned NOT NULL COMMENT 'Restored cart id', `sent_at` datetime NOT NULL COMMENT 'sent link date', `restored_at` datetime NOT NULL COMMENT 'restored cart date', `code` char(40) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Hash for restore cart link', `user_id` int(10) unsigned NOT NULL COMMENT 'System user id', `cart_status` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Cart status', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_cartstatusemail_restored_cart` -- LOCK TABLES `plugin_cartstatusemail_restored_cart` WRITE; /*!40000 ALTER TABLE `plugin_cartstatusemail_restored_cart` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_cartstatusemail_restored_cart` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_cartstatusemail_settings` -- DROP TABLE IF EXISTS `plugin_cartstatusemail_settings`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_cartstatusemail_settings` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `cartStatus` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, `type` enum('email','sms') NOT NULL DEFAULT 'email', `period` int(4) unsigned NOT NULL, `productsIds` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, `emailTemplate` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, `emailFrom` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, `emailFromLabel` text CHARACTER SET utf8 COLLATE utf8_unicode_ci COMMENT 'Email from label', `productsRule` enum('all','any','without') CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'all', `emailMessage` text CHARACTER SET utf8 COLLATE utf8_unicode_ci, `schedulePeriod` set('sunday','monday','tuesday','wednesday','thursday','friday','saturday') NOT NULL, `schedulePeriodType` enum('operation_hours','anytime') DEFAULT 'anytime', `lagType` enum('hour','day','month') DEFAULT 'hour', `sequenceOnly` enum('0','1') DEFAULT '0', `triggerName` varchar(255) DEFAULT NULL, `subject` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, `preheader` text CHARACTER SET utf8 COLLATE utf8_unicode_ci COMMENT 'Email preheader text is a small line of text that appears after the subject line in an email inbox.', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_cartstatusemail_settings` -- LOCK TABLES `plugin_cartstatusemail_settings` WRITE; /*!40000 ALTER TABLE `plugin_cartstatusemail_settings` DISABLE KEYS */; INSERT INTO `plugin_cartstatusemail_settings` VALUES (1,'no_cart','email',1,'','NPS request system','{$leadowner:email}',NULL,'without','','sunday,monday,tuesday,wednesday,thursday,friday,saturday','anytime','hour','1','NPS request','Please share your experience with others',NULL); /*!40000 ALTER TABLE `plugin_cartstatusemail_settings` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_cartstatusemail_subscribe` -- DROP TABLE IF EXISTS `plugin_cartstatusemail_subscribe`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_cartstatusemail_subscribe` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(10) unsigned NOT NULL, `code` char(40) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Hash for unsubscribe link', `status` enum('subscribed','unsubscribed') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'subscribed', `unsubscribed_at` timestamp NULL DEFAULT NULL, `external` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `external_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_cartstatusemail_subscribe` -- LOCK TABLES `plugin_cartstatusemail_subscribe` WRITE; /*!40000 ALTER TABLE `plugin_cartstatusemail_subscribe` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_cartstatusemail_subscribe` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_cartstatusemail_subscribe_sms` -- DROP TABLE IF EXISTS `plugin_cartstatusemail_subscribe_sms`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_cartstatusemail_subscribe_sms` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(10) unsigned NOT NULL, `code` char(40) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Hash for unsubscribe link', `status` enum('subscribed','unsubscribed') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'subscribed', `unsubscribed_at` timestamp NULL DEFAULT NULL, `external` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `external_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `mobile_number` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_cartstatusemail_subscribe_sms` -- LOCK TABLES `plugin_cartstatusemail_subscribe_sms` WRITE; /*!40000 ALTER TABLE `plugin_cartstatusemail_subscribe_sms` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_cartstatusemail_subscribe_sms` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_crm_checklist` -- DROP TABLE IF EXISTS `plugin_crm_checklist`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_crm_checklist` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `checklist_status` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `closed_by` enum('automatically','manually') COLLATE utf8_unicode_ci DEFAULT NULL, `checklist_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_crm_checklist` -- LOCK TABLES `plugin_crm_checklist` WRITE; /*!40000 ALTER TABLE `plugin_crm_checklist` DISABLE KEYS */; INSERT INTO `plugin_crm_checklist` VALUES (1,'0',NULL,'leads_import'),(2,'0',NULL,'add_products_screen'),(3,'0',NULL,'paypal_account_screen'),(4,'0',NULL,'dashboard_leads_tab'),(5,'0',NULL,'create_groups'),(6,'0',NULL,'manage_users_screen'),(7,'0','automatically','mojo_registartion'),(8,'0',NULL,'imap_service'); /*!40000 ALTER TABLE `plugin_crm_checklist` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_dashboard_theme` -- DROP TABLE IF EXISTS `plugin_dashboard_theme`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_dashboard_theme` ( `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `value` text COLLATE utf8_unicode_ci, PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_dashboard_theme` -- LOCK TABLES `plugin_dashboard_theme` WRITE; /*!40000 ALTER TABLE `plugin_dashboard_theme` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_dashboard_theme` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_emailsequence_has_mms` -- DROP TABLE IF EXISTS `plugin_emailsequence_has_mms`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_emailsequence_has_mms` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `sequence_id` int(10) unsigned NOT NULL, `mms_files` text COLLATE utf8_unicode_ci, `mms_files_original_names` mediumtext COLLATE utf8_unicode_ci, PRIMARY KEY (`id`), KEY `sequence_id` (`sequence_id`), CONSTRAINT `plugin_emailsequence_has_mms_ibfk_1` FOREIGN KEY (`sequence_id`) REFERENCES `plugin_cartstatusemail_settings` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_emailsequence_has_mms` -- LOCK TABLES `plugin_emailsequence_has_mms` WRITE; /*!40000 ALTER TABLE `plugin_emailsequence_has_mms` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_emailsequence_has_mms` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_emailsequence_settings` -- DROP TABLE IF EXISTS `plugin_emailsequence_settings`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_emailsequence_settings` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `sequence_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `archive` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `sequence_name` (`sequence_name`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_emailsequence_settings` -- LOCK TABLES `plugin_emailsequence_settings` WRITE; /*!40000 ALTER TABLE `plugin_emailsequence_settings` DISABLE KEYS */; INSERT INTO `plugin_emailsequence_settings` VALUES (1,'NPS request','0'); /*!40000 ALTER TABLE `plugin_emailsequence_settings` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_emailsequence_triggers` -- DROP TABLE IF EXISTS `plugin_emailsequence_triggers`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_emailsequence_triggers` ( `sequence_settings_id` int(10) unsigned NOT NULL, `trigger_id` int(10) unsigned NOT NULL, `trigger_enabled` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', PRIMARY KEY (`sequence_settings_id`,`trigger_id`), KEY `trigger_id` (`trigger_id`), CONSTRAINT `plugin_emailsequence_triggers_ibfk_1` FOREIGN KEY (`sequence_settings_id`) REFERENCES `plugin_emailsequence_settings` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `plugin_emailsequence_triggers_ibfk_2` FOREIGN KEY (`trigger_id`) REFERENCES `plugin_cartstatusemail_settings` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_emailsequence_triggers` -- LOCK TABLES `plugin_emailsequence_triggers` WRITE; /*!40000 ALTER TABLE `plugin_emailsequence_triggers` DISABLE KEYS */; INSERT INTO `plugin_emailsequence_triggers` VALUES (1,1,'1'); /*!40000 ALTER TABLE `plugin_emailsequence_triggers` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_flatrateshipping_config` -- DROP TABLE IF EXISTS `plugin_flatrateshipping_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_flatrateshipping_config` ( `id` int(10) unsigned NOT NULL, `amount_type_limit` enum('up to','over') COLLATE utf8_unicode_ci DEFAULT NULL, `amount_limit` decimal(10,2) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_flatrateshipping_config` -- LOCK TABLES `plugin_flatrateshipping_config` WRITE; /*!40000 ALTER TABLE `plugin_flatrateshipping_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_flatrateshipping_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_flatrateshipping_zones_config` -- DROP TABLE IF EXISTS `plugin_flatrateshipping_zones_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_flatrateshipping_zones_config` ( `config_id` int(10) unsigned NOT NULL, `flatrate_zone_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `amount_zone` decimal(10,2) DEFAULT NULL, `config_zone_id` int(10) unsigned NOT NULL, PRIMARY KEY (`config_id`,`config_zone_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_flatrateshipping_zones_config` -- LOCK TABLES `plugin_flatrateshipping_zones_config` WRITE; /*!40000 ALTER TABLE `plugin_flatrateshipping_zones_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_flatrateshipping_zones_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_invoicetopdf_settings` -- DROP TABLE IF EXISTS `plugin_invoicetopdf_settings`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_invoicetopdf_settings` ( `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_invoicetopdf_settings` -- LOCK TABLES `plugin_invoicetopdf_settings` WRITE; /*!40000 ALTER TABLE `plugin_invoicetopdf_settings` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_invoicetopdf_settings` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_lead_organization` -- DROP TABLE IF EXISTS `plugin_lead_organization`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_lead_organization` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `organization_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `organization_address` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_address1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_city` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_domain` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_domain1` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_zip` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_country_code` char(2) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_state_code` varchar(3) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_employees` int(10) DEFAULT NULL, `organization_state_id` int(10) DEFAULT NULL, `customer_group_id` int(10) unsigned DEFAULT NULL, `organization_website` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_website1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `organization_industry_id` int(10) unsigned DEFAULT NULL, `organization_phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_phone_country_code` char(2) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_phone_country_code_value` varchar(4) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_phone_extension` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_mobile` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_mobile_country_code` char(2) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_mobile_country_code_value` varchar(4) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_notes` text COLLATE utf8_unicode_ci, `external_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL, `creation_type` enum('local','import','user') COLLATE utf8_unicode_ci DEFAULT 'local', `primary_contact_id` int(10) unsigned DEFAULT NULL, `first_contact_creation_date` timestamp NULL DEFAULT NULL, `address_hash` char(40) COLLATE utf8_unicode_ci NOT NULL, `lat` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `lng` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `last_coordinates_processed_date` timestamp NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), UNIQUE KEY `organization_name` (`organization_name`), UNIQUE KEY `external_id` (`external_id`), KEY `organization_industry_id` (`organization_industry_id`), KEY `customer_group_id` (`customer_group_id`), KEY `primary_contact_id` (`primary_contact_id`), CONSTRAINT `plugin_lead_organization_ibfk_1` FOREIGN KEY (`organization_industry_id`) REFERENCES `plugin_leads_industry` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT `plugin_lead_organization_ibfk_2` FOREIGN KEY (`customer_group_id`) REFERENCES `shopping_group` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT `plugin_lead_organization_ibfk_3` FOREIGN KEY (`primary_contact_id`) REFERENCES `plugin_leads_data` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_lead_organization` -- LOCK TABLES `plugin_lead_organization` WRITE; /*!40000 ALTER TABLE `plugin_lead_organization` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_lead_organization` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_action_log` -- DROP TABLE IF EXISTS `plugin_leads_action_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_action_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `type` varchar(64) COLLATE utf8_unicode_ci NOT NULL, `lead_id` int(10) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `action_type` enum('inbound','outbound') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'inbound', `additional_content` text COLLATE utf8_unicode_ci, `event_type` enum('expired','upcoming') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'expired', `lead_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `lead_id` (`lead_id`), KEY `created_at_lead_id` (`created_at`,`lead_id`), KEY `lead_id_created_at` (`lead_id`,`created_at`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_action_log` -- LOCK TABLES `plugin_leads_action_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_action_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_action_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_additional_email_log` -- DROP TABLE IF EXISTS `plugin_leads_additional_email_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_additional_email_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `email_subject` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `content` text COLLATE utf8_unicode_ci, `email_from` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `email_from_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `email_to` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `email_bcc` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `lead_id` int(10) unsigned NOT NULL, `email_status` enum('sent','opened','openattachment','received') COLLATE utf8_unicode_ci DEFAULT NULL, `email_source_type` enum('internal','external') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'internal', `external_source_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `message_id` varchar(998) COLLATE utf8_unicode_ci DEFAULT NULL, `reply_id` text COLLATE utf8_unicode_ci, `references` text COLLATE utf8_unicode_ci, `uid` int(10) unsigned DEFAULT NULL, `message_number` int(10) unsigned DEFAULT NULL, `account_id` int(10) unsigned DEFAULT NULL, `received_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `message_id` (`message_id`(255)) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_additional_email_log` -- LOCK TABLES `plugin_leads_additional_email_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_additional_email_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_additional_email_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_advertiser_account_config` -- DROP TABLE IF EXISTS `plugin_leads_advertiser_account_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_advertiser_account_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `adv_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `adv_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `adv_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `adv_status` enum('pending','connected','disconnected') COLLATE utf8_unicode_ci DEFAULT 'pending', `adv_verification_link` text COLLATE utf8_unicode_ci, `allow_delete` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '1', PRIMARY KEY (`id`), UNIQUE KEY `adv_id` (`adv_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_advertiser_account_config` -- LOCK TABLES `plugin_leads_advertiser_account_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_advertiser_account_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_advertiser_account_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_api_access_list` -- DROP TABLE IF EXISTS `plugin_leads_api_access_list`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_api_access_list` ( `api_user_id` int(10) unsigned NOT NULL, `resource` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`api_user_id`,`resource`), CONSTRAINT `plugin_leads_api_access_list_ibfk_1` FOREIGN KEY (`api_user_id`) REFERENCES `plugin_leads_users_api_access` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_api_access_list` -- LOCK TABLES `plugin_leads_api_access_list` WRITE; /*!40000 ALTER TABLE `plugin_leads_api_access_list` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_api_access_list` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_api_request_log` -- DROP TABLE IF EXISTS `plugin_leads_api_request_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_api_request_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `token` char(255) COLLATE utf8_unicode_ci NOT NULL, `request` text COLLATE utf8_unicode_ci NOT NULL, `endpoint` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `request_type` varchar(10) COLLATE utf8_unicode_ci NOT NULL, `api_user_id` int(10) unsigned NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `ip_address` varchar(45) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_api_request_log` -- LOCK TABLES `plugin_leads_api_request_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_api_request_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_api_request_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_builder_form_fields` -- DROP TABLE IF EXISTS `plugin_leads_builder_form_fields`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_builder_form_fields` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `form_id` int(10) unsigned NOT NULL, `field_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `field_label` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `field_value` mediumtext COLLATE utf8_unicode_ci, `field_data` text COLLATE utf8_unicode_ci NOT NULL, `field_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `system_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `form_id` (`form_id`), CONSTRAINT `plugin_leads_builder_form_fields_ibfk_1` FOREIGN KEY (`form_id`) REFERENCES `plugin_leads_builder_form_general_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_builder_form_fields` -- LOCK TABLES `plugin_leads_builder_form_fields` WRITE; /*!40000 ALTER TABLE `plugin_leads_builder_form_fields` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_builder_form_fields` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_builder_form_general_config` -- DROP TABLE IF EXISTS `plugin_leads_builder_form_general_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_builder_form_general_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `form_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `form_type` enum('internal','external') COLLATE utf8_unicode_ci DEFAULT 'internal', `form_title` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `form_domain` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `form_button_label` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `form_code` mediumtext COLLATE utf8_unicode_ci, `form_signature` char(40) COLLATE utf8_unicode_ci NOT NULL, `recaptcha_public_key` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `recaptcha_private_key` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `success_url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `fail_url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `sms_mobile` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Mobile numbers for sms', `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `creator_id` int(10) unsigned DEFAULT NULL, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `editor_id` int(10) unsigned DEFAULT NULL, `send_email` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `send_auto_reply` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `send_email_config` mediumtext COLLATE utf8_unicode_ci, `send_auto_reply_config` mediumtext COLLATE utf8_unicode_ci, `external_id` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'External id', PRIMARY KEY (`id`), UNIQUE KEY `form_name` (`form_name`), KEY `creator_id` (`creator_id`), KEY `editor_id` (`editor_id`), CONSTRAINT `plugin_leads_builder_form_general_config_ibfk_1` FOREIGN KEY (`creator_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_builder_form_general_config_ibfk_2` FOREIGN KEY (`editor_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_builder_form_general_config` -- LOCK TABLES `plugin_leads_builder_form_general_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_builder_form_general_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_builder_form_general_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_call_log` -- DROP TABLE IF EXISTS `plugin_leads_call_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_call_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `call_sid` varchar(34) COLLATE utf8_unicode_ci DEFAULT NULL, `creator_id` int(10) unsigned DEFAULT NULL, `type` enum('call','sms','mms') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'call', `sub_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `account_sid` varchar(34) COLLATE utf8_unicode_ci DEFAULT NULL, `caller` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, `timestamp` timestamp NULL DEFAULT NULL, `status` enum('queued','ringing','in-progress','canceled','completed','failed','busy','no-answer','sending','sent') COLLATE utf8_unicode_ci DEFAULT 'queued', `score` enum('valid','invalid','review_requested','reviewed_validated') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'valid', `link` tinytext COLLATE utf8_unicode_ci, `call_duration` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL, `action_log_id` int(10) unsigned NOT NULL, `lead_id` int(10) unsigned DEFAULT NULL, `details` text COLLATE utf8_unicode_ci, `call_source` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `receiver` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `is_voip` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `is_mms` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `mms_files` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`), KEY `action_log_id` (`action_log_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_call_log` -- LOCK TABLES `plugin_leads_call_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_call_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_call_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_clean_up_fields_log` -- DROP TABLE IF EXISTS `plugin_leads_clean_up_fields_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_clean_up_fields_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `created_at` timestamp NULL DEFAULT NULL, `logged_user_id` int(10) unsigned NOT NULL, `type` varchar(64) COLLATE utf8_unicode_ci NOT NULL, `ip_address` varchar(45) COLLATE utf8_unicode_ci NOT NULL, `deleted_items_info` mediumtext COLLATE utf8_unicode_ci, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_clean_up_fields_log` -- LOCK TABLES `plugin_leads_clean_up_fields_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_clean_up_fields_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_clean_up_fields_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_config` -- DROP TABLE IF EXISTS `plugin_leads_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_config` ( `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_config` -- LOCK TABLES `plugin_leads_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_config` DISABLE KEYS */; INSERT INTO `plugin_leads_config` VALUES ('remarketingAudiencesAdwordsProcessedCount','0'),('remarketingAudiencesAdwordsProcessedDate',''),('remarketingAudiencesFacebookProcessedCount','0'),('remarketingAudiencesFacebookProcessedDate',''); /*!40000 ALTER TABLE `plugin_leads_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_custom_tabs_config` -- DROP TABLE IF EXISTS `plugin_leads_custom_tabs_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_custom_tabs_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `tab_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Crm tab name', `tab_label` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Crm tab label', `tab_type` enum('lead','organization') COLLATE utf8_unicode_ci DEFAULT 'lead', `draggable_params_ids` text COLLATE utf8_unicode_ci COMMENT 'Draggable custom params ids', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_custom_tabs_config` -- LOCK TABLES `plugin_leads_custom_tabs_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_custom_tabs_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_custom_tabs_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_custom_tabs_has_custom_params` -- DROP TABLE IF EXISTS `plugin_leads_custom_tabs_has_custom_params`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_custom_tabs_has_custom_params` ( `tab_id` int(10) unsigned NOT NULL, `custom_param_id` int(10) unsigned NOT NULL, PRIMARY KEY (`tab_id`,`custom_param_id`), CONSTRAINT `plugin_leads_custom_tabs_has_custom_params_ibfk_1` FOREIGN KEY (`tab_id`) REFERENCES `plugin_leads_custom_tabs_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_custom_tabs_has_custom_params` -- LOCK TABLES `plugin_leads_custom_tabs_has_custom_params` WRITE; /*!40000 ALTER TABLE `plugin_leads_custom_tabs_has_custom_params` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_custom_tabs_has_custom_params` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_data` -- DROP TABLE IF EXISTS `plugin_leads_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_data` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `lead_first_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `lead_last_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `middle_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `prefix` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_secondary_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_phone_country_code` char(2) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_phone_country_code_value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_phone_extension` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_mobile` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_mobile_country_code` char(2) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_mobile_country_code_value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_source` text COLLATE utf8_unicode_ci, `lead_notes` text COLLATE utf8_unicode_ci, `lead_position` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_zip` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_city` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_address` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_address1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_ip_address` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_country_code` char(2) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_state_code` varchar(3) COLLATE utf8_unicode_ci DEFAULT NULL, `organization_id` int(10) unsigned DEFAULT NULL, `user_id` int(10) unsigned DEFAULT NULL, `owner_id` int(10) unsigned NOT NULL, `lead_type_id` int(10) unsigned DEFAULT NULL, `stage_id` int(10) unsigned DEFAULT NULL, `customer_group_id` int(10) unsigned DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `last_activity` timestamp NULL DEFAULT NULL, `last_activity_type_id` int(10) unsigned DEFAULT NULL, `external_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL, `creation_type` enum('local','import','user','api') COLLATE utf8_unicode_ci DEFAULT 'local', `use_organization_address` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', `last_activity_subtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `last_activity_outbound` timestamp NULL DEFAULT '0000-00-00 00:00:00', `score` int(10) unsigned DEFAULT NULL, `score_processed_at` timestamp NULL DEFAULT NULL, `remote_authorization_token` char(40) COLLATE utf8_unicode_ci DEFAULT NULL, `email_validated_status` enum('not_verified','valid','invalid','risky') COLLATE utf8_unicode_ci DEFAULT 'not_verified', `email_validated_date` timestamp NULL DEFAULT NULL, `email_validated_score` float DEFAULT NULL, `address_hash` char(40) COLLATE utf8_unicode_ci NOT NULL, `lat` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `lng` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `last_coordinates_processed_date` timestamp NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), UNIQUE KEY `lead_email` (`lead_email`), UNIQUE KEY `lead_mobile_country_code_value_lead_mobile` (`lead_mobile_country_code_value`,`lead_mobile`), UNIQUE KEY `lead_phone_country_code_value_lead_phone` (`lead_phone_country_code_value`,`lead_phone`), KEY `stage_id` (`stage_id`), KEY `organization_id` (`organization_id`), KEY `user_id` (`user_id`), KEY `customer_group_id` (`customer_group_id`), CONSTRAINT `plugin_leads_data_ibfk_1` FOREIGN KEY (`stage_id`) REFERENCES `plugin_leads_stage` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_data_ibfk_2` FOREIGN KEY (`organization_id`) REFERENCES `plugin_lead_organization` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_data_ibfk_3` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_data_ibfk_4` FOREIGN KEY (`customer_group_id`) REFERENCES `shopping_group` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_data` -- LOCK TABLES `plugin_leads_data` WRITE; /*!40000 ALTER TABLE `plugin_leads_data` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_data` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_documents` -- DROP TABLE IF EXISTS `plugin_leads_documents`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_documents` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `lead_id` int(10) unsigned NOT NULL, `file_stored_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Stored file name', `file_hash` char(40) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Hash for download link', `original_file_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Original file name', `display_file_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Display file name', `uploaded_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Upload date', `external_url` text COLLATE utf8_unicode_ci COMMENT 'External url', PRIMARY KEY (`id`), UNIQUE KEY `file_hash` (`file_hash`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_documents` -- LOCK TABLES `plugin_leads_documents` WRITE; /*!40000 ALTER TABLE `plugin_leads_documents` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_documents` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_downloader_log` -- DROP TABLE IF EXISTS `plugin_leads_downloader_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_downloader_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `file_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `file_path` text COLLATE utf8_unicode_ci NOT NULL, `page_url` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `action_log_id` int(10) unsigned NOT NULL, `lead_id` int(10) unsigned NOT NULL, `page_id` int(10) unsigned NOT NULL, `content` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`), KEY `action_log_id` (`action_log_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_downloader_log` -- LOCK TABLES `plugin_leads_downloader_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_downloader_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_downloader_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_email_link_attachment_log` -- DROP TABLE IF EXISTS `plugin_leads_email_link_attachment_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_email_link_attachment_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `file_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `file_folder_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `file_link` text COLLATE utf8_unicode_ci, `email_log_sent_hash` char(64) COLLATE utf8_unicode_ci NOT NULL, `file_hash` char(64) COLLATE utf8_unicode_ci NOT NULL, `source_type` enum('internal','external') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'internal', `link_type` enum('click','attachment') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'attachment', `created_datetime` datetime DEFAULT NULL, `archived` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `email_log_sent_hash_2` (`email_log_sent_hash`,`file_hash`), KEY `email_log_sent_hash` (`email_log_sent_hash`), KEY `file_hash` (`file_hash`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_email_link_attachment_log` -- LOCK TABLES `plugin_leads_email_link_attachment_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_email_link_attachment_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_email_link_attachment_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_email_log` -- DROP TABLE IF EXISTS `plugin_leads_email_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_email_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `email_subject` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `content` text COLLATE utf8_unicode_ci, `encoded_content` blob, `email_from` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `email_from_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `email_to` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `email_bcc` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `email_template` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `follow_up_sequences_id` int(10) unsigned DEFAULT NULL, `action_log_id` int(10) unsigned NOT NULL, `lead_id` int(10) unsigned NOT NULL, `email_status` enum('sent','click','opened','openattachment','received','bounce','deferred','dropped','unsubscribed') COLLATE utf8_unicode_ci DEFAULT NULL, `tracking_code` char(64) COLLATE utf8_unicode_ci DEFAULT NULL, `attachment_id` int(10) unsigned DEFAULT NULL, `email_source_type` enum('internal','external') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'internal', `external_source_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `campaign_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `list_names` text COLLATE utf8_unicode_ci, `message_id` varchar(998) COLLATE utf8_unicode_ci DEFAULT NULL, `reply_id` text COLLATE utf8_unicode_ci, `references` text COLLATE utf8_unicode_ci, `uid` int(10) unsigned DEFAULT NULL, `message_number` int(10) unsigned DEFAULT NULL, `creator_id` int(10) unsigned DEFAULT NULL, `account_id` int(10) unsigned DEFAULT NULL, `received_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `action_log_id` (`action_log_id`), KEY `tracking_code` (`tracking_code`), KEY `message_id` (`message_id`(255)), KEY `reply_id` (`reply_id`(255)), KEY `lead_id` (`lead_id`), KEY `follow_up_sequences_id` (`follow_up_sequences_id`), KEY `attachment_id` (`attachment_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_email_log` -- LOCK TABLES `plugin_leads_email_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_email_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_email_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_email_report_log` -- DROP TABLE IF EXISTS `plugin_leads_email_report_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_email_report_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(10) unsigned NOT NULL, `status` enum('processed','processing','delayed') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'processing', `sent_at_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `processed_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `user_id` (`user_id`), CONSTRAINT `plugin_leads_email_report_log_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_email_report_log` -- LOCK TABLES `plugin_leads_email_report_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_email_report_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_email_report_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_email_sequence_status` -- DROP TABLE IF EXISTS `plugin_leads_email_sequence_status`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_email_sequence_status` ( `lead_id` int(10) unsigned NOT NULL, `sequence_id` int(10) unsigned NOT NULL, `cart_status_settings_id` int(10) unsigned NOT NULL, `sequence_applied_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`sequence_id`,`cart_status_settings_id`,`lead_id`), KEY `lead_id` (`lead_id`), CONSTRAINT `plugin_leads_email_sequence_status_ibfk_1` FOREIGN KEY (`lead_id`) REFERENCES `plugin_leads_data` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_email_sequence_status` -- LOCK TABLES `plugin_leads_email_sequence_status` WRITE; /*!40000 ALTER TABLE `plugin_leads_email_sequence_status` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_email_sequence_status` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_emailsequence_ban_ips` -- DROP TABLE IF EXISTS `plugin_leads_emailsequence_ban_ips`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_emailsequence_ban_ips` ( `ip_address` varchar(45) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`ip_address`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_emailsequence_ban_ips` -- LOCK TABLES `plugin_leads_emailsequence_ban_ips` WRITE; /*!40000 ALTER TABLE `plugin_leads_emailsequence_ban_ips` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_emailsequence_ban_ips` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_event_rules_actions` -- DROP TABLE IF EXISTS `plugin_leads_event_rules_actions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_event_rules_actions` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `rule_id` int(10) unsigned NOT NULL, `action_type` enum('assign_owner','assign_task','assign_tags','assign_lifecycle','assign_sequence','assign_email_list','assign_email_copy','assign_remarketing_list') COLLATE utf8_unicode_ci DEFAULT 'assign_owner', `action_config` text COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `rule_id` (`rule_id`,`action_type`), CONSTRAINT `plugin_leads_event_rules_actions_ibfk_1` FOREIGN KEY (`rule_id`) REFERENCES `plugin_leads_event_rules_general_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_event_rules_actions` -- LOCK TABLES `plugin_leads_event_rules_actions` WRITE; /*!40000 ALTER TABLE `plugin_leads_event_rules_actions` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_event_rules_actions` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_event_rules_config` -- DROP TABLE IF EXISTS `plugin_leads_event_rules_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_event_rules_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `rule_id` int(10) unsigned NOT NULL, `field_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `rule_comparison_operator` enum('equal','notequal','like','in','greaterthan','lessthan') COLLATE utf8_unicode_ci DEFAULT 'equal', `field_value` mediumtext COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `rule_id` (`rule_id`), CONSTRAINT `plugin_leads_event_rules_config_ibfk_1` FOREIGN KEY (`rule_id`) REFERENCES `plugin_leads_event_rules_general_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_event_rules_config` -- LOCK TABLES `plugin_leads_event_rules_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_event_rules_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_event_rules_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_event_rules_general_config` -- DROP TABLE IF EXISTS `plugin_leads_event_rules_general_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_event_rules_general_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `event_id` int(10) unsigned NOT NULL, `rule_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `creator_id` int(10) unsigned DEFAULT NULL, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `editor_id` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `rule_name` (`rule_name`,`event_id`), KEY `creator_id` (`creator_id`), KEY `editor_id` (`editor_id`), KEY `event_id` (`event_id`), CONSTRAINT `plugin_leads_event_rules_general_config_ibfk_1` FOREIGN KEY (`creator_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_event_rules_general_config_ibfk_2` FOREIGN KEY (`editor_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_event_rules_general_config_ibfk_3` FOREIGN KEY (`event_id`) REFERENCES `plugin_leads_events` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_event_rules_general_config` -- LOCK TABLES `plugin_leads_event_rules_general_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_event_rules_general_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_event_rules_general_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_events` -- DROP TABLE IF EXISTS `plugin_leads_events`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_events` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `event_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `event_label` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_events` -- LOCK TABLES `plugin_leads_events` WRITE; /*!40000 ALTER TABLE `plugin_leads_events` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_events` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_events_relation` -- DROP TABLE IF EXISTS `plugin_leads_events_relation`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_events_relation` ( `event_id` int(10) unsigned NOT NULL, `external_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`event_id`,`external_id`), CONSTRAINT `plugin_leads_events_relation_ibfk_1` FOREIGN KEY (`event_id`) REFERENCES `plugin_leads_events` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_events_relation` -- LOCK TABLES `plugin_leads_events_relation` WRITE; /*!40000 ALTER TABLE `plugin_leads_events_relation` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_events_relation` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_external_notifications` -- DROP TABLE IF EXISTS `plugin_leads_external_notifications`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_external_notifications` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `status` enum('scheduled','sent','failed') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'scheduled', `lead_id` int(10) unsigned NOT NULL, `additional_info` text COLLATE utf8_unicode_ci, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_external_notifications` -- LOCK TABLES `plugin_leads_external_notifications` WRITE; /*!40000 ALTER TABLE `plugin_leads_external_notifications` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_external_notifications` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_external_notifications_endpoints` -- DROP TABLE IF EXISTS `plugin_leads_external_notifications_endpoints`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_external_notifications_endpoints` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `method_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_external_notifications_endpoints` -- LOCK TABLES `plugin_leads_external_notifications_endpoints` WRITE; /*!40000 ALTER TABLE `plugin_leads_external_notifications_endpoints` DISABLE KEYS */; INSERT INTO `plugin_leads_external_notifications_endpoints` VALUES (1,'crmLeadInfo'); /*!40000 ALTER TABLE `plugin_leads_external_notifications_endpoints` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_filter_preset` -- DROP TABLE IF EXISTS `plugin_leads_filter_preset`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_filter_preset` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `creator_id` int(10) unsigned NOT NULL, `filter_preset_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `filter_preset_data` text COLLATE utf8_unicode_ci NOT NULL, `is_default` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `filter_preset_type` enum('lead','organization') COLLATE utf8_unicode_ci DEFAULT 'lead', `access` enum('all','individual') COLLATE utf8_unicode_ci DEFAULT 'individual', PRIMARY KEY (`id`), KEY `creator_id` (`creator_id`), CONSTRAINT `plugin_leads_filter_preset_ibfk_1` FOREIGN KEY (`creator_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_filter_preset` -- LOCK TABLES `plugin_leads_filter_preset` WRITE; /*!40000 ALTER TABLE `plugin_leads_filter_preset` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_filter_preset` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_form_log` -- DROP TABLE IF EXISTS `plugin_leads_form_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_form_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `form_name` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL, `content` text COLLATE utf8_unicode_ci NOT NULL, `form_url` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `action_log_id` int(10) unsigned NOT NULL, `lead_id` int(10) unsigned NOT NULL, `form_type` enum('internal','external') COLLATE utf8_unicode_ci DEFAULT 'internal', PRIMARY KEY (`id`), KEY `action_log_id` (`action_log_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_form_log` -- LOCK TABLES `plugin_leads_form_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_form_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_form_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_form_rules_actions` -- DROP TABLE IF EXISTS `plugin_leads_form_rules_actions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_form_rules_actions` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `rule_id` int(10) unsigned NOT NULL, `action_type` enum('assign_owner','assign_task','assign_tags','assign_lifecycle','assign_sequence','assign_email_list','assign_email_copy','assign_remarketing_list') COLLATE utf8_unicode_ci DEFAULT 'assign_owner', `action_config` text COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `rule_id` (`rule_id`,`action_type`), CONSTRAINT `plugin_leads_form_rules_actions_ibfk_1` FOREIGN KEY (`rule_id`) REFERENCES `plugin_leads_form_rules_general_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_form_rules_actions` -- LOCK TABLES `plugin_leads_form_rules_actions` WRITE; /*!40000 ALTER TABLE `plugin_leads_form_rules_actions` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_form_rules_actions` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_form_rules_config` -- DROP TABLE IF EXISTS `plugin_leads_form_rules_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_form_rules_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `rule_id` int(10) unsigned NOT NULL, `field_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `rule_comparison_operator` enum('equal','notequal','like','in','greaterthan','lessthan') COLLATE utf8_unicode_ci DEFAULT 'equal', `field_value` mediumtext COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `rule_id` (`rule_id`), CONSTRAINT `plugin_leads_form_rules_config_ibfk_1` FOREIGN KEY (`rule_id`) REFERENCES `plugin_leads_form_rules_general_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_form_rules_config` -- LOCK TABLES `plugin_leads_form_rules_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_form_rules_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_form_rules_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_form_rules_general_config` -- DROP TABLE IF EXISTS `plugin_leads_form_rules_general_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_form_rules_general_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `form_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `form_type` enum('internal','external') COLLATE utf8_unicode_ci DEFAULT 'internal', `rule_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `creator_id` int(10) unsigned DEFAULT NULL, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `editor_id` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `rule_name` (`rule_name`,`form_name`,`form_type`), KEY `creator_id` (`creator_id`), KEY `editor_id` (`editor_id`), KEY `form_name` (`form_name`,`form_type`), CONSTRAINT `plugin_leads_form_rules_general_config_ibfk_1` FOREIGN KEY (`creator_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_form_rules_general_config_ibfk_2` FOREIGN KEY (`editor_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_form_rules_general_config` -- LOCK TABLES `plugin_leads_form_rules_general_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_form_rules_general_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_form_rules_general_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_has_email_sequence` -- DROP TABLE IF EXISTS `plugin_leads_has_email_sequence`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_has_email_sequence` ( `lead_id` int(10) unsigned NOT NULL, `sequence_id` int(10) unsigned NOT NULL, `sequence_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`lead_id`,`sequence_id`), KEY `sequence_id` (`sequence_id`), KEY `lead_id` (`lead_id`), CONSTRAINT `plugin_leads_has_email_sequence_ibfk_1` FOREIGN KEY (`lead_id`) REFERENCES `plugin_leads_data` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_has_email_sequence` -- LOCK TABLES `plugin_leads_has_email_sequence` WRITE; /*!40000 ALTER TABLE `plugin_leads_has_email_sequence` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_has_email_sequence` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_has_social_service` -- DROP TABLE IF EXISTS `plugin_leads_has_social_service`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_has_social_service` ( `lead_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `service_id` int(10) unsigned NOT NULL, `service_link` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`lead_id`,`service_id`), KEY `service_id` (`service_id`), CONSTRAINT `plugin_leads_has_social_service_ibfk_1` FOREIGN KEY (`service_id`) REFERENCES `plugin_leads_social_services_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_has_social_service` -- LOCK TABLES `plugin_leads_has_social_service` WRITE; /*!40000 ALTER TABLE `plugin_leads_has_social_service` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_has_social_service` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_has_tags` -- DROP TABLE IF EXISTS `plugin_leads_has_tags`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_has_tags` ( `tag_id` int(10) unsigned NOT NULL, `lead_id` int(10) unsigned NOT NULL, PRIMARY KEY (`tag_id`,`lead_id`), KEY `lead_id` (`lead_id`), CONSTRAINT `plugin_leads_has_tags_ibfk_1` FOREIGN KEY (`tag_id`) REFERENCES `plugin_leads_tags` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_has_tags_ibfk_2` FOREIGN KEY (`lead_id`) REFERENCES `plugin_leads_data` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_has_tags` -- LOCK TABLES `plugin_leads_has_tags` WRITE; /*!40000 ALTER TABLE `plugin_leads_has_tags` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_has_tags` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_hidden_opportunities` -- DROP TABLE IF EXISTS `plugin_leads_hidden_opportunities`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_hidden_opportunities` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `opportunity_id` int(10) unsigned NOT NULL, PRIMARY KEY (`id`), KEY `opportunity_id` (`opportunity_id`), CONSTRAINT `plugin_leads_hidden_opportunities_ibfk_1` FOREIGN KEY (`opportunity_id`) REFERENCES `plugin_leads_opportunity` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_hidden_opportunities` -- LOCK TABLES `plugin_leads_hidden_opportunities` WRITE; /*!40000 ALTER TABLE `plugin_leads_hidden_opportunities` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_hidden_opportunities` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_imap_config` -- DROP TABLE IF EXISTS `plugin_leads_imap_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_imap_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `service_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `owner_id` int(10) unsigned DEFAULT NULL, `host` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `encryption` enum('none','tls','ssl') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'none', `login` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `password` blob NOT NULL, `initial_data_processed` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `last_processed_date` timestamp NULL DEFAULT NULL, `process_all_emails` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `notification_sent` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_imap_config` -- LOCK TABLES `plugin_leads_imap_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_imap_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_imap_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_imap_rules_config` -- DROP TABLE IF EXISTS `plugin_leads_imap_rules_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_imap_rules_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `rule_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Rule name', `imap_config_id` int(10) unsigned NOT NULL COMMENT 'IMAP config id', `rule_email` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Rule email', `sub_rules_config` text COLLATE utf8_unicode_ci COMMENT 'Rule subrules', `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `creator_id` int(10) unsigned DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `editor_id` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`), KEY `creator_id` (`creator_id`), KEY `editor_id` (`editor_id`), KEY `imap_config_id` (`imap_config_id`), CONSTRAINT `plugin_leads_imap_rules_config_ibfk_1` FOREIGN KEY (`creator_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_imap_rules_config_ibfk_2` FOREIGN KEY (`editor_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_imap_rules_config_ibfk_3` FOREIGN KEY (`imap_config_id`) REFERENCES `plugin_leads_imap_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_imap_rules_config` -- LOCK TABLES `plugin_leads_imap_rules_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_imap_rules_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_imap_rules_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_industry` -- DROP TABLE IF EXISTS `plugin_leads_industry`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_industry` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `type` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `label` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `type` (`type`) ) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_industry` -- LOCK TABLES `plugin_leads_industry` WRITE; /*!40000 ALTER TABLE `plugin_leads_industry` DISABLE KEYS */; INSERT INTO `plugin_leads_industry` VALUES (1,'Accommodations','Accommodations'),(2,'Accounting','Accounting'),(3,'Advertising','Advertising'),(4,'Aerospace','Aerospace'),(5,'Agriculture_Agribusiness','Agriculture & Agribusiness'),(6,'Air_Transportation','Air Transportation'),(7,'Apparel_Accessories','Apparel & Accessories'),(8,'Auto','Auto'),(9,'Banking','Banking'),(10,'Beauty_Cosmetics','Beauty & Cosmetics'),(11,'Biotechnology','Biotechnology'),(12,'Chemical','Chemical'),(13,'Communications','Communications'),(14,'Computer','Computer'),(15,'Construction','Construction'),(16,'Consulting','Consulting'),(17,'Consumer Products','Consumer Products'),(18,'Education','Education'),(19,'Electronics','Electronics'),(20,'Employment','Employment'),(21,'Energy','Energy'),(22,'Entertainment_Recreation','Entertainment & Recreation'),(23,'Fashion','Fashion'),(24,'Financial_Services','Financial Services'),(25,'Fine_Arts','Fine Arts'),(26,'Food_Beverage','Food & Beverage'),(27,'Health','Health'),(28,'Information','Information'),(29,'Information_Technology','Information Technology'),(30,'Insurance','Insurance'),(31,'Journalism_News','Journalism & News'),(32,'Legal_Services','Legal Services'),(33,'Manufacturing','Manufacturing'),(34,'Media_Broadcasting','Media & Broadcasting'),(35,'Medical_Devices_Supplies','Medical Devices & Supplies'),(36,'Music','Music'),(37,'Pharmaceutical','Pharmaceutical'),(38,'Public_Administration','Public Administration'),(39,'Publishing','Publishing'),(40,'Real_Estate','Real Estate'),(41,'Retail','Retail'),(42,'Telecommunications','Telecommunications'),(43,'Tourism','Tourism'),(44,'Transportation','Transportation'),(45,'Web_Services','Web Services'); /*!40000 ALTER TABLE `plugin_leads_industry` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_internal_notifications` -- DROP TABLE IF EXISTS `plugin_leads_internal_notifications`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_internal_notifications` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `status` enum('scheduled','sent','failed') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'scheduled', `lead_id` int(10) unsigned NOT NULL, `additional_info` text COLLATE utf8_unicode_ci, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_internal_notifications` -- LOCK TABLES `plugin_leads_internal_notifications` WRITE; /*!40000 ALTER TABLE `plugin_leads_internal_notifications` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_internal_notifications` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_ip_user_profile_log` -- DROP TABLE IF EXISTS `plugin_leads_ip_user_profile_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_ip_user_profile_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `visit_ip_address` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL, `website_id` int(10) unsigned NOT NULL, `id_visit` int(10) unsigned NOT NULL, `piwik_id_website` int(10) unsigned NOT NULL, `visitor_id` char(16) COLLATE utf8_unicode_ci NOT NULL, `goal_conversions` int(10) unsigned DEFAULT '0', `site_currency` char(3) COLLATE utf8_unicode_ci DEFAULT NULL, `server_date` date DEFAULT NULL, `piwik_user_id` int(10) unsigned DEFAULT NULL, `last_action_date_time` datetime DEFAULT NULL, `visitor_type` enum('new','returning') COLLATE utf8_unicode_ci DEFAULT 'new', `visit_converted` enum('yes','no') COLLATE utf8_unicode_ci DEFAULT 'no', `visit_count` int(10) unsigned DEFAULT '0', `first_action_timestamp` datetime DEFAULT NULL, `visit_ecommerce_status` enum('none','ordered','abandonedCart','orderedThenAbandonedCart') COLLATE utf8_unicode_ci DEFAULT 'none', `days_since_first_visit` smallint(6) unsigned DEFAULT '0', `days_since_last_ecommerce_order` int(10) unsigned DEFAULT '0', `visit_duration` int(10) unsigned DEFAULT '0', `searches` int(10) unsigned DEFAULT '0', `actions` int(10) unsigned DEFAULT '0', `referrer_type` enum('search','direct','website','campaign') COLLATE utf8_unicode_ci DEFAULT 'search', `referrer_type_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `referrer_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `referrer_keyword` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `referrer_keyword_position` int(10) unsigned DEFAULT '0', `referrer_url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `referrer_search_engine_url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `language_code` char(5) COLLATE utf8_unicode_ci DEFAULT NULL, `device_type` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `device_brand` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `device_model` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `operating_system` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `operating_system_name` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, `operating_system_code` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, `operating_system_version` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, `browser_family` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL, `browser_family_description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `browser` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `browser_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `browser_code` char(2) COLLATE utf8_unicode_ci DEFAULT NULL, `browser_version` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL, `events` int(10) unsigned DEFAULT '0', `continent_code` char(3) COLLATE utf8_unicode_ci DEFAULT NULL, `country_code` char(2) COLLATE utf8_unicode_ci DEFAULT NULL, `region` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `city` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `location` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `latitude` decimal(10,8) DEFAULT NULL, `longitude` decimal(11,8) DEFAULT NULL, `server_timestamp` datetime DEFAULT NULL, `resolution` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, `lead_id` int(10) unsigned NOT NULL, `days_since_last_visit` smallint(6) unsigned DEFAULT '0', `action_log_id` int(10) unsigned NOT NULL, PRIMARY KEY (`id`), KEY `action_log_id` (`action_log_id`), KEY `lead_id` (`lead_id`), CONSTRAINT `plugin_leads_ip_user_profile_log_ibfk_1` FOREIGN KEY (`lead_id`) REFERENCES `plugin_leads_data` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_ip_user_profile_log` -- LOCK TABLES `plugin_leads_ip_user_profile_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_ip_user_profile_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_ip_user_profile_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_ip_user_profile_log_actions_details` -- DROP TABLE IF EXISTS `plugin_leads_ip_user_profile_log_actions_details`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_ip_user_profile_log_actions_details` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `domain_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `page_url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `page_title` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `time_spent` int(10) unsigned DEFAULT NULL, `page_generation_time` decimal(10,2) DEFAULT '0.00', `page_id_action` int(10) unsigned DEFAULT '0', `user_profile_log_id` int(10) unsigned NOT NULL, `action_datetime` datetime DEFAULT NULL, PRIMARY KEY (`id`), KEY `user_profile_log_id` (`user_profile_log_id`), CONSTRAINT `plugin_leads_ip_user_profile_log_actions_details_ibfk_1` FOREIGN KEY (`user_profile_log_id`) REFERENCES `plugin_leads_ip_user_profile_log` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_ip_user_profile_log_actions_details` -- LOCK TABLES `plugin_leads_ip_user_profile_log_actions_details` WRITE; /*!40000 ALTER TABLE `plugin_leads_ip_user_profile_log_actions_details` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_ip_user_profile_log_actions_details` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_ips` -- DROP TABLE IF EXISTS `plugin_leads_ips`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_ips` ( `lead_id` int(10) unsigned NOT NULL, `lead_ip_address` varchar(45) COLLATE utf8_unicode_ci NOT NULL, `ip_quantity` int(10) unsigned NOT NULL, PRIMARY KEY (`lead_id`,`lead_ip_address`), CONSTRAINT `plugin_leads_ips_ibfk_1` FOREIGN KEY (`lead_id`) REFERENCES `plugin_leads_data` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_ips` -- LOCK TABLES `plugin_leads_ips` WRITE; /*!40000 ALTER TABLE `plugin_leads_ips` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_ips` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_last_viewed` -- DROP TABLE IF EXISTS `plugin_leads_last_viewed`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_last_viewed` ( `id` int(10) unsigned NOT NULL, `lead_type` enum('lead','organization') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'lead', `user_id` int(10) unsigned NOT NULL, `viewed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`,`lead_type`,`user_id`,`viewed_at`), KEY `user_id` (`user_id`), CONSTRAINT `plugin_leads_last_viewed_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_last_viewed` -- LOCK TABLES `plugin_leads_last_viewed` WRITE; /*!40000 ALTER TABLE `plugin_leads_last_viewed` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_last_viewed` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_lead_custom_params_config` -- DROP TABLE IF EXISTS `plugin_leads_lead_custom_params_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_lead_custom_params_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `param_type` enum('text','date','input','checkbox','select','radio') COLLATE utf8_unicode_ci DEFAULT 'input', `param_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `label` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `param_type` (`param_type`,`param_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_lead_custom_params_config` -- LOCK TABLES `plugin_leads_lead_custom_params_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_lead_custom_params_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_lead_custom_params_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_lead_custom_params_data` -- DROP TABLE IF EXISTS `plugin_leads_lead_custom_params_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_lead_custom_params_data` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `param_id` int(10) unsigned NOT NULL, `lead_id` int(10) unsigned NOT NULL, `param_value` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `params_option_id` int(10) DEFAULT NULL, PRIMARY KEY (`id`), KEY `param_id` (`param_id`), KEY `lead_id` (`lead_id`), CONSTRAINT `plugin_leads_lead_custom_params_data_ibfk_1` FOREIGN KEY (`param_id`) REFERENCES `plugin_leads_lead_custom_params_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_lead_custom_params_data_ibfk_2` FOREIGN KEY (`lead_id`) REFERENCES `plugin_leads_data` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_lead_custom_params_data` -- LOCK TABLES `plugin_leads_lead_custom_params_data` WRITE; /*!40000 ALTER TABLE `plugin_leads_lead_custom_params_data` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_lead_custom_params_data` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_lead_custom_params_options_data` -- DROP TABLE IF EXISTS `plugin_leads_lead_custom_params_options_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_lead_custom_params_options_data` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `custom_param_id` int(10) unsigned NOT NULL, `option_value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `fk_plugin_leads_lead_custom_params_options_data_plugin_lead_idx` (`custom_param_id`), CONSTRAINT `fk_plugin_leads_lead_custom_params_options_data_plugin_leads_1` FOREIGN KEY (`custom_param_id`) REFERENCES `plugin_leads_lead_custom_params_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_lead_custom_params_options_data` -- LOCK TABLES `plugin_leads_lead_custom_params_options_data` WRITE; /*!40000 ALTER TABLE `plugin_leads_lead_custom_params_options_data` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_lead_custom_params_options_data` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_mass_actions_queue` -- DROP TABLE IF EXISTS `plugin_leads_mass_actions_queue`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_mass_actions_queue` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `creator_id` int(10) unsigned DEFAULT NULL, `type` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Name of mass action', `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Record added to queue date', `process_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'To process item', `processed_at` timestamp NULL DEFAULT NULL COMMENT 'Processed at item', `delayed_to` timestamp NULL DEFAULT NULL COMMENT 'Delayed to item', `lead_ids` mediumtext COLLATE utf8_unicode_ci, `status` enum('new','processing','delayed','processed','error') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'new', `processed_leads` int(10) unsigned DEFAULT NULL, `not_processed_leads` int(10) unsigned DEFAULT NULL, `additional_data` text COLLATE utf8_unicode_ci, `error_info` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_mass_actions_queue` -- LOCK TABLES `plugin_leads_mass_actions_queue` WRITE; /*!40000 ALTER TABLE `plugin_leads_mass_actions_queue` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_mass_actions_queue` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_meeting` -- DROP TABLE IF EXISTS `plugin_leads_meeting`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_meeting` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `lead_id` int(10) unsigned NOT NULL, `start_time_date` timestamp NULL DEFAULT NULL, `end_time_date` timestamp NULL DEFAULT NULL, `location` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `invite_attendees` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `period` enum('all_day','fixed') COLLATE utf8_unicode_ci DEFAULT 'fixed', `subject` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `details` text COLLATE utf8_unicode_ci, `google_calendar` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `creator_id` int(10) unsigned NOT NULL, `first_notification_is_sent` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `second_notification_is_sent` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `send_notification_sms` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `send_sms` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `first_notification_date` timestamp NULL DEFAULT NULL, `second_notification_date` timestamp NULL DEFAULT NULL, `first_notification_sent_date` timestamp NULL DEFAULT NULL, `second_notification_sent_date` timestamp NULL DEFAULT NULL, `meeting_type` enum('auto','manual') COLLATE utf8_unicode_ci DEFAULT 'auto', `additional_notes` text COLLATE utf8_unicode_ci, `status` enum('no_show','rescheduled','completed') COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `lead_id` (`lead_id`), CONSTRAINT `plugin_leads_meeting_ibfk_1` FOREIGN KEY (`lead_id`) REFERENCES `plugin_leads_data` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_meeting` -- LOCK TABLES `plugin_leads_meeting` WRITE; /*!40000 ALTER TABLE `plugin_leads_meeting` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_meeting` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_meeting_log` -- DROP TABLE IF EXISTS `plugin_leads_meeting_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_meeting_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `start_time_date` timestamp NULL DEFAULT NULL, `end_time_date` timestamp NULL DEFAULT NULL, `location` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `invite_attendees` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `period` enum('all_day','fixed') COLLATE utf8_unicode_ci DEFAULT 'fixed', `subject` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `details` text COLLATE utf8_unicode_ci, `google_calendar` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `action_log_id` int(10) unsigned NOT NULL, `meeting_status` enum('created','finished','upcoming') COLLATE utf8_unicode_ci DEFAULT 'created', `meeting_id` int(10) unsigned NOT NULL, `creator_id` int(10) unsigned NOT NULL, `lead_id` int(10) unsigned NOT NULL, `additional_content` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`), KEY `action_log_id` (`action_log_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_meeting_log` -- LOCK TABLES `plugin_leads_meeting_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_meeting_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_meeting_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_mobile_app_config` -- DROP TABLE IF EXISTS `plugin_leads_mobile_app_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_mobile_app_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(10) unsigned DEFAULT NULL, `login` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `password` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `status` enum('enabled','disabled') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'enabled', `social_app_status` enum('enabled','disabled') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'enabled', `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), UNIQUE KEY `login` (`login`), KEY `user_id` (`user_id`), CONSTRAINT `plugin_leads_mobile_app_config_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_mobile_app_config` -- LOCK TABLES `plugin_leads_mobile_app_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_mobile_app_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_mobile_app_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_notes` -- DROP TABLE IF EXISTS `plugin_leads_notes`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_notes` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `note` text COLLATE utf8_unicode_ci, `lead_id` int(10) unsigned NOT NULL, `date_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `user_id` int(10) unsigned NOT NULL, PRIMARY KEY (`id`), KEY `lead_id` (`lead_id`), CONSTRAINT `plugin_leads_notes_ibfk_1` FOREIGN KEY (`lead_id`) REFERENCES `plugin_leads_data` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_notes` -- LOCK TABLES `plugin_leads_notes` WRITE; /*!40000 ALTER TABLE `plugin_leads_notes` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_notes` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_opportunity` -- DROP TABLE IF EXISTS `plugin_leads_opportunity`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_opportunity` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `opportunity_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `opportunity_stage_id` int(10) unsigned NOT NULL, `opportunity_value` decimal(10,2) DEFAULT NULL, `expected_close_date` timestamp NULL DEFAULT NULL, `creator_id` int(10) unsigned DEFAULT NULL, `lead_id` int(10) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `change_stage_date` timestamp NULL DEFAULT NULL, `opportunity_type_id` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `opportunity_name` (`opportunity_name`,`opportunity_stage_id`,`lead_id`), KEY `opportunity_stage_id` (`opportunity_stage_id`), KEY `creator_id` (`creator_id`), KEY `lead_id` (`lead_id`), CONSTRAINT `plugin_leads_opportunity_ibfk_1` FOREIGN KEY (`opportunity_stage_id`) REFERENCES `plugin_leads_opportunity_stage` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_opportunity_ibfk_2` FOREIGN KEY (`creator_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_opportunity_ibfk_3` FOREIGN KEY (`lead_id`) REFERENCES `plugin_leads_data` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_opportunity` -- LOCK TABLES `plugin_leads_opportunity` WRITE; /*!40000 ALTER TABLE `plugin_leads_opportunity` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_opportunity` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_opportunity_quote` -- DROP TABLE IF EXISTS `plugin_leads_opportunity_quote`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_opportunity_quote` ( `quote_id` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `opportunity_id` int(10) unsigned NOT NULL, `lead_id` int(10) unsigned NOT NULL, `cart_id` int(10) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`quote_id`,`opportunity_id`), KEY `lead_id` (`lead_id`), KEY `opportunity_id` (`opportunity_id`), CONSTRAINT `plugin_leads_opportunity_quote_ibfk_1` FOREIGN KEY (`lead_id`) REFERENCES `plugin_leads_data` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_opportunity_quote_ibfk_2` FOREIGN KEY (`quote_id`) REFERENCES `shopping_quote` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_opportunity_quote_ibfk_3` FOREIGN KEY (`opportunity_id`) REFERENCES `plugin_leads_opportunity` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_opportunity_quote` -- LOCK TABLES `plugin_leads_opportunity_quote` WRITE; /*!40000 ALTER TABLE `plugin_leads_opportunity_quote` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_opportunity_quote` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_opportunity_stage` -- DROP TABLE IF EXISTS `plugin_leads_opportunity_stage`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_opportunity_stage` ( `id` int(10) unsigned NOT NULL, `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `default` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_opportunity_stage` -- LOCK TABLES `plugin_leads_opportunity_stage` WRITE; /*!40000 ALTER TABLE `plugin_leads_opportunity_stage` DISABLE KEYS */; INSERT INTO `plugin_leads_opportunity_stage` VALUES (1,'Lost','0'),(10,'Unqualified','0'),(20,'Needs assessment','0'),(30,'Qualified','0'),(40,'Meeting set','0'),(50,'Meeting held','0'),(60,'Proposal sent','0'),(70,'Proposal acknowledged','0'),(80,'Objections raised','0'),(90,'Objections overcame','0'),(100,'Won','0'); /*!40000 ALTER TABLE `plugin_leads_opportunity_stage` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_opportunity_type` -- DROP TABLE IF EXISTS `plugin_leads_opportunity_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_opportunity_type` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `type_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `type_label` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_opportunity_type` -- LOCK TABLES `plugin_leads_opportunity_type` WRITE; /*!40000 ALTER TABLE `plugin_leads_opportunity_type` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_opportunity_type` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_organization_custom_params_config` -- DROP TABLE IF EXISTS `plugin_leads_organization_custom_params_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_organization_custom_params_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `param_type` enum('text','date','input','checkbox','select','radio') COLLATE utf8_unicode_ci DEFAULT 'input', `param_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `label` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `param_type` (`param_type`,`param_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_organization_custom_params_config` -- LOCK TABLES `plugin_leads_organization_custom_params_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_organization_custom_params_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_organization_custom_params_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_organization_custom_params_data` -- DROP TABLE IF EXISTS `plugin_leads_organization_custom_params_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_organization_custom_params_data` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `param_id` int(10) unsigned NOT NULL, `organization_id` int(10) unsigned NOT NULL, `param_value` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `params_option_id` int(10) DEFAULT NULL, PRIMARY KEY (`id`), KEY `param_id` (`param_id`), KEY `organization_id` (`organization_id`), CONSTRAINT `plugin_leads_organization_custom_params_data_ibfk_1` FOREIGN KEY (`param_id`) REFERENCES `plugin_leads_organization_custom_params_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_organization_custom_params_data_ibfk_2` FOREIGN KEY (`organization_id`) REFERENCES `plugin_lead_organization` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_organization_custom_params_data` -- LOCK TABLES `plugin_leads_organization_custom_params_data` WRITE; /*!40000 ALTER TABLE `plugin_leads_organization_custom_params_data` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_organization_custom_params_data` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_organization_custom_params_options_data` -- DROP TABLE IF EXISTS `plugin_leads_organization_custom_params_options_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_organization_custom_params_options_data` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `custom_param_id` int(10) unsigned NOT NULL, `option_value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `fk_plugin_leads_organ_custom_params_options_data_plugin_lead_idx` (`custom_param_id`), CONSTRAINT `fk_plugin_leads_organ_custom_params_options_data_plugin_leads_1` FOREIGN KEY (`custom_param_id`) REFERENCES `plugin_leads_organization_custom_params_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_organization_custom_params_options_data` -- LOCK TABLES `plugin_leads_organization_custom_params_options_data` WRITE; /*!40000 ALTER TABLE `plugin_leads_organization_custom_params_options_data` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_organization_custom_params_options_data` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_organization_documents` -- DROP TABLE IF EXISTS `plugin_leads_organization_documents`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_organization_documents` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `organization_id` int(10) unsigned NOT NULL, `file_stored_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Stored file name', `file_hash` char(40) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Hash for download link', `original_file_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Original file name', `display_file_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Display file name', `uploaded_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Upload date', PRIMARY KEY (`id`), UNIQUE KEY `file_hash` (`file_hash`), KEY `organization_id` (`organization_id`), CONSTRAINT `plugin_leads_organization_documents_ibfk_1` FOREIGN KEY (`organization_id`) REFERENCES `plugin_lead_organization` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_organization_documents` -- LOCK TABLES `plugin_leads_organization_documents` WRITE; /*!40000 ALTER TABLE `plugin_leads_organization_documents` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_organization_documents` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_organize_custom_fields_config` -- DROP TABLE IF EXISTS `plugin_leads_organize_custom_fields_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_organize_custom_fields_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `draggable_params_ids` text COLLATE utf8_unicode_ci COMMENT 'Draggable custom params ids', PRIMARY KEY (`id`), UNIQUE KEY `type` (`type`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_organize_custom_fields_config` -- LOCK TABLES `plugin_leads_organize_custom_fields_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_organize_custom_fields_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_organize_custom_fields_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_owner_goals` -- DROP TABLE IF EXISTS `plugin_leads_owner_goals`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_owner_goals` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(10) unsigned NOT NULL, `quote_objective` int(10) unsigned NOT NULL, `quotes_amount` int(10) unsigned NOT NULL, `meetings_held` int(10) unsigned NOT NULL, `calls_placed` int(10) unsigned NOT NULL, `emails_sent` int(10) unsigned NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `user_id` (`user_id`), CONSTRAINT `plugin_leads_owner_goals_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_owner_goals` -- LOCK TABLES `plugin_leads_owner_goals` WRITE; /*!40000 ALTER TABLE `plugin_leads_owner_goals` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_owner_goals` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_owner_goals_opportunities` -- DROP TABLE IF EXISTS `plugin_leads_owner_goals_opportunities`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_owner_goals_opportunities` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `owner_goals_id` int(10) unsigned NOT NULL, `opportunity_amount` int(10) unsigned NOT NULL, `opportunity_count` int(10) unsigned NOT NULL, `opportunity_type_id` int(10) unsigned NOT NULL, PRIMARY KEY (`id`), KEY `owner_goals_id` (`owner_goals_id`), KEY `opportunity_type_id` (`opportunity_type_id`), CONSTRAINT `plugin_leads_owner_goals_opportunities_ibfk_1` FOREIGN KEY (`owner_goals_id`) REFERENCES `plugin_leads_owner_goals` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_owner_goals_opportunities_ibfk_2` FOREIGN KEY (`opportunity_type_id`) REFERENCES `plugin_leads_opportunity_type` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_owner_goals_opportunities` -- LOCK TABLES `plugin_leads_owner_goals_opportunities` WRITE; /*!40000 ALTER TABLE `plugin_leads_owner_goals_opportunities` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_owner_goals_opportunities` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_products` -- DROP TABLE IF EXISTS `plugin_leads_products`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_products` ( `lead_id` int(10) unsigned NOT NULL, `product_id` int(10) unsigned NOT NULL, PRIMARY KEY (`lead_id`,`product_id`), KEY `product_id` (`product_id`), CONSTRAINT `plugin_leads_products_ibfk_1` FOREIGN KEY (`lead_id`) REFERENCES `plugin_leads_data` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_products_ibfk_2` FOREIGN KEY (`product_id`) REFERENCES `shopping_product` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_products` -- LOCK TABLES `plugin_leads_products` WRITE; /*!40000 ALTER TABLE `plugin_leads_products` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_products` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_purchase_log` -- DROP TABLE IF EXISTS `plugin_leads_purchase_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_purchase_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `cart_id` int(10) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `action_log_id` int(10) unsigned NOT NULL, `lead_id` int(10) unsigned NOT NULL, `status` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, `total` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT 'Sub Total + Total Tax + Shipping', `is_partial` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `is_manually_paid` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `partially_paid_amount` decimal(10,2) NOT NULL DEFAULT '0.00', `signed_only_by` int(10) unsigned DEFAULT '0', `gateway` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `action_log_id` (`action_log_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_purchase_log` -- LOCK TABLES `plugin_leads_purchase_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_purchase_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_purchase_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_quote_log` -- DROP TABLE IF EXISTS `plugin_leads_quote_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_quote_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `quote_id` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `status` enum('new','sent','sold','lost','deleted','signature_only_signed') COLLATE utf8_unicode_ci DEFAULT 'new', `created_at` timestamp NULL DEFAULT NULL, `action_log_id` int(10) unsigned NOT NULL, `creator_id` int(10) unsigned DEFAULT NULL, `quote_link` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `quote_action_type` enum('view','change','deleted') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'change', `lead_id` int(10) unsigned NOT NULL, `quote_sent` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', `total` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT 'Sub Total + Total Tax + Shipping', `is_deleted` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `deleted_by` int(10) unsigned DEFAULT NULL, `force_display` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `signed_only_by` int(10) unsigned DEFAULT '0', PRIMARY KEY (`id`), KEY `action_log_id` (`action_log_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_quote_log` -- LOCK TABLES `plugin_leads_quote_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_quote_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_quote_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_registration_log` -- DROP TABLE IF EXISTS `plugin_leads_registration_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_registration_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `first_name` text COLLATE utf8_unicode_ci, `last_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `mobile` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `action_log_id` int(10) unsigned NOT NULL, `lead_id` int(10) unsigned NOT NULL, `user_role` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL, `user_id` int(10) unsigned DEFAULT NULL, `registration_page_url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `registration_page_id` int(10) unsigned NOT NULL, PRIMARY KEY (`id`), KEY `action_log_id` (`action_log_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_registration_log` -- LOCK TABLES `plugin_leads_registration_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_registration_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_registration_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_remarketing_audiences` -- DROP TABLE IF EXISTS `plugin_leads_remarketing_audiences`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_remarketing_audiences` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `type` enum('facebook','adwords') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'facebook', `action` enum('add','remove') COLLATE utf8_unicode_ci DEFAULT 'add', `audience_id` text COLLATE utf8_unicode_ci NOT NULL, `list_content` longtext COLLATE utf8_unicode_ci, `additional_info` text COLLATE utf8_unicode_ci, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_remarketing_audiences` -- LOCK TABLES `plugin_leads_remarketing_audiences` WRITE; /*!40000 ALTER TABLE `plugin_leads_remarketing_audiences` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_remarketing_audiences` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_review_request` -- DROP TABLE IF EXISTS `plugin_leads_review_request`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_review_request` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `review_token` char(40) COLLATE utf8_unicode_ci NOT NULL, `lead_id` int(10) unsigned NOT NULL, `status` enum('sent','reviewed') COLLATE utf8_unicode_ci DEFAULT 'sent', `review_status` enum('sent','reviewed') COLLATE utf8_unicode_ci DEFAULT NULL, `score` tinyint(4) NOT NULL DEFAULT '0', `sent_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `reviewed_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `review_request_sent_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `request_reviewed_facebook_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `request_reviewed_gmb_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), UNIQUE KEY `review_token` (`review_token`), KEY `pllr_special_index` (`lead_id`,`score`,`reviewed_at`,`sent_at`,`status`,`review_request_sent_at`,`request_reviewed_facebook_date`,`request_reviewed_gmb_date`,`review_status`), CONSTRAINT `plugin_leads_review_request_ibfk_1` FOREIGN KEY (`lead_id`) REFERENCES `plugin_leads_data` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_review_request` -- LOCK TABLES `plugin_leads_review_request` WRITE; /*!40000 ALTER TABLE `plugin_leads_review_request` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_review_request` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_score_rules_config` -- DROP TABLE IF EXISTS `plugin_leads_score_rules_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_score_rules_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `rule_id` int(10) unsigned NOT NULL, `rule_type` enum('lead_attribute','organization_attribute','action_type','lead_opportunities','lead_custom_attributes','organization_custom_attributes','form_name') COLLATE utf8_unicode_ci DEFAULT 'lead_attribute', `rule_subtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `field_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `rule_comparison_operator` enum('equal','notequal','like','in','greaterthan','lessthan','notin') COLLATE utf8_unicode_ci DEFAULT 'equal', `field_value` mediumtext COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `rule_id` (`rule_id`), CONSTRAINT `plugin_leads_score_rules_config_ibfk_1` FOREIGN KEY (`rule_id`) REFERENCES `plugin_leads_score_rules_general_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_score_rules_config` -- LOCK TABLES `plugin_leads_score_rules_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_score_rules_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_score_rules_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_score_rules_general_config` -- DROP TABLE IF EXISTS `plugin_leads_score_rules_general_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_score_rules_general_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `rule_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `creator_id` int(10) unsigned DEFAULT NULL, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `editor_id` int(10) unsigned DEFAULT NULL, `score` int(10) unsigned NOT NULL, `score_sign` enum('+','-') COLLATE utf8_unicode_ci DEFAULT '+', PRIMARY KEY (`id`), UNIQUE KEY `rule_name` (`rule_name`), KEY `creator_id` (`creator_id`), KEY `editor_id` (`editor_id`), CONSTRAINT `plugin_leads_score_rules_general_config_ibfk_1` FOREIGN KEY (`creator_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_score_rules_general_config_ibfk_2` FOREIGN KEY (`editor_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_score_rules_general_config` -- LOCK TABLES `plugin_leads_score_rules_general_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_score_rules_general_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_score_rules_general_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_score_rules_log` -- DROP TABLE IF EXISTS `plugin_leads_score_rules_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_score_rules_log` ( `lead_id` int(10) unsigned NOT NULL, `rule_id` int(10) unsigned NOT NULL, PRIMARY KEY (`lead_id`,`rule_id`), CONSTRAINT `plugin_leads_score_rules_log_ibfk_1` FOREIGN KEY (`lead_id`) REFERENCES `plugin_leads_data` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_score_rules_log` -- LOCK TABLES `plugin_leads_score_rules_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_score_rules_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_score_rules_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_social_services_config` -- DROP TABLE IF EXISTS `plugin_leads_social_services_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_social_services_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `service_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `service_label` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `image_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `service_name` (`service_name`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_social_services_config` -- LOCK TABLES `plugin_leads_social_services_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_social_services_config` DISABLE KEYS */; INSERT INTO `plugin_leads_social_services_config` VALUES (1,'twitter','twitter','icon-twitter.png'),(2,'linkedin','linkedin','icon-linkedin.png'),(3,'facebook','facebook','icon-facebook.png'),(4,'instagram','instagram','icon-instagram.png'),(5,'gmb','google my business','icon-gmb.png'),(6,'pinterest','pinterest','pinterest.png'); /*!40000 ALTER TABLE `plugin_leads_social_services_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_source` -- DROP TABLE IF EXISTS `plugin_leads_source`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_source` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `source_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `system` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_source` -- LOCK TABLES `plugin_leads_source` WRITE; /*!40000 ALTER TABLE `plugin_leads_source` DISABLE KEYS */; INSERT INTO `plugin_leads_source` VALUES (1,'Referrer','1'),(2,'Marketing asset','1'),(3,'Ad campaign','1'); /*!40000 ALTER TABLE `plugin_leads_source` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_stage` -- DROP TABLE IF EXISTS `plugin_leads_stage`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_stage` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `stage_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `default` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_stage` -- LOCK TABLES `plugin_leads_stage` WRITE; /*!40000 ALTER TABLE `plugin_leads_stage` DISABLE KEYS */; INSERT INTO `plugin_leads_stage` VALUES (1,'qualification','0'),(2,'quote sent','0'),(3,'closed won','0'),(4,'closed lost','0'),(5,'1. Subscriber','0'),(6,'2. Lead','0'),(7,'3. Marketing qualified lead','0'),(8,'4. Sales qualified lead','0'),(9,'5. Opportunity','0'),(10,'6. Customer','0'),(11,'7. Evangelist','0'),(12,'8. Other','0'); /*!40000 ALTER TABLE `plugin_leads_stage` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_table_columns_order` -- DROP TABLE IF EXISTS `plugin_leads_table_columns_order`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_table_columns_order` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `table_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `preset_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `is_default` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `fields_data` text COLLATE utf8_unicode_ci, `user_id` int(10) unsigned DEFAULT NULL, `apply_to_all` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_table_columns_order` -- LOCK TABLES `plugin_leads_table_columns_order` WRITE; /*!40000 ALTER TABLE `plugin_leads_table_columns_order` DISABLE KEYS */; INSERT INTO `plugin_leads_table_columns_order` VALUES (1,'dashboard_latest_leads','corporate','0','[\"placeholder\",\"id\",\"name\",\"organization\",\"leadEmail\",\"leadPhone\",\"leadCreatedAt\",\"leadType\",\"leadOwner\",\"actions\"]',NULL,'1','2022-01-27 11:29:02'),(2,'dashboard_engaged_leads','corporate','0','[\"placeholder\",\"id\",\"score\",\"name\",\"organization\",\"leadEmail\",\"leadPhone\",\"totalOppsAmount\",\"leadLastActivity\",\"engagedLifecycle\",\"actions\"]',NULL,'1','2022-01-27 11:29:02'); /*!40000 ALTER TABLE `plugin_leads_table_columns_order` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_tags` -- DROP TABLE IF EXISTS `plugin_leads_tags`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_tags` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `tag_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `label` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_tags` -- LOCK TABLES `plugin_leads_tags` WRITE; /*!40000 ALTER TABLE `plugin_leads_tags` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_tags` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_tasks` -- DROP TABLE IF EXISTS `plugin_leads_tasks`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_tasks` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `user_id` int(10) unsigned NOT NULL, `creator_id` int(10) unsigned NOT NULL, `expired_at` timestamp NULL DEFAULT NULL, `due_date` timestamp NULL DEFAULT NULL, `notes` text COLLATE utf8_unicode_ci, `lead_id` int(10) unsigned NOT NULL, `creation_type` enum('local','import','user') COLLATE utf8_unicode_ci DEFAULT 'local', `task_external_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL, `is_task_completed` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `is_task_overdue` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `is_task_start_email_sent` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `task_completed_by` int(10) unsigned DEFAULT NULL, `completion_comment` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`), KEY `fk_plugin_leads_tasks_user_id` (`user_id`), KEY `fk_plugin_leads_tasks_creator_id` (`creator_id`), KEY `fk_plugin_leads_tasks_lead_id` (`lead_id`), CONSTRAINT `fk_plugin_leads_tasks_creator_id` FOREIGN KEY (`creator_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `fk_plugin_leads_tasks_lead_id` FOREIGN KEY (`lead_id`) REFERENCES `plugin_leads_data` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `fk_plugin_leads_tasks_user_id` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_tasks` -- LOCK TABLES `plugin_leads_tasks` WRITE; /*!40000 ALTER TABLE `plugin_leads_tasks` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_tasks` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_tasks_log` -- DROP TABLE IF EXISTS `plugin_leads_tasks_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_tasks_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `user_id` int(10) unsigned NOT NULL, `creator_id` int(10) unsigned NOT NULL, `expired_at` timestamp NULL DEFAULT NULL, `due_date` timestamp NULL DEFAULT NULL, `notes` text COLLATE utf8_unicode_ci, `action_log_id` int(10) unsigned NOT NULL, `task_id` int(10) unsigned NOT NULL, `lead_id` int(10) unsigned NOT NULL, `is_task_completed` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `is_task_overdue` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `task_completed_by` int(10) unsigned DEFAULT NULL, `completion_comment` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`), KEY `action_log_id` (`action_log_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_tasks_log` -- LOCK TABLES `plugin_leads_tasks_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_tasks_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_tasks_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_tasks_presets` -- DROP TABLE IF EXISTS `plugin_leads_tasks_presets`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_tasks_presets` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `preset_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Preset name', `task_title` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Task title', `task_note` text COLLATE utf8_unicode_ci COMMENT 'Task notes', `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `creator_id` int(10) unsigned DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `editor_id` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`), KEY `creator_id` (`creator_id`), KEY `editor_id` (`editor_id`), CONSTRAINT `plugin_leads_tasks_presets_ibfk_1` FOREIGN KEY (`creator_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_tasks_presets_ibfk_2` FOREIGN KEY (`editor_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_tasks_presets` -- LOCK TABLES `plugin_leads_tasks_presets` WRITE; /*!40000 ALTER TABLE `plugin_leads_tasks_presets` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_tasks_presets` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_tasks_queue` -- DROP TABLE IF EXISTS `plugin_leads_tasks_queue`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_tasks_queue` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `task_id` int(10) unsigned NOT NULL, `to_send_date` timestamp NULL DEFAULT NULL, `sent_date` timestamp NULL DEFAULT NULL, `status` enum('processing','sent','error') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'processing', `queue_type` enum('first_task_reminder','second_task_reminder','custom') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'custom', PRIMARY KEY (`id`), KEY `task_id` (`task_id`), CONSTRAINT `plugin_leads_tasks_queue_ibfk_1` FOREIGN KEY (`task_id`) REFERENCES `plugin_leads_tasks` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_tasks_queue` -- LOCK TABLES `plugin_leads_tasks_queue` WRITE; /*!40000 ALTER TABLE `plugin_leads_tasks_queue` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_tasks_queue` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_templates_and_directories_config` -- DROP TABLE IF EXISTS `plugin_leads_templates_and_directories_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_templates_and_directories_config` ( `id` int(11) NOT NULL AUTO_INCREMENT, `type` varchar(45) COLLATE utf8_unicode_ci NOT NULL, `item_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_templates_and_directories_config` -- LOCK TABLES `plugin_leads_templates_and_directories_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_templates_and_directories_config` DISABLE KEYS */; INSERT INTO `plugin_leads_templates_and_directories_config` VALUES (8,'template','CRM - Cold email'),(9,'template','CRM - Follow up email'),(10,'template','CRM - Intro email'),(11,'template','CRM - Materials after contact'),(12,'template','CRM - Opening channels back up'),(13,'template','email - user'),(14,'template','CRM subscription'); /*!40000 ALTER TABLE `plugin_leads_templates_and_directories_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_type` -- DROP TABLE IF EXISTS `plugin_leads_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_type` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `type_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `type_label` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `system` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', `default` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_type` -- LOCK TABLES `plugin_leads_type` WRITE; /*!40000 ALTER TABLE `plugin_leads_type` DISABLE KEYS */; INSERT INTO `plugin_leads_type` VALUES (1,'inbound_email','Inbound email','1','0'),(2,'inbound_call','Inbound call','1','0'),(3,'inbound_quote','Inbound quote request','1','0'),(4,'inbound_purchase','Inbound purchase','1','0'),(5,'inbound_quote_view','Inbound quote view','1','0'),(6,'inbound_registration','Inbound registration','1','0'),(7,'inbound_form','Inbound form contact','1','0'),(8,'inbound_downloader','Inbound document download','1','0'),(9,'inbound_website_visit','Inbound website visit','1','0'),(10,'inbound_external','External resource','1','0'),(11,'outbound_email','Outbound email','1','0'),(12,'outbound_call','Outbound call','1','0'),(13,'outbound_quote','Outbound quote','1','0'),(14,'outbound_meeting','Outbound meeting','1','0'),(15,'outbound_task','Outbound task','1','0'),(16,'inbound_sms','Inbound sms','1','0'),(17,'outbound_sms','Outbound sms','1','0'),(18,'inbound_chat','Inbound chat','1','0'); /*!40000 ALTER TABLE `plugin_leads_type` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_users_api_access` -- DROP TABLE IF EXISTS `plugin_leads_users_api_access`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_users_api_access` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(10) unsigned NOT NULL, `ip_addresses` text COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `user_id` (`user_id`), CONSTRAINT `plugin_leads_users_api_access_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_users_api_access` -- LOCK TABLES `plugin_leads_users_api_access` WRITE; /*!40000 ALTER TABLE `plugin_leads_users_api_access` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_users_api_access` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_users_api_tokens` -- DROP TABLE IF EXISTS `plugin_leads_users_api_tokens`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_users_api_tokens` ( `api_user_id` int(10) unsigned NOT NULL, `token` char(255) COLLATE utf8_unicode_ci NOT NULL, `expiration_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `creation_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `ip_address` varchar(45) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`api_user_id`,`token`), UNIQUE KEY `token` (`token`), CONSTRAINT `plugin_leads_users_api_tokens_ibfk_1` FOREIGN KEY (`api_user_id`) REFERENCES `plugin_leads_users_api_access` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_users_api_tokens` -- LOCK TABLES `plugin_leads_users_api_tokens` WRITE; /*!40000 ALTER TABLE `plugin_leads_users_api_tokens` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_users_api_tokens` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_validate_emails_queue` -- DROP TABLE IF EXISTS `plugin_leads_validate_emails_queue`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_validate_emails_queue` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `creator_id` int(10) unsigned DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Record added to queue date', `process_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'To process item', `processed_at` timestamp NULL DEFAULT NULL COMMENT 'Processed at item', `delayed_to` timestamp NULL DEFAULT NULL COMMENT 'Delayed to item', `lead_ids` mediumtext COLLATE utf8_unicode_ci, `status` enum('new','processing','delayed','processed','error') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'new', `processed_leads` int(10) unsigned DEFAULT NULL, `not_processed_leads` int(10) unsigned DEFAULT NULL, `balance` int(10) unsigned DEFAULT NULL, `error_info` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_validate_emails_queue` -- LOCK TABLES `plugin_leads_validate_emails_queue` WRITE; /*!40000 ALTER TABLE `plugin_leads_validate_emails_queue` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_validate_emails_queue` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_webhook_notifications` -- DROP TABLE IF EXISTS `plugin_leads_webhook_notifications`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_webhook_notifications` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `status` enum('scheduled','sent','failed') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'scheduled', `webhook_type` enum('lead','organization','order') COLLATE utf8_unicode_ci DEFAULT 'lead', `resource_id` int(10) unsigned NOT NULL, `webhook_action_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `additional_info` mediumtext COLLATE utf8_unicode_ci, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `sent_notifications_data` text COLLATE utf8_unicode_ci, `sent_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_webhook_notifications` -- LOCK TABLES `plugin_leads_webhook_notifications` WRITE; /*!40000 ALTER TABLE `plugin_leads_webhook_notifications` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_webhook_notifications` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_webhook_urls` -- DROP TABLE IF EXISTS `plugin_leads_webhook_urls`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_webhook_urls` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `webhook_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `webhook_type` enum('lead','organization','order') COLLATE utf8_unicode_ci DEFAULT 'lead', `webhook_action_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `action_url` text COLLATE utf8_unicode_ci, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `creator_id` int(10) unsigned DEFAULT NULL, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `editor_id` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`), KEY `creator_id` (`creator_id`), KEY `editor_id` (`editor_id`), CONSTRAINT `plugin_leads_webhook_urls_ibfk_1` FOREIGN KEY (`creator_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_webhook_urls_ibfk_2` FOREIGN KEY (`editor_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_webhook_urls` -- LOCK TABLES `plugin_leads_webhook_urls` WRITE; /*!40000 ALTER TABLE `plugin_leads_webhook_urls` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_webhook_urls` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_workflow_actions` -- DROP TABLE IF EXISTS `plugin_leads_workflow_actions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_workflow_actions` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `rule_id` int(10) unsigned NOT NULL, `action_type` enum('assign_owner','assign_task','assign_tags','assign_lifecycle','assign_sequence','assign_email_list','assign_email_copy','send_review_request','assign_remarketing_list') COLLATE utf8_unicode_ci DEFAULT 'assign_owner', `action_config` text COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `rule_id` (`rule_id`,`action_type`), CONSTRAINT `plugin_leads_workflow_actions_ibfk_1` FOREIGN KEY (`rule_id`) REFERENCES `plugin_leads_workflow_general_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_workflow_actions` -- LOCK TABLES `plugin_leads_workflow_actions` WRITE; /*!40000 ALTER TABLE `plugin_leads_workflow_actions` DISABLE KEYS */; INSERT INTO `plugin_leads_workflow_actions` VALUES (1,1,'send_review_request','{\"sendReviewRequest\":\"1\"}'); /*!40000 ALTER TABLE `plugin_leads_workflow_actions` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_workflow_config` -- DROP TABLE IF EXISTS `plugin_leads_workflow_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_workflow_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `rule_id` int(10) unsigned NOT NULL, `rule_type` enum('lead_attribute','organization_attribute','action_type','lead_opportunities','lead_custom_attributes','organization_custom_attributes') COLLATE utf8_unicode_ci DEFAULT 'lead_attribute', `rule_subtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `field_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `rule_comparison_operator` enum('equal','notequal','like','in','greaterthan','lessthan','notin','datebefore','dateafter','dategreaterthan','datelessthan') COLLATE utf8_unicode_ci DEFAULT 'equal', `field_value` mediumtext COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `rule_id` (`rule_id`), CONSTRAINT `plugin_leads_workflow_config_ibfk_1` FOREIGN KEY (`rule_id`) REFERENCES `plugin_leads_workflow_general_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_workflow_config` -- LOCK TABLES `plugin_leads_workflow_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_workflow_config` DISABLE KEYS */; INSERT INTO `plugin_leads_workflow_config` VALUES (1,1,'lead_attribute','','nps_review_score','greaterthan','9'); /*!40000 ALTER TABLE `plugin_leads_workflow_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_workflow_general_config` -- DROP TABLE IF EXISTS `plugin_leads_workflow_general_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_workflow_general_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `rule_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `creator_id` int(10) unsigned DEFAULT NULL, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `editor_id` int(10) unsigned DEFAULT NULL, `score` int(10) unsigned NOT NULL, `score_comparison_operator` enum('equal','greaterthan','lessthan') COLLATE utf8_unicode_ci DEFAULT 'equal', PRIMARY KEY (`id`), UNIQUE KEY `rule_name` (`rule_name`), KEY `creator_id` (`creator_id`), KEY `editor_id` (`editor_id`), CONSTRAINT `plugin_leads_workflow_general_config_ibfk_1` FOREIGN KEY (`creator_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT `plugin_leads_workflow_general_config_ibfk_2` FOREIGN KEY (`editor_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_workflow_general_config` -- LOCK TABLES `plugin_leads_workflow_general_config` WRITE; /*!40000 ALTER TABLE `plugin_leads_workflow_general_config` DISABLE KEYS */; INSERT INTO `plugin_leads_workflow_general_config` VALUES (1,'Review request','2020-04-06 00:00:00',1,'2020-04-06 00:00:00',1,0,'equal'); /*!40000 ALTER TABLE `plugin_leads_workflow_general_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_leads_workflow_rules_log` -- DROP TABLE IF EXISTS `plugin_leads_workflow_rules_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_leads_workflow_rules_log` ( `lead_id` int(10) unsigned NOT NULL, `rule_id` int(10) unsigned NOT NULL, PRIMARY KEY (`lead_id`,`rule_id`), CONSTRAINT `plugin_leads_workflow_rules_log_ibfk_1` FOREIGN KEY (`lead_id`) REFERENCES `plugin_leads_data` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_leads_workflow_rules_log` -- LOCK TABLES `plugin_leads_workflow_rules_log` WRITE; /*!40000 ALTER TABLE `plugin_leads_workflow_rules_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_leads_workflow_rules_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_netcontent_widget` -- DROP TABLE IF EXISTS `plugin_netcontent_widget`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_netcontent_widget` ( `widget_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `content` text COLLATE utf8_unicode_ci, `publish` tinyint(1) DEFAULT NULL, `p2p` tinyint(1) NOT NULL DEFAULT '0', `modify_date` date DEFAULT NULL, PRIMARY KEY (`widget_name`,`p2p`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_netcontent_widget` -- LOCK TABLES `plugin_netcontent_widget` WRITE; /*!40000 ALTER TABLE `plugin_netcontent_widget` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_netcontent_widget` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_newslog_configuration` -- DROP TABLE IF EXISTS `plugin_newslog_configuration`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_newslog_configuration` ( `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `value` text COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_newslog_configuration` -- LOCK TABLES `plugin_newslog_configuration` WRITE; /*!40000 ALTER TABLE `plugin_newslog_configuration` DISABLE KEYS */; INSERT INTO `plugin_newslog_configuration` VALUES ('folder','news'); /*!40000 ALTER TABLE `plugin_newslog_configuration` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_newslog_events` -- DROP TABLE IF EXISTS `plugin_newslog_events`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_newslog_events` ( `id` int(10) NOT NULL AUTO_INCREMENT, `news_tag_id` int(10) NOT NULL, `archive_tag_id` int(10) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_newslog_events` -- LOCK TABLES `plugin_newslog_events` WRITE; /*!40000 ALTER TABLE `plugin_newslog_events` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_newslog_events` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_newslog_news` -- DROP TABLE IF EXISTS `plugin_newslog_news`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_newslog_news` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `page_id` int(10) unsigned DEFAULT NULL, `metaData` text COLLATE utf8_unicode_ci NOT NULL, `title` tinytext COLLATE utf8_unicode_ci NOT NULL, `teaser` text COLLATE utf8_unicode_ci, `content` longtext COLLATE utf8_unicode_ci, `broadcast` tinyint(1) NOT NULL DEFAULT '0', `published` tinyint(1) NOT NULL DEFAULT '0', `featured` tinyint(1) NOT NULL DEFAULT '0', `archived` tinyint(1) NOT NULL DEFAULT '0', `type` enum('internal','external') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'internal', `event` int(10) unsigned NOT NULL DEFAULT '0', `event_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `event_location` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `external_id` int(10) unsigned DEFAULT NULL, `user_id` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `page_id` (`page_id`), KEY `type` (`type`), KEY `external_id` (`external_id`), KEY `index_created_ad` (`created_at`), KEY `index_id_created_at` (`id`,`created_at`), CONSTRAINT `plugin_newslog_news_ibfk_1` FOREIGN KEY (`page_id`) REFERENCES `page` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Local author id'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_newslog_news` -- LOCK TABLES `plugin_newslog_news` WRITE; /*!40000 ALTER TABLE `plugin_newslog_news` DISABLE KEYS */; INSERT INTO `plugin_newslog_news` VALUES (6,51,'{\"h1\":\"Morbi vehicula, libero aliquet lorem velit leo in sit, arcu commodo ullamcorper qui neque. \",\"title\":\"Morbi vehicula, libero aliquet lorem velit leo in sit, arcu commodo ullamcorper qui neque. \",\"navName\":\"Morbi vehicula, libero aliquet lorem velit leo in sit, arcu commodo ullamcorper qui neque. \",\"url\":\"morbi-vehicula-libero-aliquet-lorem-velit-leo-in-sit-arcu-commodo-ullamcorper-qui-neque-1486454974.html\",\"teaserText\":\"Elit eu feugiat enim erat eu, nibh dapibus non proin quis, dictum pellentesque eleifend lectus perferendis. Nulla at dignissim quisque tincidunt purus leo, commodo sed euismod, orci ad id risus mattis condimentum, aliquam consequat placerat montes faucibus, quam libero sed.\",\"metaKeywords\":\"\",\"template\":\"news\",\"image\":\"morbi-vehicula-libero-aliquet-lorem-velit-leo-in-sit-arcu-commodo-ullamcorper-qui-neque-1486454974.jpg\"}','Morbi vehicula, libero aliquet lorem velit leo in sit, arcu commodo ullamcorper qui neque. ','Elit eu feugiat enim erat eu, nibh dapibus non proin quis, dictum pellentesque eleifend lectus perferendis. Nulla at dignissim quisque tincidunt purus leo, commodo sed euismod, orci ad id risus mattis condimentum, aliquam consequat placerat montes faucibus, quam libero sed.','\r\n <a class=\"tpopup generator-links\" data-pwidth=\"480\" data-pheight=\"163\" title=\"Edit\" href=\"javascript:;\" data-url=\"http://package.seotoaster.com/backend/backend_content/editrepeat/pageId/51/repeatName/Article blocks/contentType/1\">Edit repeat- <em>Article blocks</em></a>\r\n ',0,1,0,0,'internal',0,'0000-00-00 00:00:00','','2015-11-02 08:09:34','2018-03-13 10:37:45',NULL,1),(7,52,'{\"h1\":\"Lorem ipsum dolor sit amet, ac nunc.\",\"title\":\"Lorem ipsum dolor sit amet, ac nunc.\",\"navName\":\"Lorem ipsum dolor sit amet, ac nunc.\",\"url\":\"lorem-ipsum-dolor-sit-amet-ac-nunc-1486454911.html\",\"teaserText\":\"Vel sit lectus hac et nibh, corporis dui, sed nullam fringilla ut, magna et velit a amet vivamus, nec phasellus. Ipsum et dui litora. Aliquam integer vivamus pellentesque ut a metus\",\"metaKeywords\":\"\",\"template\":\"news\",\"image\":\"lorem-ipsum-dolor-sit-amet-ac-nunc-1486454911.jpg\"}','Lorem ipsum dolor sit amet, ac nunc.','Vel sit lectus hac et nibh, corporis dui, sed nullam fringilla ut, magna et velit a amet vivamus, nec phasellus. Ipsum et dui litora. Aliquam integer vivamus pellentesque ut a metus','\r\n <a class=\"tpopup generator-links\" data-pwidth=\"480\" data-pheight=\"163\" title=\"Edit\" href=\"javascript:;\" data-url=\"http://package.seotoaster.com/backend/backend_content/editrepeat/pageId/52/repeatName/Article blocks/contentType/1\">Edit repeat- <em>Article blocks</em></a>\r\n ',0,1,0,0,'internal',0,'0000-00-00 00:00:00','','2015-12-23 08:08:31','2018-03-13 10:39:22',NULL,1),(8,578,'{\"h1\":\"Test Article 1\",\"title\":\"Test Article 1\",\"navName\":\"Test Article 1\",\"url\":\"test-article-1-1450968456.html\",\"teaserText\":\"Test Article 1. This is a test article. \",\"metaKeywords\":\"Test Article 1\",\"template\":\"news\",\"image\":\"test-article-1-1450968456.jpg\"}','Test Article 1','Test Article 1. This is a test article. ','\r\n \r\n <article>\r\n <h2></h2>\r\n \r\n \r\n </article>\r\n \r\n ',0,1,0,0,'internal',0,'0000-00-00 00:00:00','','2015-12-24 14:47:36','2016-10-25 13:04:18',NULL,65692); /*!40000 ALTER TABLE `plugin_newslog_news` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_newslog_news_has_tag` -- DROP TABLE IF EXISTS `plugin_newslog_news_has_tag`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_newslog_news_has_tag` ( `news_id` int(10) unsigned NOT NULL, `tag_id` int(10) unsigned NOT NULL, PRIMARY KEY (`news_id`,`tag_id`), KEY `tag_id` (`tag_id`), CONSTRAINT `plugin_newslog_news_has_tag_ibfk_1` FOREIGN KEY (`news_id`) REFERENCES `plugin_newslog_news` (`id`) ON DELETE CASCADE, CONSTRAINT `plugin_newslog_news_has_tag_ibfk_2` FOREIGN KEY (`tag_id`) REFERENCES `plugin_newslog_tag` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_newslog_news_has_tag` -- LOCK TABLES `plugin_newslog_news_has_tag` WRITE; /*!40000 ALTER TABLE `plugin_newslog_news_has_tag` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_newslog_news_has_tag` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_newslog_pingservice` -- DROP TABLE IF EXISTS `plugin_newslog_pingservice`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_newslog_pingservice` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `url` tinytext COLLATE utf8_unicode_ci NOT NULL, `status` enum('enabled','disabled') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'disabled', `is_default` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `status` (`status`), KEY `default` (`is_default`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_newslog_pingservice` -- LOCK TABLES `plugin_newslog_pingservice` WRITE; /*!40000 ALTER TABLE `plugin_newslog_pingservice` DISABLE KEYS */; INSERT INTO `plugin_newslog_pingservice` VALUES (3,'http://rpc.weblogs.com/RPC2','disabled',1),(4,'http://ping.blo.gs/','enabled',1),(5,'http://rpc.pingomatic.com/RPC2','enabled',1); /*!40000 ALTER TABLE `plugin_newslog_pingservice` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_newslog_tag` -- DROP TABLE IF EXISTS `plugin_newslog_tag`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_newslog_tag` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(200) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_newslog_tag` -- LOCK TABLES `plugin_newslog_tag` WRITE; /*!40000 ALTER TABLE `plugin_newslog_tag` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_newslog_tag` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_notifier_config` -- DROP TABLE IF EXISTS `plugin_notifier_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_notifier_config` ( `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_notifier_config` -- LOCK TABLES `plugin_notifier_config` WRITE; /*!40000 ALTER TABLE `plugin_notifier_config` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_notifier_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_notifier_news` -- DROP TABLE IF EXISTS `plugin_notifier_news`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_notifier_news` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `news_id` int(10) unsigned DEFAULT NULL, `token` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `sent_at` timestamp NULL DEFAULT NULL, `status` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `token` (`token`), KEY `news_id` (`news_id`), CONSTRAINT `plugin_notifier_news_ibfk_3` FOREIGN KEY (`news_id`) REFERENCES `plugin_newslog_news` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `plugin_notifier_news_ibfk_4` FOREIGN KEY (`token`) REFERENCES `plugin_notifier_subscriptions` (`token`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_notifier_news` -- LOCK TABLES `plugin_notifier_news` WRITE; /*!40000 ALTER TABLE `plugin_notifier_news` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_notifier_news` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_notifier_news_info` -- DROP TABLE IF EXISTS `plugin_notifier_news_info`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_notifier_news_info` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `news_id` int(10) unsigned NOT NULL, `published_at` date DEFAULT NULL, PRIMARY KEY (`id`), KEY `plugin_notifier_news_info_ibfk_1` (`news_id`), CONSTRAINT `plugin_notifier_news_info_ibfk_1` FOREIGN KEY (`news_id`) REFERENCES `plugin_newslog_news` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_notifier_news_info` -- LOCK TABLES `plugin_notifier_news_info` WRITE; /*!40000 ALTER TABLE `plugin_notifier_news_info` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_notifier_news_info` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_notifier_pending_news` -- DROP TABLE IF EXISTS `plugin_notifier_pending_news`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_notifier_pending_news` ( `news_id` int(10) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `status` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`news_id`), CONSTRAINT `plugin_notifier_news_ibfk_33` FOREIGN KEY (`news_id`) REFERENCES `plugin_newslog_news` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_notifier_pending_news` -- LOCK TABLES `plugin_notifier_pending_news` WRITE; /*!40000 ALTER TABLE `plugin_notifier_pending_news` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_notifier_pending_news` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_notifier_subscriptions` -- DROP TABLE IF EXISTS `plugin_notifier_subscriptions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_notifier_subscriptions` ( `token` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `endpoint` varchar(512) COLLATE utf8_unicode_ci NOT NULL, `auth` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `p256dh` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `createdAt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`token`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_notifier_subscriptions` -- LOCK TABLES `plugin_notifier_subscriptions` WRITE; /*!40000 ALTER TABLE `plugin_notifier_subscriptions` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_notifier_subscriptions` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_paypal_recurring_payments` -- DROP TABLE IF EXISTS `plugin_paypal_recurring_payments`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_paypal_recurring_payments` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(10) unsigned NOT NULL, `cart_id` int(10) unsigned DEFAULT NULL, `profile_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `status` varchar(50) COLLATE utf8_unicode_ci NOT NULL, `auto_bill_out_amt` varchar(25) COLLATE utf8_unicode_ci DEFAULT NULL, `desc` text COLLATE utf8_unicode_ci, `max_failed_payments` smallint(5) DEFAULT '0', `profile_start_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `next_billing_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `num_cycles_completed` int(10) unsigned DEFAULT '0', `num_cycles_remaining` bigint(10) unsigned DEFAULT '0', `outstanding_balance` decimal(10,2) DEFAULT '0.00', `failed_payment_count` int(10) unsigned DEFAULT '0', `last_payment_date` timestamp NULL DEFAULT NULL, `last_payment_amt` decimal(10,2) DEFAULT '0.00', `trial_amt_paid` decimal(10,2) DEFAULT '0.00', `regular_amt_paid` decimal(10,2) DEFAULT '0.00', `aggregate_amt` decimal(10,2) DEFAULT '0.00', `aggregate_optional_amt` decimal(10,2) DEFAULT '0.00', `final_payment_due_date` timestamp NULL DEFAULT NULL, `timestamp` timestamp NULL DEFAULT NULL, `correlation_id` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `billing_period` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `billing_frequency` smallint(5) unsigned DEFAULT '0', `total_billing_cycles` smallint(5) unsigned DEFAULT '0', `currency_code` char(3) COLLATE utf8_unicode_ci DEFAULT '', `amt` decimal(10,2) DEFAULT '0.00', `shipping_amt` decimal(10,2) DEFAULT '0.00', `tax_amt` decimal(10,2) DEFAULT '0.00', `regular_billing_period` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `regular_billing_frequency` smallint(5) unsigned DEFAULT '0', `regular_total_billing_cycles` smallint(5) unsigned DEFAULT '0', `regular_currency_code` char(3) COLLATE utf8_unicode_ci DEFAULT '', `regular_amt` decimal(10,2) DEFAULT '0.00', `regular_shipping_amt` decimal(10,2) DEFAULT '0.00', `regular_tax_amt` decimal(10,2) DEFAULT '0.00', `acct` int(10) unsigned DEFAULT '0', `credit_card_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `exp_date` char(6) COLLATE utf8_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `street` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `city` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `state` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `zip` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL, `country_code` char(2) COLLATE utf8_unicode_ci DEFAULT NULL, `country` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `address_owner` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `address_status` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `payer_status` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_paypal_recurring_payments` -- LOCK TABLES `plugin_paypal_recurring_payments` WRITE; /*!40000 ALTER TABLE `plugin_paypal_recurring_payments` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_paypal_recurring_payments` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_paypal_settings` -- DROP TABLE IF EXISTS `plugin_paypal_settings`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_paypal_settings` ( `id` int(10) NOT NULL, `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `apiSignature` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `apiUser` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `apiPassword` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `useSandbox` tinyint(1) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_paypal_settings` -- LOCK TABLES `plugin_paypal_settings` WRITE; /*!40000 ALTER TABLE `plugin_paypal_settings` DISABLE KEYS */; INSERT INTO `plugin_paypal_settings` VALUES (1,'','','','',0); /*!40000 ALTER TABLE `plugin_paypal_settings` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_paypal_transactions` -- DROP TABLE IF EXISTS `plugin_paypal_transactions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_paypal_transactions` ( `id` int(11) NOT NULL AUTO_INCREMENT, `txnId` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, `payerId` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, `payerMail` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL, `amount` varchar(25) COLLATE utf8_unicode_ci DEFAULT NULL, `shippingAmount` varchar(25) COLLATE utf8_unicode_ci DEFAULT NULL, `tax` varchar(25) COLLATE utf8_unicode_ci DEFAULT NULL, `currency` text COLLATE utf8_unicode_ci, `paymentStatus` text COLLATE utf8_unicode_ci, `status` text COLLATE utf8_unicode_ci, `paymentType` text COLLATE utf8_unicode_ci, `paymentId` int(11) DEFAULT NULL, `paymentDate` timestamp NULL DEFAULT NULL, `pFirstName` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, `pLastName` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, `pCountry` varchar(60) COLLATE utf8_unicode_ci DEFAULT NULL, `pCountryCode` text COLLATE utf8_unicode_ci, `pAddressState` varchar(60) COLLATE utf8_unicode_ci DEFAULT NULL, `pAddressCity` varchar(60) COLLATE utf8_unicode_ci DEFAULT NULL, `pAddressZip` text COLLATE utf8_unicode_ci, `pAddressName` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL, `cartId` int(10) DEFAULT NULL, `pendingReason` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, `subscribeStatus` varchar(60) COLLATE utf8_unicode_ci DEFAULT NULL, `subscribePeriod` int(10) DEFAULT NULL, `subscribePeriodType` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, `subscribeQuantity` int(10) DEFAULT NULL, `subscribeAmount` decimal(10,4) DEFAULT NULL, `subscribeDate` varchar(60) COLLATE utf8_unicode_ci DEFAULT NULL, `subscriptionId` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `subscriptionDatePayed` varchar(60) COLLATE utf8_unicode_ci DEFAULT NULL, `subscriptionAmountPayed` varchar(60) COLLATE utf8_unicode_ci DEFAULT NULL, `emailSent` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `customerEmailSent` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `refundTransactionId` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL, `refundReason` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `user_set_password` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `partiallyPaid` decimal(10,4) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_paypal_transactions` -- LOCK TABLES `plugin_paypal_transactions` WRITE; /*!40000 ALTER TABLE `plugin_paypal_transactions` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_paypal_transactions` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_promo` -- DROP TABLE IF EXISTS `plugin_promo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_promo` ( `product_id` int(10) unsigned NOT NULL, `promo_price` decimal(10,2) NOT NULL, `promo_from` date DEFAULT NULL, `promo_due` date DEFAULT NULL, PRIMARY KEY (`product_id`), CONSTRAINT `plugin_promo_ibfk_1` FOREIGN KEY (`product_id`) REFERENCES `shopping_product` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_promo` -- LOCK TABLES `plugin_promo` WRITE; /*!40000 ALTER TABLE `plugin_promo` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_promo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_shopping_notification_partial_log` -- DROP TABLE IF EXISTS `plugin_shopping_notification_partial_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_shopping_notification_partial_log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `cart_id` int(10) unsigned NOT NULL, `notified_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_shopping_notification_partial_log` -- LOCK TABLES `plugin_shopping_notification_partial_log` WRITE; /*!40000 ALTER TABLE `plugin_shopping_notification_partial_log` DISABLE KEYS */; /*!40000 ALTER TABLE `plugin_shopping_notification_partial_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_toastauth_settings` -- DROP TABLE IF EXISTS `plugin_toastauth_settings`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_toastauth_settings` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `settings` text COLLATE utf8_unicode_ci NOT NULL, `status` tinyint(1) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_toastauth_settings` -- LOCK TABLES `plugin_toastauth_settings` WRITE; /*!40000 ALTER TABLE `plugin_toastauth_settings` DISABLE KEYS */; INSERT INTO `plugin_toastauth_settings` VALUES (1,'facebook','a:6:{s:9:\"client_id\";s:0:\"\";s:13:\"client_secret\";s:0:\"\";s:12:\"redirect_uri\";s:0:\"\";s:5:\"scope\";s:5:\"email\";s:8:\"auth_url\";s:37:\"https://www.facebook.com/dialog/oauth\";s:9:\"token_url\";s:45:\"https://graph.facebook.com/oauth/access_token\";}',1),(2,'google','a:8:{s:9:\"client_id\";s:0:\"\";s:13:\"client_secret\";s:0:\"\";s:12:\"redirect_uri\";s:0:\"\";s:5:\"scope\";s:5:\"email\";s:8:\"auth_url\";s:41:\"https://accounts.google.com/o/oauth2/auth\";s:9:\"token_url\";s:42:\"https://accounts.google.com/o/oauth2/token\";s:10:\"grant_type\";s:18:\"authorization_code\";s:13:\"response_type\";s:4:\"code\";}',1),(3,'linkedin','a:8:{s:13:\"response_type\";s:4:\"code\";s:9:\"client_id\";s:0:\"\";s:13:\"client_secret\";s:0:\"\";s:5:\"scope\";s:29:\"r_basicprofile r_emailaddress\";s:12:\"redirect_uri\";s:60:\"http://auth.com/plugin/toastauth/run/login/provider/linkedin\";s:10:\"grant_type\";s:18:\"authorization_code\";s:9:\"token_url\";s:47:\"https://www.linkedin.com/uas/oauth2/accessToken\";s:8:\"auth_url\";s:49:\"https://www.linkedin.com/uas/oauth2/authorization\";}',1); /*!40000 ALTER TABLE `plugin_toastauth_settings` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plugin_widcard_custom_params` -- DROP TABLE IF EXISTS `plugin_widcard_custom_params`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `plugin_widcard_custom_params` ( `name` varchar(128) COLLATE utf8_unicode_ci NOT NULL, `value` text COLLATE utf8_unicode_ci, PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plugin_widcard_custom_params` -- LOCK TABLES `plugin_widcard_custom_params` WRITE; /*!40000 ALTER TABLE `plugin_widcard_custom_params` DISABLE KEYS */; INSERT INTO `plugin_widcard_custom_params` VALUES ('facebook',''),('google my business',''),('yelp',''); /*!40000 ALTER TABLE `plugin_widcard_custom_params` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `quote_custom_fields_config` -- DROP TABLE IF EXISTS `quote_custom_fields_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quote_custom_fields_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `param_type` enum('text','select','radio','textarea','checkbox') COLLATE utf8_unicode_ci DEFAULT 'text', `param_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `label` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `param_type` (`param_type`,`param_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `quote_custom_fields_config` -- LOCK TABLES `quote_custom_fields_config` WRITE; /*!40000 ALTER TABLE `quote_custom_fields_config` DISABLE KEYS */; /*!40000 ALTER TABLE `quote_custom_fields_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `quote_custom_params_data` -- DROP TABLE IF EXISTS `quote_custom_params_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quote_custom_params_data` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `cart_id` int(10) unsigned NOT NULL, `param_id` int(10) unsigned NOT NULL, `param_value` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `params_option_id` int(10) DEFAULT NULL, PRIMARY KEY (`id`), KEY `param_id` (`param_id`), KEY `cart_id` (`cart_id`), CONSTRAINT `quote_custom_params_data_ibfk_1` FOREIGN KEY (`param_id`) REFERENCES `quote_custom_fields_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `quote_custom_params_data_ibfk_2` FOREIGN KEY (`cart_id`) REFERENCES `shopping_cart_session` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `quote_custom_params_data` -- LOCK TABLES `quote_custom_params_data` WRITE; /*!40000 ALTER TABLE `quote_custom_params_data` DISABLE KEYS */; /*!40000 ALTER TABLE `quote_custom_params_data` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `quote_custom_params_options_data` -- DROP TABLE IF EXISTS `quote_custom_params_options_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quote_custom_params_options_data` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `custom_param_id` int(10) unsigned NOT NULL, `option_value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `custom_param_id` (`custom_param_id`), CONSTRAINT `quote_custom_params_options_data_ibfk_1` FOREIGN KEY (`custom_param_id`) REFERENCES `quote_custom_fields_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `quote_custom_params_options_data` -- LOCK TABLES `quote_custom_params_options_data` WRITE; /*!40000 ALTER TABLE `quote_custom_params_options_data` DISABLE KEYS */; /*!40000 ALTER TABLE `quote_custom_params_options_data` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `redirect` -- DROP TABLE IF EXISTS `redirect`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `redirect` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `page_id` int(10) unsigned DEFAULT NULL, `from_url` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `to_url` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `domain_to` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `domain_from` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `indPageId` (`page_id`), KEY `indFromUrl` (`from_url`), KEY `indToUrl` (`to_url`), CONSTRAINT `FK_redirect` FOREIGN KEY (`page_id`) REFERENCES `page` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `redirect` -- LOCK TABLES `redirect` WRITE; /*!40000 ALTER TABLE `redirect` DISABLE KEYS */; /*!40000 ALTER TABLE `redirect` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `seo_data` -- DROP TABLE IF EXISTS `seo_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `seo_data` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `seo_top` longtext COLLATE utf8_unicode_ci, `seo_bottom` longtext COLLATE utf8_unicode_ci, `seo_head` longtext COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `seo_data` -- LOCK TABLES `seo_data` WRITE; /*!40000 ALTER TABLE `seo_data` DISABLE KEYS */; INSERT INTO `seo_data` VALUES (1,'{$form:conversioncode}','',''); /*!40000 ALTER TABLE `seo_data` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_allowance_products` -- DROP TABLE IF EXISTS `shopping_allowance_products`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_allowance_products` ( `product_id` int(10) unsigned NOT NULL, `allowance_due` date DEFAULT NULL, PRIMARY KEY (`product_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_allowance_products` -- LOCK TABLES `shopping_allowance_products` WRITE; /*!40000 ALTER TABLE `shopping_allowance_products` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_allowance_products` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_brands` -- DROP TABLE IF EXISTS `shopping_brands`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_brands` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(200) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_brands` -- LOCK TABLES `shopping_brands` WRITE; /*!40000 ALTER TABLE `shopping_brands` DISABLE KEYS */; INSERT INTO `shopping_brands` VALUES (4,'new brand'); /*!40000 ALTER TABLE `shopping_brands` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_cart_session` -- DROP TABLE IF EXISTS `shopping_cart_session`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_cart_session` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `ip_address` varchar(25) COLLATE utf8_unicode_ci NOT NULL, `referer` tinytext COLLATE utf8_unicode_ci COMMENT 'Referer', `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NULL DEFAULT '0000-00-00 00:00:00', `user_id` int(10) unsigned DEFAULT NULL, `shipping_address_id` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, `billing_address_id` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, `shipping_price` decimal(10,2) DEFAULT NULL, `shipping_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `shipping_service` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `shipping_tracking_id` tinytext COLLATE utf8_unicode_ci COMMENT 'Shipping Tracking ID', `shipping_tracking_code_id` int(10) unsigned DEFAULT NULL, `shipping_service_id` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Shipping service external id', `shipping_availability_days` text COLLATE utf8_unicode_ci COMMENT 'Availability dates. Json format', `shipping_service_info` text COLLATE utf8_unicode_ci COMMENT 'Additional shipping service info. Json format', `shipping_label_link` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Shipping label link url', `status` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, `gateway` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `discount_tax_rate` enum('0','1','2','3') COLLATE utf8_unicode_ci DEFAULT '0', `sub_total` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT 'Sub Total', `shipping_tax` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT 'Shipping Tax', `discount_tax` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT 'Discount Tax', `sub_total_tax` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT 'Sub total Tax', `total_tax` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT 'Total Tax', `total` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT 'Sub Total + Total Tax + Shipping', `notes` text COLLATE utf8_unicode_ci COMMENT 'Comment for order', `discount` decimal(10,2) DEFAULT NULL COMMENT 'Order discount', `free_cart` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `refund_amount` decimal(10,2) DEFAULT NULL COMMENT 'Partial or full refund amount', `refund_notes` text COLLATE utf8_unicode_ci COMMENT 'Refund info', `purchased_on` timestamp NULL DEFAULT NULL, `partial_type` enum('amount','percentage') COLLATE utf8_unicode_ci DEFAULT NULL, `partial_percentage` decimal(12,6) DEFAULT '0.000000', `is_partial` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `partial_paid_amount` decimal(10,2) DEFAULT '0.00', `first_partial_paid_amount` decimal(10,2) DEFAULT '0.00', `second_partial_paid_amount` decimal(10,2) DEFAULT '0.00', `partial_purchased_on` timestamp NULL DEFAULT NULL, `is_first_payment_manually_paid` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `is_second_payment_manually_paid` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `is_full_order_manually_paid` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `first_payment_gateway` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `second_payment_gateway` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `additional_info` text COLLATE utf8_unicode_ci, `is_gift` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `gift_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Gift purchase email', `order_subtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `partial_notification_date` timestamp NULL DEFAULT NULL, `purchase_error_message` text COLLATE utf8_unicode_ci, `is_pickup_notification_sent` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `pickup_notification_sent_on` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `user_id` (`user_id`), KEY `shipping_address_id` (`shipping_address_id`), KEY `billing_address_id` (`billing_address_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_cart_session` -- LOCK TABLES `shopping_cart_session` WRITE; /*!40000 ALTER TABLE `shopping_cart_session` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_cart_session` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_cart_session_content` -- DROP TABLE IF EXISTS `shopping_cart_session_content`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_cart_session_content` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `cart_id` int(10) unsigned DEFAULT NULL, `product_id` int(10) unsigned DEFAULT NULL, `options` text COLLATE utf8_unicode_ci, `price` decimal(10,4) DEFAULT NULL COMMENT 'Price w/o Tax', `qty` int(10) unsigned DEFAULT NULL, `tax` decimal(10,4) DEFAULT NULL COMMENT 'Tax Price', `tax_price` decimal(10,4) DEFAULT NULL COMMENT 'Price + Tax', `freebies` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `is_digital` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', PRIMARY KEY (`id`), KEY `cart_id` (`cart_id`,`product_id`), CONSTRAINT `shopping_cart_session_content_ibfk_2` FOREIGN KEY (`cart_id`) REFERENCES `shopping_cart_session` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_cart_session_content` -- LOCK TABLES `shopping_cart_session_content` WRITE; /*!40000 ALTER TABLE `shopping_cart_session_content` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_cart_session_content` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_cart_session_has_recurring` -- DROP TABLE IF EXISTS `shopping_cart_session_has_recurring`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_cart_session_has_recurring` ( `recurring_cart_id` int(10) unsigned NOT NULL COMMENT 'recurrent payment id', `cart_id` int(10) unsigned NOT NULL COMMENT 'dependent cart id to recurring payment', PRIMARY KEY (`recurring_cart_id`,`cart_id`), KEY `shopping_cart_session_has_recurring_ibfk_3` (`cart_id`), CONSTRAINT `shopping_cart_session_has_recurring_ibfk_2` FOREIGN KEY (`recurring_cart_id`) REFERENCES `shopping_cart_session` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `shopping_cart_session_has_recurring_ibfk_3` FOREIGN KEY (`cart_id`) REFERENCES `shopping_cart_session` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_cart_session_has_recurring` -- LOCK TABLES `shopping_cart_session_has_recurring` WRITE; /*!40000 ALTER TABLE `shopping_cart_session_has_recurring` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_cart_session_has_recurring` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_cart_session_options` -- DROP TABLE IF EXISTS `shopping_cart_session_options`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_cart_session_options` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `cart_id` int(10) unsigned NOT NULL, `product_id` int(10) unsigned NOT NULL, `option_id` int(10) unsigned NOT NULL, `cart_content_id` int(10) unsigned NOT NULL, `option_title` varchar(200) COLLATE utf8_unicode_ci NOT NULL, `option_type` enum('dropdown','radio','text','date','file') COLLATE utf8_unicode_ci NOT NULL, `option_selection_id` int(10) unsigned DEFAULT NULL, `title` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, `priceSign` enum('+','-') COLLATE utf8_unicode_ci DEFAULT NULL, `priceValue` decimal(10,4) DEFAULT NULL, `priceType` enum('percent','unit') COLLATE utf8_unicode_ci DEFAULT NULL, `weightSign` enum('+','-') COLLATE utf8_unicode_ci DEFAULT NULL, `weightValue` decimal(8,3) DEFAULT NULL, `cart_item_key` char(32) COLLATE utf8_unicode_ci NOT NULL, `cart_item_option_key` char(32) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `cart_item_key` (`cart_item_key`), KEY `cart_item_option_key` (`cart_item_option_key`), KEY `cart_item_key_2` (`cart_item_key`,`cart_item_option_key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_cart_session_options` -- LOCK TABLES `shopping_cart_session_options` WRITE; /*!40000 ALTER TABLE `shopping_cart_session_options` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_cart_session_options` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_companies` -- DROP TABLE IF EXISTS `shopping_companies`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_companies` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `company_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `company_name` (`company_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_companies` -- LOCK TABLES `shopping_companies` WRITE; /*!40000 ALTER TABLE `shopping_companies` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_companies` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_company_products` -- DROP TABLE IF EXISTS `shopping_company_products`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_company_products` ( `product_id` int(10) unsigned NOT NULL, `company_id` int(10) unsigned NOT NULL, PRIMARY KEY (`product_id`,`company_id`), KEY `company_id` (`company_id`), CONSTRAINT `shopping_company_products_ibfk_1` FOREIGN KEY (`product_id`) REFERENCES `shopping_product` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `shopping_company_products_ibfk_2` FOREIGN KEY (`company_id`) REFERENCES `shopping_companies` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_company_products` -- LOCK TABLES `shopping_company_products` WRITE; /*!40000 ALTER TABLE `shopping_company_products` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_company_products` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_company_suppliers` -- DROP TABLE IF EXISTS `shopping_company_suppliers`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_company_suppliers` ( `supplier_id` int(10) unsigned NOT NULL, `company_id` int(10) unsigned NOT NULL, PRIMARY KEY (`supplier_id`,`company_id`), KEY `company_id` (`company_id`), CONSTRAINT `shopping_company_suppliers_ibfk_1` FOREIGN KEY (`supplier_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `shopping_company_suppliers_ibfk_2` FOREIGN KEY (`company_id`) REFERENCES `shopping_companies` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_company_suppliers` -- LOCK TABLES `shopping_company_suppliers` WRITE; /*!40000 ALTER TABLE `shopping_company_suppliers` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_company_suppliers` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_config` -- DROP TABLE IF EXISTS `shopping_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_config` ( `name` varchar(200) COLLATE utf8_unicode_ci NOT NULL, `value` text COLLATE utf8_unicode_ci, PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_config` -- LOCK TABLES `shopping_config` WRITE; /*!40000 ALTER TABLE `shopping_config` DISABLE KEYS */; INSERT INTO `shopping_config` VALUES ('action','fireaction'),('address1','827 Shrader St.'),('address2','Suite 400'),('allowAutosave','1'),('autoQuote','0'),('cartPlugin','cart'),('city','San Francisco'),('company','Demo Store'),('controller','backend_plugin'),('country','US'),('currency','USD'),('disableAutosaveEmail','0'),('email','demostore@example.com'),('expirationDelay',''),('fiscalYearStart','1'),('forceSSLCheckout','0'),('lengthUnit','cm'),('minimumOrder','0'),('name','quote'),('noZeroPrice','1'),('phone','415 899 3455'),('pickupLocationLinks','0'),('pickupLocationLinksLimit','4'),('quoteDraggableProducts','0'),('quoteTemplate','quote'),('run','settings'),('secureToken','01c9b879214617ac1975d6dff93bef4d'),('showPriceIncTax','1'),('state','5'),('timezone','America/New_York'),('unsubscribeUserStatsEmailSentTo','2024-11-01'),('usNumericFormat','0'),('version','2.9.7'),('weightUnit','kg'),('zip','94117'); /*!40000 ALTER TABLE `shopping_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_coupon` -- DROP TABLE IF EXISTS `shopping_coupon`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_coupon` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Coupon ID', `code` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Coupon code', `type` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'discount' COMMENT 'Coupon discount type', `scope` enum('order','client') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Coupon usage scope', `startDate` date DEFAULT NULL COMMENT 'Coupon start date', `endDate` date DEFAULT NULL COMMENT 'Coupon expire date', `allowCombination` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0' COMMENT 'Allow combination with other coupons', `zoneId` int(10) unsigned DEFAULT NULL, `oneTimeUse` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0' COMMENT 'One time use coupon', PRIMARY KEY (`id`), KEY `code` (`code`), KEY `type` (`type`), CONSTRAINT `shopping_coupon_ibfk_1` FOREIGN KEY (`type`) REFERENCES `shopping_coupon_type` (`type`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_coupon` -- LOCK TABLES `shopping_coupon` WRITE; /*!40000 ALTER TABLE `shopping_coupon` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_coupon` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_coupon_discount` -- DROP TABLE IF EXISTS `shopping_coupon_discount`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_coupon_discount` ( `coupon_id` int(10) unsigned NOT NULL COMMENT 'Coupon ID', `minOrderAmount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT 'Allow combination with other coupons', `discountAmount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT 'Coupon discount amount', `discountUnits` enum('unit','percent') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'unit' COMMENT 'Coupon discount units', PRIMARY KEY (`coupon_id`), CONSTRAINT `shopping_coupon_discount_ibfk_1` FOREIGN KEY (`coupon_id`) REFERENCES `shopping_coupon` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_coupon_discount` -- LOCK TABLES `shopping_coupon_discount` WRITE; /*!40000 ALTER TABLE `shopping_coupon_discount` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_coupon_discount` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_coupon_freeshipping` -- DROP TABLE IF EXISTS `shopping_coupon_freeshipping`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_coupon_freeshipping` ( `coupon_id` int(10) unsigned NOT NULL COMMENT 'Coupon ID', `minOrderAmount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT 'Minimal order amount', PRIMARY KEY (`coupon_id`), CONSTRAINT `shopping_coupon_freeshipping_ibfk_2` FOREIGN KEY (`coupon_id`) REFERENCES `shopping_coupon` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_coupon_freeshipping` -- LOCK TABLES `shopping_coupon_freeshipping` WRITE; /*!40000 ALTER TABLE `shopping_coupon_freeshipping` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_coupon_freeshipping` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_coupon_product` -- DROP TABLE IF EXISTS `shopping_coupon_product`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_coupon_product` ( `coupon_id` int(10) unsigned NOT NULL COMMENT 'Coupon ID', `product_id` int(10) unsigned NOT NULL COMMENT 'Product ID', PRIMARY KEY (`coupon_id`,`product_id`), KEY `product_id` (`product_id`), CONSTRAINT `shopping_coupon_product_ibfk_3` FOREIGN KEY (`coupon_id`) REFERENCES `shopping_coupon` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `shopping_coupon_product_ibfk_4` FOREIGN KEY (`product_id`) REFERENCES `shopping_product` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_coupon_product` -- LOCK TABLES `shopping_coupon_product` WRITE; /*!40000 ALTER TABLE `shopping_coupon_product` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_coupon_product` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_coupon_sales` -- DROP TABLE IF EXISTS `shopping_coupon_sales`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_coupon_sales` ( `coupon_code` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Coupon code', `cart_id` int(10) unsigned NOT NULL COMMENT 'Cart Id', PRIMARY KEY (`coupon_code`,`cart_id`), KEY `cart_id` (`cart_id`), CONSTRAINT `shopping_coupon_sales_ibfk_3` FOREIGN KEY (`cart_id`) REFERENCES `shopping_cart_session` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_coupon_sales` -- LOCK TABLES `shopping_coupon_sales` WRITE; /*!40000 ALTER TABLE `shopping_coupon_sales` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_coupon_sales` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_coupon_type` -- DROP TABLE IF EXISTS `shopping_coupon_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_coupon_type` ( `type` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `label` tinytext COLLATE utf8_unicode_ci, PRIMARY KEY (`type`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_coupon_type` -- LOCK TABLES `shopping_coupon_type` WRITE; /*!40000 ALTER TABLE `shopping_coupon_type` DISABLE KEYS */; INSERT INTO `shopping_coupon_type` VALUES ('discount','Discount with min. order'),('freeshipping','Free shipping with min. order'); /*!40000 ALTER TABLE `shopping_coupon_type` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_coupon_usage` -- DROP TABLE IF EXISTS `shopping_coupon_usage`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_coupon_usage` ( `coupon_id` int(10) unsigned NOT NULL COMMENT 'Coupon ID', `cart_id` int(10) unsigned NOT NULL COMMENT 'Customer ID', PRIMARY KEY (`coupon_id`,`cart_id`), KEY `cart_id` (`cart_id`), CONSTRAINT `shopping_coupon_usage_ibfk_4` FOREIGN KEY (`coupon_id`) REFERENCES `shopping_coupon` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `shopping_coupon_usage_ibfk_5` FOREIGN KEY (`cart_id`) REFERENCES `shopping_cart_session` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_coupon_usage` -- LOCK TABLES `shopping_coupon_usage` WRITE; /*!40000 ALTER TABLE `shopping_coupon_usage` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_coupon_usage` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_customer_address` -- DROP TABLE IF EXISTS `shopping_customer_address`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_customer_address` ( `id` varchar(32) COLLATE utf8_unicode_ci NOT NULL, `user_id` int(10) unsigned DEFAULT NULL, `address_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `prefix` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL, `firstname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `lastname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `company` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `address1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `address2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `country` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `city` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `state` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `zip` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `phone` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `mobile` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `mobilecountrycode` char(2) COLLATE utf8_unicode_ci DEFAULT NULL, `mobile_country_code_value` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL, `phonecountrycode` char(2) COLLATE utf8_unicode_ci DEFAULT NULL, `phone_country_code_value` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL, `customer_notes` text COLLATE utf8_unicode_ci, `position` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `user_id` (`user_id`), KEY `state` (`state`), CONSTRAINT `shopping_customer_address_ibfk_3` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_customer_address` -- LOCK TABLES `shopping_customer_address` WRITE; /*!40000 ALTER TABLE `shopping_customer_address` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_customer_address` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_customer_info` -- DROP TABLE IF EXISTS `shopping_customer_info`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_customer_info` ( `user_id` int(10) unsigned NOT NULL, `default_shipping_address_id` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, `default_billing_address_id` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, `group_id` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`user_id`), CONSTRAINT `shopping_customer_info_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_customer_info` -- LOCK TABLES `shopping_customer_info` WRITE; /*!40000 ALTER TABLE `shopping_customer_info` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_customer_info` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_customer_rules_actions` -- DROP TABLE IF EXISTS `shopping_customer_rules_actions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_customer_rules_actions` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `rule_id` int(10) unsigned NOT NULL, `action_type` enum('assign_group') COLLATE utf8_unicode_ci DEFAULT 'assign_group', `action_config` text COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `rule_id` (`rule_id`,`action_type`), CONSTRAINT `shopping_customer_rules_actions_ibfk_1` FOREIGN KEY (`rule_id`) REFERENCES `shopping_customer_rules_general_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_customer_rules_actions` -- LOCK TABLES `shopping_customer_rules_actions` WRITE; /*!40000 ALTER TABLE `shopping_customer_rules_actions` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_customer_rules_actions` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_customer_rules_config` -- DROP TABLE IF EXISTS `shopping_customer_rules_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_customer_rules_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `rule_id` int(10) unsigned NOT NULL, `field_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `rule_comparison_operator` enum('equal','notequal','like','in','greaterthan','lessthan') COLLATE utf8_unicode_ci DEFAULT 'equal', `field_value` mediumtext COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `rule_id` (`rule_id`), CONSTRAINT `shopping_customer_rules_config_ibfk_1` FOREIGN KEY (`rule_id`) REFERENCES `shopping_customer_rules_general_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_customer_rules_config` -- LOCK TABLES `shopping_customer_rules_config` WRITE; /*!40000 ALTER TABLE `shopping_customer_rules_config` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_customer_rules_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_customer_rules_general_config` -- DROP TABLE IF EXISTS `shopping_customer_rules_general_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_customer_rules_general_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `rule_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `creator_id` int(10) unsigned DEFAULT NULL, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `editor_id` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `rule_name` (`rule_name`), KEY `creator_id` (`creator_id`), KEY `editor_id` (`editor_id`), CONSTRAINT `shopping_customer_rules_general_config_ibfk_1` FOREIGN KEY (`creator_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT `shopping_customer_rules_general_config_ibfk_2` FOREIGN KEY (`editor_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_customer_rules_general_config` -- LOCK TABLES `shopping_customer_rules_general_config` WRITE; /*!40000 ALTER TABLE `shopping_customer_rules_general_config` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_customer_rules_general_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_draggable` -- DROP TABLE IF EXISTS `shopping_draggable`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_draggable` ( `id` char(32) COLLATE utf8_unicode_ci NOT NULL, `data` text COLLATE utf8_unicode_ci NOT NULL, `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `user_id` int(10) unsigned NOT NULL, `ip_address` varchar(45) COLLATE utf8_unicode_ci NOT NULL, `page_id` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_draggable` -- LOCK TABLES `shopping_draggable` WRITE; /*!40000 ALTER TABLE `shopping_draggable` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_draggable` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_filter_preset` -- DROP TABLE IF EXISTS `shopping_filter_preset`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_filter_preset` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `creator_id` int(10) unsigned NOT NULL, `filter_preset_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `filter_preset_data` text COLLATE utf8_unicode_ci NOT NULL, `is_default` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `access` enum('all','individual') COLLATE utf8_unicode_ci DEFAULT 'individual', PRIMARY KEY (`id`), KEY `creator_id` (`creator_id`), CONSTRAINT `shopping_filter_preset_ibfk_1` FOREIGN KEY (`creator_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_filter_preset` -- LOCK TABLES `shopping_filter_preset` WRITE; /*!40000 ALTER TABLE `shopping_filter_preset` DISABLE KEYS */; INSERT INTO `shopping_filter_preset` VALUES (1,1,'Default filter','{\"filter_from_amount\":\"\",\"filter_to_amount\":\"\",\"filter_by_coupon_code\":\"\",\"orders_filter_fromdate\":\"\",\"orders_filter_todate\":\"\",\"filter_status\":[\"pending\",\"partial\",\"completed\",\"shipped\",\"delivered\",\"quote_signed\"],\"filter_order_type\":\"0\",\"filter_recurring_order_type\":\"\",\"filter_country\":\"_\",\"filter_state\":null,\"filter_carrier\":\"0\"}','1','all'); /*!40000 ALTER TABLE `shopping_filter_preset` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_filtering_attributes` -- DROP TABLE IF EXISTS `shopping_filtering_attributes`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_filtering_attributes` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Attribute ID', `name` varchar(200) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Attribute Name', `label` tinytext COLLATE utf8_unicode_ci NOT NULL COMMENT 'Attribute Label', PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_filtering_attributes` -- LOCK TABLES `shopping_filtering_attributes` WRITE; /*!40000 ALTER TABLE `shopping_filtering_attributes` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_filtering_attributes` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_filtering_tags_has_attributes` -- DROP TABLE IF EXISTS `shopping_filtering_tags_has_attributes`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_filtering_tags_has_attributes` ( `tag_id` int(10) unsigned NOT NULL, `attribute_id` int(10) unsigned NOT NULL, PRIMARY KEY (`tag_id`,`attribute_id`), KEY `attribute_id` (`attribute_id`), CONSTRAINT `shopping_filtering_tags_has_attributes_ibfk_1` FOREIGN KEY (`tag_id`) REFERENCES `shopping_tags` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_filtering_tags_has_attributes` -- LOCK TABLES `shopping_filtering_tags_has_attributes` WRITE; /*!40000 ALTER TABLE `shopping_filtering_tags_has_attributes` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_filtering_tags_has_attributes` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_filtering_values` -- DROP TABLE IF EXISTS `shopping_filtering_values`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_filtering_values` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `product_id` int(10) unsigned NOT NULL COMMENT 'Product ID', `attribute_id` int(10) unsigned NOT NULL COMMENT 'Attribute ID', `value` tinytext COLLATE utf8_unicode_ci NOT NULL COMMENT 'Attribute Value', PRIMARY KEY (`id`), KEY `attribute_id` (`attribute_id`), KEY `product_id` (`product_id`), CONSTRAINT `shopping_filtering_values_ibfk_1` FOREIGN KEY (`product_id`) REFERENCES `shopping_product` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_filtering_values` -- LOCK TABLES `shopping_filtering_values` WRITE; /*!40000 ALTER TABLE `shopping_filtering_values` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_filtering_values` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_filtering_widget_settings` -- DROP TABLE IF EXISTS `shopping_filtering_widget_settings`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_filtering_widget_settings` ( `filter_id` varchar(32) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Filter ID', `settings` text COLLATE utf8_unicode_ci NOT NULL COMMENT 'Widget Settings', PRIMARY KEY (`filter_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_filtering_widget_settings` -- LOCK TABLES `shopping_filtering_widget_settings` WRITE; /*!40000 ALTER TABLE `shopping_filtering_widget_settings` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_filtering_widget_settings` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_gateway_label` -- DROP TABLE IF EXISTS `shopping_gateway_label`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_gateway_label` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `gateway` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `gateway_label` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `gateway` (`gateway`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_gateway_label` -- LOCK TABLES `shopping_gateway_label` WRITE; /*!40000 ALTER TABLE `shopping_gateway_label` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_gateway_label` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_group` -- DROP TABLE IF EXISTS `shopping_group`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_group` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `groupName` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `priceSign` enum('plus','minus') COLLATE utf8_unicode_ci DEFAULT NULL, `priceType` enum('percent','unit') COLLATE utf8_unicode_ci DEFAULT NULL, `priceValue` decimal(10,2) DEFAULT NULL, `nonTaxable` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_group` -- LOCK TABLES `shopping_group` WRITE; /*!40000 ALTER TABLE `shopping_group` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_group` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_group_price` -- DROP TABLE IF EXISTS `shopping_group_price`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_group_price` ( `groupId` int(10) unsigned NOT NULL, `productId` int(10) unsigned NOT NULL, `priceValue` decimal(10,2) DEFAULT NULL, `priceSign` enum('plus','minus') COLLATE utf8_unicode_ci DEFAULT NULL, `priceType` enum('percent','unit') COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`groupId`,`productId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_group_price` -- LOCK TABLES `shopping_group_price` WRITE; /*!40000 ALTER TABLE `shopping_group_price` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_group_price` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_import_orders` -- DROP TABLE IF EXISTS `shopping_import_orders`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_import_orders` ( `real_order_id` int(10) unsigned NOT NULL, `import_order_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `created_at` datetime DEFAULT NULL, PRIMARY KEY (`real_order_id`,`import_order_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_import_orders` -- LOCK TABLES `shopping_import_orders` WRITE; /*!40000 ALTER TABLE `shopping_import_orders` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_import_orders` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_list_country` -- DROP TABLE IF EXISTS `shopping_list_country`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_list_country` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `country` varchar(10) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=263 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_list_country` -- LOCK TABLES `shopping_list_country` WRITE; /*!40000 ALTER TABLE `shopping_list_country` DISABLE KEYS */; INSERT INTO `shopping_list_country` VALUES (1,'AD'),(2,'AE'),(3,'AF'),(4,'AG'),(5,'AI'),(6,'AL'),(7,'AM'),(8,'AN'),(9,'AO'),(10,'AQ'),(11,'AR'),(12,'AS'),(13,'AT'),(14,'AU'),(15,'AW'),(16,'AX'),(17,'AZ'),(18,'BA'),(19,'BB'),(20,'BD'),(21,'BE'),(22,'BF'),(23,'BG'),(24,'BH'),(25,'BI'),(26,'BJ'),(27,'BL'),(28,'BM'),(29,'BN'),(30,'BO'),(31,'BQ'),(32,'BR'),(33,'BS'),(34,'BT'),(35,'BV'),(36,'BW'),(37,'BY'),(38,'BZ'),(39,'CA'),(40,'CC'),(41,'CD'),(42,'CF'),(43,'CG'),(44,'CH'),(45,'CI'),(46,'CK'),(47,'CL'),(48,'CM'),(49,'CN'),(50,'CO'),(51,'CR'),(52,'CS'),(53,'CT'),(54,'CU'),(55,'CV'),(56,'CX'),(57,'CY'),(58,'CZ'),(59,'DD'),(60,'DE'),(61,'DJ'),(62,'DK'),(63,'DM'),(64,'DO'),(65,'DZ'),(66,'EC'),(67,'EE'),(68,'EG'),(69,'EH'),(70,'ER'),(71,'ES'),(72,'ET'),(73,'FI'),(74,'FJ'),(75,'FK'),(76,'FM'),(77,'FO'),(78,'FQ'),(79,'FR'),(80,'FX'),(81,'GA'),(82,'GB'),(83,'GD'),(84,'GE'),(85,'GF'),(86,'GG'),(87,'GH'),(88,'GI'),(89,'GL'),(90,'GM'),(91,'GN'),(92,'GP'),(93,'GQ'),(94,'GR'),(95,'GS'),(96,'GT'),(97,'GU'),(98,'GW'),(99,'GY'),(100,'HK'),(101,'HM'),(102,'HN'),(103,'HR'),(104,'HT'),(105,'HU'),(106,'ID'),(107,'IE'),(108,'IL'),(109,'IM'),(110,'IN'),(111,'IO'),(112,'IQ'),(113,'IR'),(114,'IS'),(115,'IT'),(116,'JE'),(117,'JM'),(118,'JO'),(119,'JP'),(120,'JT'),(121,'KE'),(122,'KG'),(123,'KH'),(124,'KI'),(125,'KM'),(126,'KN'),(127,'KP'),(128,'KR'),(129,'KW'),(130,'KY'),(131,'KZ'),(132,'LA'),(133,'LB'),(134,'LC'),(135,'LI'),(136,'LK'),(137,'LR'),(138,'LS'),(139,'LT'),(140,'LU'),(141,'LV'),(142,'LY'),(143,'MA'),(144,'MC'),(145,'MD'),(146,'ME'),(147,'MF'),(148,'MG'),(149,'MH'),(150,'MI'),(151,'MK'),(152,'ML'),(153,'MM'),(154,'MN'),(155,'MO'),(156,'MP'),(157,'MQ'),(158,'MR'),(159,'MS'),(160,'MT'),(161,'MU'),(162,'MV'),(163,'MW'),(164,'MX'),(165,'MY'),(166,'MZ'),(167,'NA'),(168,'NC'),(169,'NE'),(170,'NF'),(171,'NG'),(172,'NI'),(173,'NL'),(174,'NO'),(175,'NP'),(176,'NQ'),(177,'NR'),(178,'NT'),(179,'NU'),(180,'NZ'),(181,'OM'),(182,'PA'),(183,'PC'),(184,'PE'),(185,'PF'),(186,'PG'),(187,'PH'),(188,'PK'),(189,'PL'),(190,'PM'),(191,'PN'),(192,'PR'),(193,'PS'),(194,'PT'),(195,'PU'),(196,'PW'),(197,'PY'),(198,'PZ'),(199,'QA'),(200,'RE'),(201,'RO'),(202,'RS'),(203,'RU'),(204,'RW'),(205,'SA'),(206,'SB'),(207,'SC'),(208,'SD'),(209,'SE'),(210,'SG'),(211,'SH'),(212,'SI'),(213,'SJ'),(214,'SK'),(215,'SL'),(216,'SM'),(217,'SN'),(218,'SO'),(219,'SR'),(220,'ST'),(221,'SV'),(222,'SY'),(223,'SZ'),(224,'TC'),(225,'TD'),(226,'TF'),(227,'TG'),(228,'TH'),(229,'TJ'),(230,'TK'),(231,'TL'),(232,'TM'),(233,'TN'),(234,'TO'),(235,'TR'),(236,'TT'),(237,'TV'),(238,'TW'),(239,'TZ'),(240,'UA'),(241,'UG'),(242,'UM'),(243,'US'),(244,'UY'),(245,'UZ'),(246,'VA'),(247,'VC'),(248,'VD'),(249,'VE'),(250,'VG'),(251,'VI'),(252,'VN'),(253,'VU'),(254,'WF'),(255,'WK'),(256,'WS'),(257,'YD'),(258,'YE'),(259,'YT'),(260,'ZA'),(261,'ZM'),(262,'ZW'); /*!40000 ALTER TABLE `shopping_list_country` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_list_state` -- DROP TABLE IF EXISTS `shopping_list_state`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_list_state` ( `id` int(11) NOT NULL AUTO_INCREMENT, `country` varchar(10) COLLATE utf8_unicode_ci NOT NULL, `state` varchar(10) COLLATE utf8_unicode_ci NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=73 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_list_state` -- LOCK TABLES `shopping_list_state` WRITE; /*!40000 ALTER TABLE `shopping_list_state` DISABLE KEYS */; INSERT INTO `shopping_list_state` VALUES (1,'US','AL','Alabama'),(2,'US','AK','Alaska'),(3,'US','AZ','Arizona'),(4,'US','AR','Arkansas'),(5,'US','CA','California'),(6,'US','CO','Colorado'),(7,'US','CT','Connecticut'),(8,'US','DE','Delaware'),(9,'US','DC','District Of Columbia'),(10,'US','FL','Florida'),(11,'US','GA','Georgia'),(12,'US','HI','Hawaii'),(13,'US','ID','Idaho'),(14,'US','IL','Illinois'),(15,'US','IN','Indiana'),(16,'US','IA','Iowa'),(17,'US','KS','Kansas'),(18,'US','KY','Kentucky'),(19,'US','LA','Louisiana'),(20,'US','ME','Maine'),(21,'US','MD','Maryland'),(22,'US','MA','Massachusetts'),(23,'US','MI','Michigan'),(24,'US','MN','Minnesota'),(25,'US','MS','Mississippi'),(26,'US','MO','Missouri'),(27,'US','MT','Montana'),(28,'US','NE','Nebraska'),(29,'US','NV','Nevada'),(30,'US','NH','New Hampshire'),(31,'US','NJ','New Jersey'),(32,'US','NM','New Mexico'),(33,'US','NY','New York'),(34,'US','NC','North Carolina'),(35,'US','ND','North Dakota'),(36,'US','OH','Ohio'),(37,'US','OK','Oklahoma'),(38,'US','OR','Oregon'),(39,'US','PA','Pennsylvania'),(40,'US','RI','Rhode Island'),(41,'US','SC','South Carolina'),(42,'US','SD','South Dakota'),(43,'US','TN','Tennessee'),(44,'US','TX','Texas'),(45,'US','UT','Utah'),(46,'US','VT','Vermont'),(47,'US','VA','Virginia'),(48,'US','WA','Washington'),(49,'US','WV','West Virginia'),(50,'US','WI','Wisconsin'),(51,'US','WY','Wyoming'),(52,'CA','AB','Alberta'),(53,'CA','BC','British Columbia'),(54,'CA','MB','Manitoba'),(55,'CA','NB','New Brunswick'),(56,'CA','NF','Newfoundland and Labrador'),(57,'CA','NT','Northwest Territories'),(58,'CA','NS','Nova Scotia'),(59,'CA','NU','Nunavut'),(60,'CA','ON','Ontario'),(61,'CA','PE','Prince Edward Island'),(62,'CA','QC','Quebec'),(63,'CA','SK','Saskatchewan'),(64,'CA','YT','Yukon Territory'),(65,'AU','ACT','Australian Capital Territory'),(66,'AU','NSW','New South Wales'),(67,'AU','NT','Northern Territory'),(68,'AU','QLD','Queensland'),(69,'AU','SA','South Australia'),(70,'AU','TAS','Tasmania'),(71,'AU','VIC','Victoria'),(72,'AU','WA','Western Australia'); /*!40000 ALTER TABLE `shopping_list_state` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_notification_notified_products` -- DROP TABLE IF EXISTS `shopping_notification_notified_products`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_notification_notified_products` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(10) unsigned NOT NULL, `product_id` int(10) unsigned NOT NULL, `added_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `send_notification` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `user_id` (`user_id`), KEY `product_id` (`product_id`), CONSTRAINT `shopping_notification_notified_products_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `shopping_notification_notified_products_ibfk_2` FOREIGN KEY (`product_id`) REFERENCES `shopping_product` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_notification_notified_products` -- LOCK TABLES `shopping_notification_notified_products` WRITE; /*!40000 ALTER TABLE `shopping_notification_notified_products` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_notification_notified_products` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_pickup_location` -- DROP TABLE IF EXISTS `shopping_pickup_location`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_pickup_location` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `address1` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `address2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `zip` varchar(10) COLLATE utf8_unicode_ci NOT NULL, `country` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `city` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `working_hours` text COLLATE utf8_unicode_ci NOT NULL, `phone` varchar(50) COLLATE utf8_unicode_ci NOT NULL, `location_category_id` int(10) unsigned NOT NULL, `lat` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `lng` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `notes` text COLLATE utf8_unicode_ci, `weight` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `external_id` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `allowed_to_delete` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', PRIMARY KEY (`id`), KEY `country` (`country`), KEY `city` (`city`), KEY `country_city` (`city`,`country`), KEY `location_category_id` (`location_category_id`), CONSTRAINT `shopping_pickup_location_ibfk_1` FOREIGN KEY (`location_category_id`) REFERENCES `shopping_pickup_location_category` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_pickup_location` -- LOCK TABLES `shopping_pickup_location` WRITE; /*!40000 ALTER TABLE `shopping_pickup_location` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_pickup_location` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_pickup_location_cart` -- DROP TABLE IF EXISTS `shopping_pickup_location_cart`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_pickup_location_cart` ( `cart_id` int(10) unsigned NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `address1` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `address2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `zip` varchar(10) COLLATE utf8_unicode_ci NOT NULL, `country` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `city` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `working_hours` text COLLATE utf8_unicode_ci NOT NULL, `phone` varchar(50) COLLATE utf8_unicode_ci NOT NULL, `location_category_id` int(10) unsigned NOT NULL, `lat` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `lng` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`cart_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_pickup_location_cart` -- LOCK TABLES `shopping_pickup_location_cart` WRITE; /*!40000 ALTER TABLE `shopping_pickup_location_cart` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_pickup_location_cart` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_pickup_location_category` -- DROP TABLE IF EXISTS `shopping_pickup_location_category`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_pickup_location_category` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(200) COLLATE utf8_unicode_ci NOT NULL, `img` varchar(300) COLLATE utf8_unicode_ci DEFAULT NULL, `external_category` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_pickup_location_category` -- LOCK TABLES `shopping_pickup_location_category` WRITE; /*!40000 ALTER TABLE `shopping_pickup_location_category` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_pickup_location_category` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_pickup_location_config` -- DROP TABLE IF EXISTS `shopping_pickup_location_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_pickup_location_config` ( `id` int(10) unsigned NOT NULL, `amount_type_limit` enum('up to','over','eachover') COLLATE utf8_unicode_ci DEFAULT NULL, `amount_limit` decimal(10,2) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_pickup_location_config` -- LOCK TABLES `shopping_pickup_location_config` WRITE; /*!40000 ALTER TABLE `shopping_pickup_location_config` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_pickup_location_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_pickup_location_zones` -- DROP TABLE IF EXISTS `shopping_pickup_location_zones`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_pickup_location_zones` ( `config_id` int(10) unsigned NOT NULL, `pickup_location_category_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `amount_location_category` decimal(10,2) DEFAULT NULL, `config_zone_id` int(10) unsigned NOT NULL, PRIMARY KEY (`config_id`,`config_zone_id`), CONSTRAINT `shopping_pickup_location_zones_ibfk_1` FOREIGN KEY (`config_id`) REFERENCES `shopping_pickup_location_config` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_pickup_location_zones` -- LOCK TABLES `shopping_pickup_location_zones` WRITE; /*!40000 ALTER TABLE `shopping_pickup_location_zones` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_pickup_location_zones` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_product` -- DROP TABLE IF EXISTS `shopping_product`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_product` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `parent_id` int(10) unsigned DEFAULT NULL, `page_id` int(10) unsigned DEFAULT NULL, `enabled` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '1', `sku` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `name` varchar(200) COLLATE utf8_unicode_ci NOT NULL, `mpn` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, `weight` decimal(8,3) DEFAULT NULL, `brand_id` int(10) unsigned DEFAULT NULL, `photo` varchar(300) COLLATE utf8_unicode_ci DEFAULT NULL, `short_description` mediumtext COLLATE utf8_unicode_ci, `full_description` text COLLATE utf8_unicode_ci, `price` decimal(10,4) DEFAULT NULL, `tax_class` enum('0','1','2','3') COLLATE utf8_unicode_ci DEFAULT '1', `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL, `base_price` decimal(10,2) DEFAULT NULL, `inventory` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, `free_shipping` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `is_digital` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `prod_length` decimal(10,2) DEFAULT NULL, `prod_depth` decimal(10,2) DEFAULT NULL, `prod_width` decimal(10,2) DEFAULT NULL, `gtin` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `wishlist_qty` int(10) unsigned DEFAULT '0', `minimum_order` int(3) unsigned DEFAULT '0', `negative_stock` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `sku` (`sku`), KEY `page_id` (`page_id`), KEY `brand_id` (`brand_id`) ) ENGINE=InnoDB AUTO_INCREMENT=106 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_product` -- LOCK TABLES `shopping_product` WRITE; /*!40000 ALTER TABLE `shopping_product` DISABLE KEYS */; INSERT INTO `shopping_product` VALUES (97,NULL,608,'1','1-1-1','product new 1','',NULL,4,'new-products/eye-shadow.jpg','Lorem ipsum dolor sit amet, non quis nulla justo id eleifend vitae, parturient sapien sodales vel.','',20.0000,'1','2016-10-12 04:57:44',NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,0,0,'0'),(98,NULL,609,'1','2-2-2','product new 2','',NULL,4,'new-products/nail-varnish-.jpg','product new 2','',20.0000,'1','2016-10-12 04:58:48','2016-10-26 04:26:02',NULL,NULL,'0','0',NULL,NULL,NULL,NULL,0,0,'0'),(99,NULL,610,'1','3-3-3','Super Lustrous Lipstick','',NULL,4,'new-products/lipstick.jpg','product new 3','',20.0000,'1','2016-10-12 04:59:33','2016-10-26 04:21:57',NULL,NULL,'0','0',NULL,NULL,NULL,NULL,0,0,'0'),(100,NULL,611,'1','4-4-4','Proruct new 4','',NULL,4,'new-products/eye-shadow1.jpg','Proruct new 4','',30.0000,'1','2016-10-12 06:47:37','2016-10-25 06:12:31',NULL,NULL,'0','0',NULL,NULL,NULL,NULL,0,0,'0'),(101,NULL,612,'1','5-5-5','Product new 5','',NULL,4,'new-products/lipstick1.jpg','Product new 5','',30.0000,'1','2016-10-12 06:48:48','2016-10-26 04:23:57',NULL,NULL,'0','0',NULL,NULL,NULL,NULL,0,0,'0'),(102,NULL,613,'1','6-6-6','Nail Polish - Park Dark','',NULL,4,'new-products/manicure.jpg','This nail polish available in vivid shades that pop, wow, flatter and inspire. In cream, glitter, shimmer and matte, and in formulas you want, that provide full colour coverage.','',40.0000,'1','2016-10-12 06:50:06','2016-10-26 04:26:11',NULL,NULL,'0','0',NULL,NULL,NULL,NULL,0,0,'0'),(103,NULL,614,'1','8-8-8','Product new 8','',NULL,4,'new-products/nail-varnish1.jpg','Product new 8','',20.0000,'1','2016-10-12 07:34:24','2016-10-26 04:26:25',NULL,NULL,'0','0',NULL,NULL,NULL,NULL,0,0,'0'),(104,NULL,621,'1','56443','cream for face','',NULL,4,'new-products/face-cream.jpg','cream for face','',30.0000,'1','2016-10-26 04:01:40','2017-01-27 05:14:06',NULL,NULL,'0','0',NULL,NULL,NULL,NULL,0,0,'0'),(105,NULL,622,'1','2112','cream for face 1','',NULL,4,'new-products/face-cream.jpg','cream for face 1','',40.0000,'1','2016-10-26 04:07:16','2017-01-27 05:14:32',NULL,NULL,'0','0',NULL,NULL,NULL,NULL,0,0,'0'); /*!40000 ALTER TABLE `shopping_product` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_product_custom_fields_config` -- DROP TABLE IF EXISTS `shopping_product_custom_fields_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_product_custom_fields_config` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `param_type` enum('text','select') COLLATE utf8_unicode_ci DEFAULT 'text', `param_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `label` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `param_type` (`param_type`,`param_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_product_custom_fields_config` -- LOCK TABLES `shopping_product_custom_fields_config` WRITE; /*!40000 ALTER TABLE `shopping_product_custom_fields_config` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_product_custom_fields_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_product_custom_params_data` -- DROP TABLE IF EXISTS `shopping_product_custom_params_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_product_custom_params_data` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `param_id` int(10) unsigned NOT NULL, `product_id` int(10) unsigned NOT NULL, `param_value` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `params_option_id` int(10) DEFAULT NULL, PRIMARY KEY (`id`), KEY `param_id` (`param_id`), KEY `product_id` (`product_id`), CONSTRAINT `shopping_product_custom_params_data_ibfk_1` FOREIGN KEY (`param_id`) REFERENCES `shopping_product_custom_fields_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `shopping_product_custom_params_data_ibfk_2` FOREIGN KEY (`product_id`) REFERENCES `shopping_product` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_product_custom_params_data` -- LOCK TABLES `shopping_product_custom_params_data` WRITE; /*!40000 ALTER TABLE `shopping_product_custom_params_data` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_product_custom_params_data` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_product_custom_params_options_data` -- DROP TABLE IF EXISTS `shopping_product_custom_params_options_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_product_custom_params_options_data` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `custom_param_id` int(10) unsigned NOT NULL, `option_value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `custom_param_id` (`custom_param_id`), CONSTRAINT `shopping_product_custom_params_options_data_ibfk_1` FOREIGN KEY (`custom_param_id`) REFERENCES `shopping_product_custom_fields_config` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_product_custom_params_options_data` -- LOCK TABLES `shopping_product_custom_params_options_data` WRITE; /*!40000 ALTER TABLE `shopping_product_custom_params_options_data` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_product_custom_params_options_data` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_product_digital_goods` -- DROP TABLE IF EXISTS `shopping_product_digital_goods`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_product_digital_goods` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `file_stored_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Stored file name', `file_hash` char(40) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Hash for download link', `original_file_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Original file name', `display_file_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Display file name', `product_id` int(10) unsigned NOT NULL COMMENT 'Product id', `uploaded_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Upload date', `start_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Start sales date', `end_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'End sales date', `download_limit` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'File download limit', `product_type` enum('downloadable','viewable') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'downloadable' COMMENT 'Digital product distribution type', `ip_address` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `file_hash` (`file_hash`), KEY `shopping_product_digital_goods_ibfk_1` (`product_id`), CONSTRAINT `shopping_product_digital_goods_ibfk_1` FOREIGN KEY (`product_id`) REFERENCES `shopping_product` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_product_digital_goods` -- LOCK TABLES `shopping_product_digital_goods` WRITE; /*!40000 ALTER TABLE `shopping_product_digital_goods` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_product_digital_goods` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_product_freebies_settings` -- DROP TABLE IF EXISTS `shopping_product_freebies_settings`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_product_freebies_settings` ( `prod_id` int(10) unsigned NOT NULL, `price_value` decimal(10,4) DEFAULT '0.0000', `quantity` int(4) unsigned DEFAULT '0', PRIMARY KEY (`prod_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_product_freebies_settings` -- LOCK TABLES `shopping_product_freebies_settings` WRITE; /*!40000 ALTER TABLE `shopping_product_freebies_settings` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_product_freebies_settings` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_product_has_freebies` -- DROP TABLE IF EXISTS `shopping_product_has_freebies`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_product_has_freebies` ( `product_id` int(10) unsigned NOT NULL, `freebies_id` int(10) unsigned NOT NULL, `freebies_quantity` int(4) unsigned NOT NULL, PRIMARY KEY (`product_id`,`freebies_id`), KEY `freebies_id` (`freebies_id`), CONSTRAINT `shopping_product_has_freebies_ibfk_1` FOREIGN KEY (`freebies_id`) REFERENCES `shopping_product` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_product_has_freebies` -- LOCK TABLES `shopping_product_has_freebies` WRITE; /*!40000 ALTER TABLE `shopping_product_has_freebies` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_product_has_freebies` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_product_has_option` -- DROP TABLE IF EXISTS `shopping_product_has_option`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_product_has_option` ( `product_id` int(10) unsigned NOT NULL, `option_id` int(10) unsigned NOT NULL, PRIMARY KEY (`product_id`,`option_id`), KEY `fk_shopping_product_has_shopping_product_option_shopping_prod2` (`option_id`), CONSTRAINT `shopping_product_has_option_ibfk_1` FOREIGN KEY (`option_id`) REFERENCES `shopping_product_option` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `shopping_product_has_option_ibfk_2` FOREIGN KEY (`product_id`) REFERENCES `shopping_product` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_product_has_option` -- LOCK TABLES `shopping_product_has_option` WRITE; /*!40000 ALTER TABLE `shopping_product_has_option` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_product_has_option` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_product_has_part` -- DROP TABLE IF EXISTS `shopping_product_has_part`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_product_has_part` ( `product_id` int(10) unsigned NOT NULL, `part_id` int(10) unsigned NOT NULL, PRIMARY KEY (`product_id`,`part_id`), CONSTRAINT `shopping_product_has_part_ibfk_1` FOREIGN KEY (`product_id`) REFERENCES `shopping_product` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_product_has_part` -- LOCK TABLES `shopping_product_has_part` WRITE; /*!40000 ALTER TABLE `shopping_product_has_part` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_product_has_part` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_product_has_related` -- DROP TABLE IF EXISTS `shopping_product_has_related`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_product_has_related` ( `product_id` int(10) unsigned NOT NULL, `related_id` int(10) unsigned NOT NULL, PRIMARY KEY (`product_id`,`related_id`), KEY `fk_shopping_product1` (`related_id`), KEY `fk_shopping_product2` (`product_id`), CONSTRAINT `shopping_product_has_related_ibfk_1` FOREIGN KEY (`product_id`) REFERENCES `shopping_product` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_product_has_related` -- LOCK TABLES `shopping_product_has_related` WRITE; /*!40000 ALTER TABLE `shopping_product_has_related` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_product_has_related` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_product_has_tag` -- DROP TABLE IF EXISTS `shopping_product_has_tag`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_product_has_tag` ( `product_id` int(10) unsigned NOT NULL, `tag_id` int(10) unsigned NOT NULL, PRIMARY KEY (`product_id`,`tag_id`), KEY `tag_id` (`tag_id`), CONSTRAINT `shopping_product_has_tag_ibfk_2` FOREIGN KEY (`product_id`) REFERENCES `shopping_product` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `shopping_product_has_tag_ibfk_3` FOREIGN KEY (`tag_id`) REFERENCES `shopping_tags` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_product_has_tag` -- LOCK TABLES `shopping_product_has_tag` WRITE; /*!40000 ALTER TABLE `shopping_product_has_tag` DISABLE KEYS */; INSERT INTO `shopping_product_has_tag` VALUES (97,11),(98,11),(99,11),(100,11),(101,11),(102,11),(103,11),(104,11),(105,11),(97,12),(98,12),(99,12),(102,12),(100,13),(101,13),(102,13),(103,13),(104,14),(105,14),(99,15),(101,15),(98,16),(102,16),(103,16); /*!40000 ALTER TABLE `shopping_product_has_tag` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_product_option` -- DROP TABLE IF EXISTS `shopping_product_option`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_product_option` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `parentId` int(10) unsigned DEFAULT NULL, `title` varchar(200) COLLATE utf8_unicode_ci NOT NULL, `type` enum('dropdown','radio','text','date','file','textarea','additionalpricefield') COLLATE utf8_unicode_ci NOT NULL, `hideDefaultOption` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', PRIMARY KEY (`id`), KEY `indTitle` (`title`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_product_option` -- LOCK TABLES `shopping_product_option` WRITE; /*!40000 ALTER TABLE `shopping_product_option` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_product_option` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_product_option_selection` -- DROP TABLE IF EXISTS `shopping_product_option_selection`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_product_option_selection` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `option_id` int(10) unsigned DEFAULT NULL, `title` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, `priceSign` enum('+','-') COLLATE utf8_unicode_ci DEFAULT NULL, `priceValue` decimal(10,4) DEFAULT NULL, `priceType` enum('percent','unit') COLLATE utf8_unicode_ci DEFAULT NULL, `weightSign` enum('+','-') COLLATE utf8_unicode_ci DEFAULT NULL, `weightValue` decimal(8,3) DEFAULT NULL, `isDefault` enum('1','0') COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `indTitle` (`title`), KEY `fk_shopping_product_option_selection_shopping_product_option1` (`option_id`), CONSTRAINT `fk_shopping_product_option_selection_shopping_product_option1` FOREIGN KEY (`option_id`) REFERENCES `shopping_product_option` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_product_option_selection` -- LOCK TABLES `shopping_product_option_selection` WRITE; /*!40000 ALTER TABLE `shopping_product_option_selection` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_product_option_selection` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_product_set_settings` -- DROP TABLE IF EXISTS `shopping_product_set_settings`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_product_set_settings` ( `productId` int(10) unsigned NOT NULL, `autoCalculatePrice` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '1', PRIMARY KEY (`productId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_product_set_settings` -- LOCK TABLES `shopping_product_set_settings` WRITE; /*!40000 ALTER TABLE `shopping_product_set_settings` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_product_set_settings` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_quote` -- DROP TABLE IF EXISTS `shopping_quote`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_quote` ( `id` varchar(20) COLLATE utf8_unicode_ci NOT NULL, `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `status` enum('new','sent','signature_only_signed','sold','lost') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'new', `disclaimer` text COLLATE utf8_unicode_ci, `internal_note` text COLLATE utf8_unicode_ci, `discount_tax_rate` enum('0','1','2','3') COLLATE utf8_unicode_ci DEFAULT '1', `delivery_type` tinytext COLLATE utf8_unicode_ci, `cart_id` int(10) unsigned DEFAULT NULL, `edited_by` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `editor_id` int(10) DEFAULT NULL, `creator_id` int(10) unsigned DEFAULT '0', `expires_at` timestamp NULL DEFAULT NULL, `expiration_notification_is_send` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `user_id` int(10) unsigned DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `payment_type` enum('full_payment','partial_payment','only_signature') COLLATE utf8_unicode_ci DEFAULT 'full_payment', `is_signature_required` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `pdf_template` varchar(45) COLLATE utf8_unicode_ci DEFAULT '', `signature` longtext COLLATE utf8_unicode_ci, `is_quote_signed` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `quote_signed_at` timestamp NULL DEFAULT NULL, `is_quote_restricted_control` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `signature_info_field` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`), KEY `title` (`title`), KEY `status` (`status`), KEY `edited_by` (`edited_by`), KEY `cart_id` (`cart_id`), KEY `user_id` (`user_id`), CONSTRAINT `shopping_quote_ibfk_2` FOREIGN KEY (`cart_id`) REFERENCES `shopping_cart_session` (`id`) ON DELETE SET NULL, CONSTRAINT `shopping_quote_ibfk_3` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_quote` -- LOCK TABLES `shopping_quote` WRITE; /*!40000 ALTER TABLE `shopping_quote` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_quote` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_quote_conversions` -- DROP TABLE IF EXISTS `shopping_quote_conversions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_quote_conversions` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `cart_id` int(10) unsigned NOT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `cart_id` (`cart_id`), CONSTRAINT `shopping_quote_conversions_ibfk_1` FOREIGN KEY (`cart_id`) REFERENCES `shopping_cart_session` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_quote_conversions` -- LOCK TABLES `shopping_quote_conversions` WRITE; /*!40000 ALTER TABLE `shopping_quote_conversions` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_quote_conversions` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_quote_draggable` -- DROP TABLE IF EXISTS `shopping_quote_draggable`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_quote_draggable` ( `quoteId` varchar(20) COLLATE utf8_unicode_ci NOT NULL, `data` text COLLATE utf8_unicode_ci, PRIMARY KEY (`quoteId`), CONSTRAINT `shopping_quote_draggable_ibfk_1` FOREIGN KEY (`quoteId`) REFERENCES `shopping_quote` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_quote_draggable` -- LOCK TABLES `shopping_quote_draggable` WRITE; /*!40000 ALTER TABLE `shopping_quote_draggable` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_quote_draggable` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_recurring_payment` -- DROP TABLE IF EXISTS `shopping_recurring_payment`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_recurring_payment` ( `cart_id` int(10) unsigned NOT NULL COMMENT 'Cart id', `subscription_id` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Subscription id', `ipn_tracking_id` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Ipn number', `gateway_type` varchar(100) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Payment gateway name', `payment_period` varchar(30) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Frequency of recurring payment', `recurring_times` smallint(5) unsigned NOT NULL COMMENT 'Amount of payments', `subscription_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Subscription date', `payment_cycle_amount` decimal(10,4) DEFAULT NULL COMMENT 'Amount for each recurring cycle', `total_amount_paid` decimal(10,4) DEFAULT NULL COMMENT 'Amount paid', `last_payment_date` date NOT NULL DEFAULT '0000-00-00' COMMENT 'Last payment date', `next_payment_date` date NOT NULL DEFAULT '0000-00-00' COMMENT 'Next payment date', `recurring_status` enum('new','active','pending','expired','suspended','canceled') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'new' COMMENT 'Recurring payment status', `accept_changing_next_billing_date` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0' COMMENT 'Flag for change next payment date', `accept_changing_shipping_address` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0' COMMENT 'Flag for change shipping address', `free_transaction_cycle` tinyint(3) unsigned DEFAULT NULL COMMENT 'Free transaction cycle quantity', `transactions_quantity` smallint(5) unsigned DEFAULT NULL COMMENT 'Transaction total quantity', `custom_type` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Additional information for payment', PRIMARY KEY (`cart_id`), CONSTRAINT `shopping_recurring_payment_ibfk_2` FOREIGN KEY (`cart_id`) REFERENCES `shopping_cart_session` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_recurring_payment` -- LOCK TABLES `shopping_recurring_payment` WRITE; /*!40000 ALTER TABLE `shopping_recurring_payment` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_recurring_payment` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_shipping_config` -- DROP TABLE IF EXISTS `shopping_shipping_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_shipping_config` ( `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Shipping plugin name', `enabled` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', `config` text COLLATE utf8_unicode_ci, PRIMARY KEY (`name`), KEY `enabled` (`enabled`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_shipping_config` -- LOCK TABLES `shopping_shipping_config` WRITE; /*!40000 ALTER TABLE `shopping_shipping_config` DISABLE KEYS */; INSERT INTO `shopping_shipping_config` VALUES ('freeshipping','1',NULL),('pickup','1',NULL); /*!40000 ALTER TABLE `shopping_shipping_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_shipping_service_label` -- DROP TABLE IF EXISTS `shopping_shipping_service_label`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_shipping_service_label` ( `name` varchar(200) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Service Name', `label` varchar(200) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Service Custom Label', UNIQUE KEY `name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_shipping_service_label` -- LOCK TABLES `shopping_shipping_service_label` WRITE; /*!40000 ALTER TABLE `shopping_shipping_service_label` DISABLE KEYS */; INSERT INTO `shopping_shipping_service_label` VALUES ('delivery','Delivery service'),('flatrateshipping','Flatrateshipping'); /*!40000 ALTER TABLE `shopping_shipping_service_label` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_shipping_url` -- DROP TABLE IF EXISTS `shopping_shipping_url`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_shipping_url` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `default_status` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_shipping_url` -- LOCK TABLES `shopping_shipping_url` WRITE; /*!40000 ALTER TABLE `shopping_shipping_url` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_shipping_url` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_tags` -- DROP TABLE IF EXISTS `shopping_tags`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_tags` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(200) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_tags` -- LOCK TABLES `shopping_tags` WRITE; /*!40000 ALTER TABLE `shopping_tags` DISABLE KEYS */; INSERT INTO `shopping_tags` VALUES (15,'Lips'),(16,'Nails'),(11,'New product'),(12,'Recommended'),(13,'Sale'),(14,'Skin'); /*!40000 ALTER TABLE `shopping_tags` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_tax` -- DROP TABLE IF EXISTS `shopping_tax`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_tax` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `zoneId` int(10) unsigned NOT NULL, `rate1` decimal(10,2) NOT NULL DEFAULT '0.00', `rate2` decimal(10,2) NOT NULL DEFAULT '0.00', `rate3` decimal(10,2) NOT NULL DEFAULT '0.00', `isDefault` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `zoneId` (`zoneId`), CONSTRAINT `shopping_tax_ibfk_1` FOREIGN KEY (`zoneId`) REFERENCES `shopping_zone` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_tax` -- LOCK TABLES `shopping_tax` WRITE; /*!40000 ALTER TABLE `shopping_tax` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_tax` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_wishlist_wished_products` -- DROP TABLE IF EXISTS `shopping_wishlist_wished_products`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_wishlist_wished_products` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(10) unsigned NOT NULL, `product_id` int(10) unsigned NOT NULL, `added_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `user_id` (`user_id`), KEY `product_id` (`product_id`), CONSTRAINT `shopping_wishlist_wished_products_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `shopping_wishlist_wished_products_ibfk_2` FOREIGN KEY (`product_id`) REFERENCES `shopping_product` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_wishlist_wished_products` -- LOCK TABLES `shopping_wishlist_wished_products` WRITE; /*!40000 ALTER TABLE `shopping_wishlist_wished_products` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_wishlist_wished_products` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_zone` -- DROP TABLE IF EXISTS `shopping_zone`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_zone` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(200) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_zone` -- LOCK TABLES `shopping_zone` WRITE; /*!40000 ALTER TABLE `shopping_zone` DISABLE KEYS */; INSERT INTO `shopping_zone` VALUES (1,'US'),(2,'CA'),(3,'EU'); /*!40000 ALTER TABLE `shopping_zone` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_zone_country` -- DROP TABLE IF EXISTS `shopping_zone_country`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_zone_country` ( `zone_id` int(11) unsigned NOT NULL, `country_id` int(11) unsigned NOT NULL, PRIMARY KEY (`zone_id`,`country_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_zone_country` -- LOCK TABLES `shopping_zone_country` WRITE; /*!40000 ALTER TABLE `shopping_zone_country` DISABLE KEYS */; INSERT INTO `shopping_zone_country` VALUES (1,243),(2,39),(3,13),(3,21),(3,23),(3,57),(3,58),(3,60),(3,62),(3,67),(3,71),(3,73),(3,79),(3,82),(3,94),(3,105),(3,107),(3,115),(3,139),(3,140),(3,141),(3,160),(3,173),(3,189),(3,194),(3,201),(3,209),(3,212),(3,214); /*!40000 ALTER TABLE `shopping_zone_country` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_zone_state` -- DROP TABLE IF EXISTS `shopping_zone_state`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_zone_state` ( `zone_id` int(10) unsigned NOT NULL, `state_id` int(10) unsigned NOT NULL, PRIMARY KEY (`zone_id`,`state_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_zone_state` -- LOCK TABLES `shopping_zone_state` WRITE; /*!40000 ALTER TABLE `shopping_zone_state` DISABLE KEYS */; INSERT INTO `shopping_zone_state` VALUES (1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9),(1,10),(1,11),(1,12),(1,13),(1,14),(1,15),(1,16),(1,17),(1,18),(1,19),(1,20),(1,21),(1,22),(1,23),(1,24),(1,25),(1,26),(1,27),(1,28),(1,29),(1,30),(1,31),(1,32),(1,33),(1,34),(1,35),(1,36),(1,37),(1,38),(1,39),(1,40),(1,41),(1,42),(1,43),(1,44),(1,45),(1,46),(1,47),(1,48),(1,49),(1,50),(1,51),(2,52),(2,53),(2,54),(2,55),(2,56),(2,57),(2,58),(2,59),(2,60),(2,61),(2,62),(2,63),(2,64); /*!40000 ALTER TABLE `shopping_zone_state` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `shopping_zone_zip` -- DROP TABLE IF EXISTS `shopping_zone_zip`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shopping_zone_zip` ( `zone_id` int(11) NOT NULL, `zip` varchar(10) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`zone_id`,`zip`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `shopping_zone_zip` -- LOCK TABLES `shopping_zone_zip` WRITE; /*!40000 ALTER TABLE `shopping_zone_zip` DISABLE KEYS */; /*!40000 ALTER TABLE `shopping_zone_zip` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `silo` -- DROP TABLE IF EXISTS `silo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `silo` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `indName` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `silo` -- LOCK TABLES `silo` WRITE; /*!40000 ALTER TABLE `silo` DISABLE KEYS */; /*!40000 ALTER TABLE `silo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `template` -- DROP TABLE IF EXISTS `template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `template` ( `name` varchar(45) COLLATE utf8_unicode_ci NOT NULL, `content` longtext COLLATE utf8_unicode_ci NOT NULL, `type` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`name`), KEY `type` (`type`), CONSTRAINT `template_ibfk_1` FOREIGN KEY (`type`) REFERENCES `template_type` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `template` -- LOCK TABLES `template` WRITE; /*!40000 ALTER TABLE `template` DISABLE KEYS */; INSERT INTO `template` VALUES ('category','<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>\n <title>{$page:title}</title>\n <meta name=\"keywords\" content=\"{$meta:keywords}\"/>\n <meta name=\"description\" content=\"{$meta:description}\"/>\n <meta name=\"generator\" content=\"seotoaster\"/>\n\n <link href=\"reset.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\"/>\n <link href=\"style.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\"/>\n <link href=\"content.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\"/>\n\n <!--[if IE]>\n <script src=\"html5.js\" type=\"text/javascript\"></script>\n <![endif]-->\n\n</head>\n\n<body>\n<div class=\"container_12\">\n <header>\n <div class=\"grid_3\">\n <div class=\"logo\">\n <a href=\"{$website:url}\" title=\"{$page:h1}\" class=\"logo\">\n <img src=\"images/logo-small.jpg\" width=\"110\" alt=\"seotoaster\">\n </a>\n </div>\n </div>\n <div class=\"grid_9\">\n <h2 class=\"mt30px mb20px xlarge\"><strong>Welcome to SEOTOASTER V2 !</strong></h2>\n <nav>{$menu:main}</nav>\n </div>\n </header>\n <hr/>\n <aside class=\"grid_3\">\n <h2>Flat menu</h2>\n {$menu:flat}\n </aside>\n <section class=\"grid_9\">\n <h1>{$page:h1}</h1>\n <article>\n <h3>Header widgets</h3>\n {$header:header}\n {$header:header1:static}\n </article>\n <article>\n <h3>Content widgets</h3>\n {$content:header}\n {$content:header1:static}\n </article>\n <article>\n <h3>Image Only widget</h3>\n {$imageonly:photo:200}\n </article>\n <article>\n <h3>Gallery Only widget</h3>\n {$galleryonly:uniq_name}\n </article>\n <article>\n <h3>Text Only widget</h3>\n {$textonly:uniq_name}\n </article>\n <article>\n <h3>Featured Area Only widget</h3>\n {$featuredonly:name}\n </article>\n <article>\n <h3>DirectUpload widget</h3>\n {$directupload:foldername:imagename:100::crop}\n </article>\n </section>\n <hr/>\n <footer class=\"mt10px\">\n <p>Powered by Free & Open Source Ecommerce Website Builder <a href=\"http://www.seotoaster.com\" target=\"_blank\">SEOTOASTER</a>, Courtesy of <a href=\"http://www.seosamba.com\" target=\"_blank\">SEO Samba</a>.</p>\n </footer>\n</div>\n{$content:newContent}\n</body>\n</html>','typeregular'),('CRM subscription','<!DOCTYPE html>\n\n<head>\n <title>{$plugin:widcard:BizOrgName:notag}</title>\n</head>\n\n<body style=\"margin: 0;\">\n <table bgcolor=\"#FFFFFF\" width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"font-size: 14px; font-family: Arial, Verdana, Sans-serif; color: #444; \">\n <tr>\n <td>\n\n <table align=\"center\" width=\"600\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"margin: 0 auto;\">\n <tr>\n <td height=\"20\"></td>\n </tr>\n <tr>\n <td>\n <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td valign=\"bottom\" width=\"100\" style=\"padding: 40px 20px 40px 20px; text-align: center; color: #FFFFFF;background: #596B75;\" bgcolor=\"#596B75\">\n <h2 style=\"font-weight: normal;\">You\'re losing out on critical sales data.</h2>\n <h3 style=\"margin: 0 0 0 0;\">Upgrade your CRM subscription now</h3>\n </td>\n </tr>\n <tr>\n <td>\n <img src=\"{$website:url}plugins/leads/web/images/header-bottom-arrow.png\" alt=\"arrow\">\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td bgcolor=\"#FFFFFF\" style=\"background: #FFFFFF;\">\n <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td colspan=\"4\" align=\"left\" style=\"padding:40px 40px 40px 40px; line-height: 1.75em;\">\n \n {emailmessage}\n\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td bgcolor=\"#F9F9F9\" style=\"background: #F9F9F9; padding: 40px 40px 20px 40px;\"> \n\n <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td style=\"text-align: center;\">\n <a href=\"{lead:subscriptionlink}\" style=\"background: #4496AB; display: inline-block; padding: 15px 30px 15px 30px; text-decoration: none; color: #FFFFFF; -webkit-border-radius: 6px;-moz-border-radius: 6px; -ms-border-radius: 6px;border-radius: 6px;\">Upgrade your CRM subscription now!</a> \n </td>\n </tr>\n <tr>\n <td style=\"text-align: center;\">\n <span href=\"\" style=\"padding: 15px 30px 15px 30px; display: inline-block; text-decoration: none; color: #222222;\">Don\'t lose any more valuable opportunities.</span> \n </td>\n </tr>\n </table>\n </td>\n </tr>\n\n\n <tr>\n <td bgcolor=\"#596B75\" style=\"padding: 40px 20px 40px 20px; text-align: center; color: #FFFFFF; background: url({$website:url}plugins/leads/web/images/puzzle.png) no-repeat scroll 470px 20px #596B75\">\n <span>SeoSamba CRM</span>\n </td>\n </tr>\n <tr>\n <td height=\"20\"></td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n</body>\n\n</html>','typemail'),('default','<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>\n <title>{$page:title}</title>\n <meta name=\"keywords\" content=\"{$meta:keywords}\"/>\n <meta name=\"description\" content=\"{$meta:description}\"/>\n <meta name=\"generator\" content=\"seotoaster\"/>\n\n <link href=\"reset.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\"/>\n <link href=\"style.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\"/>\n <link href=\"content.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\"/>\n\n <!--[if IE]>\n <script src=\"html5.js\" type=\"text/javascript\"></script>\n <![endif]-->\n\n</head>\n\n<body>\n<div class=\"container_12\">\n <header>\n <div class=\"grid_3\">\n <div class=\"logo\">\n <a href=\"{$website:url}\" title=\"{$page:h1}\" class=\"logo\">\n <img src=\"images/logo-small.jpg\" width=\"110\" alt=\"seotoaster\">\n </a>\n </div>\n </div>\n <div class=\"grid_9\">\n <h2 class=\"mt30px mb20px xlarge\"><strong>Welcome to SEOTOASTER V2 !</strong></h2>\n <nav>{$menu:main}</nav>\n </div>\n </header>\n <hr/>\n <aside class=\"grid_3\">\n <h2>Flat menu</h2>\n {$menu:flat}\n </aside>\n <section class=\"grid_9\">\n <h1>{$page:h1}</h1>\n <article>\n <h3>Header widgets</h3>\n {$header:header}\n {$header:header1:static}\n </article>\n <article>\n <h3>Content widgets</h3>\n {$content:header}\n {$content:header1:static}\n </article>\n <article>\n <h3>Image Only widget</h3>\n {$imageonly:photo:200}\n </article>\n <article>\n <h3>Gallery Only widget</h3>\n {$galleryonly:uniq_name}\n </article>\n <article>\n <h3>Text Only widget</h3>\n {$textonly:uniq_name}\n </article>\n <article>\n <h3>FeaturedArea Only widget</h3>\n {$featuredonly:name}\n </article>\n <article>\n <h3>DirectUpload widget</h3>\n {$directupload:foldername:imagename:100::crop}\n </article>\n </section>\n <hr/>\n <footer class=\"mt10px\">\n <p>Powered by Free & Open Source Ecommerce Website Builder <a href=\"http://www.seotoaster.com\" target=\"_blank\">SEOTOASTER</a>, Courtesy of <a href=\"http://www.seosamba.com\" target=\"_blank\">SEO Samba</a>.</p>\n </footer>\n</div>\n{$content:newContent}\n</body>\n</html>','typeregular'),('email message','<!DOCTYPE html>\n<html xmlns:v=\"urn:schemas-microsoft-com:vml\">\n<head>\n <meta charset=\"UTF-8\">\n <style type=\"”text/css”\">\n v\\:* { behavior: url(#default#VML); display:inline-block}\n </style>\n</head>\n<body>\n<style>\n body{\n margin: 0;\n padding: 0 ;\n background-color:#f8f8f8 ;\n }\n p{\n margin : 5px 0;\n line-height: 1.7em;\n }\n ul{\n padding : 0 0 0 20px;\n color: #83B21F;\n }\n ul li{\n margin-bottom : 5px;\n }\n a{\n margin : 0 0 5px;\n color: #83B21F;\n }\n img{\n border-style: none;\n }\n hr{\n height: 1px;\n background: #F4F4F4;\n border: none;\n }\n</style>\n<table cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#f8f8f8\" width=\"100%\" style=\" margin: 0; padding: 0 ; background-color:#f8f8f8 ; height : 100%;\">\n <tr>\n <td> </td>\n <td style=\"width: 600px;\">\n <table style=\"font-family: Arial, Helvetica, sans-serif; background: #ffffff; width: 600px; color: #7c7c7c; font-size: 14px; text-align: left; margin: 15px 0;\" border=\"0\" width=\"600px\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n <thead>\n <tr>\n <td style=\"padding: 20px;\">\n <a target=\"_blank\" href=\"{$website:url}\">\n <img src=\"{$plugin:widcard:bizLogo:url}\" alt=\"{$plugin:widcard:BizOrgName:notag}\" height=\"75\" style=\"vertical-align:middle;\">\n </a>\n </td>\n <td style=\"text-align: center;\">\n <a style=\"text-decoration:none;\" rel=\"noopener\" target=\"_blank\" href=\"{$plugin:widcard:BizFbAccount:notag}\">\n <img src=\"{$website:url}system/images/w-facebook.png\" alt=\"facebook\" />\n </a>\n <a style=\"text-decoration:none;\" rel=\"noopener\" target=\"_blank\" href=\"{$plugin:widcard:BizGmbusiness:notag}\">\n <img src=\"{$website:url}system/images/w-gmb.png\" alt=\"GMB\" />\n </a> \n <a style=\"text-decoration:none;\" rel=\"noopener\" target=\"_blank\" href=\"{$plugin:widcard:BizTwitterAccount:notag}\">\n <img src=\"{$website:url}system/images/w-twitter.png\" alt=\"twitter\" />\n </a> \n <a style=\"text-decoration:none;\" rel=\"noopener\" target=\"_blank\" href=\"{$plugin:widcard:bizLinkedInAccount:notag}\">\n <img src=\"{$website:url}system/images/w-linkedin.png\" alt=\"linkedin\" />\n </a>\n </td>\n </tr>\n <tr style=\"background: #f8f8f8;\">\n <td> </td>\n <td> </td>\n </tr>\n </thead> \n <tbody>\n <tr>\n <td style=\"padding: 25px; color: #153643; font-family: Arial, sans-serif; font-size: 16px; line-height: 20px;\">\n {emailmessage}\n </td>\n </tr>\n </tbody>\n <tfoot>\n <tr>\n <td align=\"center\" bgcolor=\"#7c7c7c\" style=\"padding: 25px 25px 25px 25px; color: #ffffff; font-family: Arial, sans-serif; font-size: 12px; line-height: 20px;\" colspan=\"2\">\n <address>\n <font color=\"#FFFFFF\">{$plugin:widcard:BizOrgName:notag} | {$plugin:widcard:BizAddress1:notag}, {$plugin:widcard:BizCity:notag}, {$plugin:widcard:BizState:notag} {$plugin:widcard:BizZip:notag} | Tel : <a style=\"color: #FFFFFF;\" href=\"tel:{$plugin:widcard:BizTelephone:notag}\">{$plugin:widcard:BizTelephone:notag}</a></address>\n </td>\n </tr>\n </tfoot>\n </table>\n </td>\n <td> </td>\n </tr>\n</table>\n</body>\n</html>','typemail'),('index','<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>\n <title>{$page:title}</title>\n <meta name=\"keywords\" content=\"{$meta:keywords}\"/>\n <meta name=\"description\" content=\"{$meta:description}\"/>\n <meta name=\"generator\" content=\"seotoaster\"/>\n\n <link href=\"reset.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\"/>\n <link href=\"style.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\"/>\n <link href=\"content.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\"/>\n\n <!--[if IE]>\n <script src=\"html5.js\" type=\"text/javascript\"></script>\n <![endif]-->\n\n</head>\n\n<body>\n<div class=\"container_12\">\n\n <header>\n <div class=\"grid_4\">\n <h1 class=\"logo\">\n <a href=\"{$website:url}\" title=\"{$page:h1}\" class=\"logo\">\n <img src=\"images/logo-small.jpg\" width=\"215\" height=\"275\" alt=\"seotoaster\">\n </a>\n </h1>\n </div>\n\n <div class=\"grid_8\">\n <h2 class=\"mt40px mb50px xlarge\">Congratulations,<br/>you have successfully installed<br/>\n <strong>SEOTOASTER V3 !</strong></h2>\n <div class=\"log_in\">Now log into your admin console at <a href=\"{$website:url}go\">{$website:url}go</a></div>\n </div>\n </header>\n {adminonly}\n <script>\n $(document).ready(function () {\n $(\'.log_in\').hide();\n });\n </script>\n <section>\n <h3><span class=\"number\">1</span>Hit the ground running: get your website on the map now</h3>\n\n <p>Complete the website ID [WID] card below. It\'s a great time saver, and when you use one of our free premium\n themes your information shows up in <strong>all the right places</strong> throughout your website.</p>\n\n <p>In addition, SEOTOASTER build a kml file to help <strong>search engines and geolocation services locate your\n business </strong>while plug-ins work better and provide you with a pre-built <strong>mobile\n version</strong> of your website for instance.</p>\n <hr/>\n\n {$plugin:widcard:landing}\n <h3 class=\"mt10px\"><span class=\"number\">2</span>Use the easy-to-follow assembly instructions</h3>\n <a class=\"_lbox\" title=\"1 click themes\" href=\"images/how-to-add-theme/1-click-themes-big.jpg\"><img\n src=\"images/how-to-add-theme/1-click-themes.jpg\" border=\"0\" alt=\"1 click themes\" width=\"315\"\n height=\"221\"/></a>\n <a class=\"_lbox\" title=\"2 upload theme\" href=\"images/how-to-add-theme/2-upload-theme-big.jpg\"><img\n src=\"images/how-to-add-theme/2-upload-theme.jpg\" border=\"0\" alt=\"2 upload theme\" width=\"315\"\n height=\"221\"/></a>\n <a class=\"_lbox\" title=\"3 select theme\" href=\"images/how-to-add-theme/3-select-theme-big.jpg\"><img\n src=\"images/how-to-add-theme/3-select-theme.jpg\" border=\"0\" alt=\"3 select theme\" width=\"315\"\n height=\"221\"/></a>\n\n </section>\n {/adminonly}\n <hr/>\n <footer class=\"mt10px\">\n <p>Powered by Free & Open Source Ecommerce Website Builder <a href=\"http://www.seotoaster.com\"\n target=\"_blank\">SEOTOASTER</a>, Courtesy of <a\n href=\"http://www.seosamba.com\" target=\"_blank\">SEO Samba</a>.</p></footer>\n</div>\n{$content:newContent}\n</body>\n</html>','typeregular'),('news','<!DOCTYPE html>\r\n<html>\r\n <head>\r\n {$template:_head}\r\n </head>\r\n <body>\r\n {$template:_header}\r\n <div id=\"page\" class=\"container\">\r\n <h1 class=\"grid_12\" role=\"heading\">{$page:h1}</h1>\r\n <section class=\"grid_9\" role=\"main\">\r\n {newscontent}\r\n {repeat:Article blocks:key}\r\n <article>\r\n <h2>{$header:content_key}</h2>\r\n {$content:content_key1}\r\n {$content:content_key2}\r\n </article>\r\n {/repeat}\r\n {/newscontent}\r\n </section>\r\n <aside class=\"grid_3\" role=\"complementary\">\r\n {repeat:Aside right box:key:1}\r\n <section class=\"aside-box\">\r\n <h3>{$header:right_key}</h3>\r\n {$content:right_key}\r\n </section>\r\n {/repeat}\r\n </aside>\r\n </div>\r\n {$template:_footer}\r\n {$template:_mobile elements}\r\n {$template:_scripts}\r\n </body>\r\n</html>','type_news'),('NPS leave review system','<!DOCTYPE html>\n<html xmlns:v=\"urn:schemas-microsoft-com:vml\">\n<head>\n <meta charset=\"UTF-8\">\n <style type=\"”text/css”\">\n v\\:* { behavior: url(#default#VML); display:inline-block}\n </style>\n</head>\n<body>\n<style>\n body{\n margin: 0;\n padding: 0 ;\n background-color:#f8f8f8 ;\n }\n p{\n margin : 5px 0;\n line-height: 1.7em;\n }\n ul{\n padding : 0 0 0 20px;\n color: #83B21F;\n }\n ul li{\n margin-bottom : 5px;\n }\n a{\n margin : 0 0 5px;\n color: #83B21F;\n }\n img{\n border-style: none;\n }\n hr{\n height: 1px;\n background: #F4F4F4;\n border: none;\n }\n</style>\n<table cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#f8f8f8\" width=\"100%\" style=\" margin: 0; padding: 0 ; background-color:#f8f8f8 ; height : 100%;\">\n <tr>\n <td> </td>\n <td style=\"width: 600px;\">\n <table style=\"font-family: Arial, Helvetica, sans-serif; background: #ffffff; width: 600px; color: #7c7c7c; font-size: 14px; text-align: left; margin: 15px 0;\" border=\"0\" width=\"600px\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n <thead>\n <tr>\n <td style=\"padding: 20px;\">\n <a target=\"_blank\" href=\"{$website:url}\">\n <img src=\"{$plugin:widcard:bizLogo:url}\" alt=\"{$plugin:widcard:BizOrgName:notag}\" height=\"75\" style=\"vertical-align:middle;\">\n </a>\n </td>\n <td style=\"text-align: center;\">\n <a style=\"text-decoration:none;\" rel=\"noopener\" target=\"_blank\" href=\"{$plugin:widcard:BizFbAccount:notag}\">\n <img src=\"{$website:url}system/images/w-facebook.png\" alt=\"facebook\" />\n </a>\n <a style=\"text-decoration:none;\" rel=\"noopener\" target=\"_blank\" href=\"{$plugin:widcard:BizGmbusiness:notag}\">\n <img src=\"{$website:url}system/images/w-gmb.png\" alt=\"GMB\" />\n </a> \n <a style=\"text-decoration:none;\" rel=\"noopener\" target=\"_blank\" href=\"{$plugin:widcard:BizTwitterAccount:notag}\">\n <img src=\"{$website:url}system/images/w-twitter.png\" alt=\"twitter\" />\n </a> \n <a style=\"text-decoration:none;\" rel=\"noopener\" target=\"_blank\" href=\"{$plugin:widcard:bizLinkedInAccount:notag}\">\n <img src=\"{$website:url}system/images/w-linkedin.png\" alt=\"linkedin\" />\n </a>\n </td>\n </tr>\n <tr style=\"background: #f8f8f8;\">\n <td> </td>\n <td> </td>\n </tr>\n </thead> \n <tbody>\n <tr>\n <td style=\"padding: 25px; font-size: 16px;\" colspan=\"2\">\n <p style=\"font-size:24px; font-weight:bold; color:#000000; text-align:center;\">Hello {$lead:firstname} {$lead:lastname},</p><br/>\n {$content:email_text}\n {emailmessage}\n <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n <tr valign=\"top\">\n <td align=\"right\">\n <a style=\"display:inline-block; background-color:#23589B; color: #fff; text-decoration: none; margin: 10px; font-size:0;\" href=\"{$widcard:param:facebook:readonly}\"><img src=\"{$website:url}system/images/fb-btn.jpg\" alt=\"facebook\" height=\"30px\" /></a>\n </td>\n <td>\n <a style=\"display:inline-block; background-color:#4881E8; color: #fff; text-decoration: none; margin: 10px; font-size:0;\" href=\"{$widcard:param:google my business:readonly}\"><img style=\"vertical-align: middle;\" src=\"{$website:url}system/images/gmb-btn.jpg\" alt=\"GMB\" height=\"30px\" /></a>\n </td>\n </tr>\n </table>\n <br/><br/>\n </td>\n </tr>\n </tbody>\n <tfoot>\n <tr>\n <td align=\"center\" bgcolor=\"#7c7c7c\" style=\"padding: 25px 25px 25px 25px; color: #ffffff; font-family: Arial, sans-serif; font-size: 12px; line-height: 20px;\" colspan=\"2\">\n <address>\n <font color=\"#FFFFFF\">{$plugin:widcard:BizOrgName:notag} | {$plugin:widcard:BizAddress1:notag}, {$plugin:widcard:BizCity:notag}, {$plugin:widcard:BizState:notag} {$plugin:widcard:BizZip:notag} | Tel : <a style=\"color: #FFFFFF;\" href=\"tel:{$plugin:widcard:BizTelephone:notag}\">{$plugin:widcard:BizTelephone:notag}</a></address>\n </td>\n </tr>\n </tfoot>\n </table>\n </td>\n <td> </td>\n </tr>\n</table>\n</body>\n</html>','typemail'),('NPS request system','<!DOCTYPE html>\n<html xmlns:v=\"urn:schemas-microsoft-com:vml\">\n<head>\n <meta charset=\"UTF-8\">\n <style type=\"”text/css”\">\n v\\:* { behavior: url(#default#VML); display:inline-block}\n </style>\n</head>\n<body>\n<style>\n body{\n margin: 0;\n padding: 0 ;\n background-color:#f8f8f8 ;\n }\n p{\n margin : 5px 0;\n line-height: 1.7em;\n }\n ul{\n padding : 0 0 0 20px;\n color: #83B21F;\n }\n ul li{\n margin-bottom : 5px;\n }\n a{\n margin : 0 0 5px;\n color: #83B21F;\n }\n img{\n border-style: none;\n }\n hr{\n height: 1px;\n background: #F4F4F4;\n border: none;\n }\n</style>\n<table cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#f8f8f8\" width=\"100%\" style=\" margin: 0; padding: 0 ; background-color:#f8f8f8 ; height : 100%;\">\n <tr>\n <td> </td>\n <td style=\"width: 600px;\">\n <table style=\"font-family: Arial, Helvetica, sans-serif; background: #ffffff; width: 600px; color: #7c7c7c; font-size: 14px; text-align: left; margin: 15px 0;\" border=\"0\" width=\"600px\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n <thead>\n <tr>\n <td style=\"padding: 20px;\">\n <a target=\"_blank\" href=\"{$website:url}\">\n <img src=\"{$plugin:widcard:bizLogo:url}\" alt=\"{$plugin:widcard:BizOrgName:notag}\" height=\"75\" style=\"vertical-align:middle;\">\n </a>\n </td>\n <td style=\"text-align: center;\">\n <a style=\"text-decoration:none;\" rel=\"noopener\" target=\"_blank\" href=\"{$plugin:widcard:BizFbAccount:notag}\">\n <img src=\"{$website:url}system/images/w-facebook.png\" alt=\"facebook\" />\n </a>\n <a style=\"text-decoration:none;\" rel=\"noopener\" target=\"_blank\" href=\"{$plugin:widcard:BizGmbusiness:notag}\">\n <img src=\"{$website:url}system/images/w-gmb.png\" alt=\"GMB\" />\n </a> \n <a style=\"text-decoration:none;\" rel=\"noopener\" target=\"_blank\" href=\"{$plugin:widcard:BizTwitterAccount:notag}\">\n <img src=\"{$website:url}system/images/w-twitter.png\" alt=\"twitter\" />\n </a> \n <a style=\"text-decoration:none;\" rel=\"noopener\" target=\"_blank\" href=\"{$plugin:widcard:bizLinkedInAccount:notag}\">\n <img src=\"{$website:url}system/images/w-linkedin.png\" alt=\"linkedin\" />\n </a>\n </td>\n </tr>\n <tr style=\"background: #f8f8f8;\">\n <td> </td>\n <td> </td>\n </tr>\n </thead> \n <tbody>\n <tr>\n <td style=\"padding: 25px; font-size: 16px;\" colspan=\"2\">\n <h1 style=\"font-size: 32px; text-align: center; margin-bottom:0; color:#000000;\">Hello, {$lead:firstname}!</h1>\n <p style=\"font-size: 32px; text-align: center; color:#000000;\">Help us to improve our services</p>\n <br/>\n <p style=\"text-align: center; font-weight:bold;\">\n How likely is it that you would recommend<br/>\n {$plugin:widcard:BizOrgName:notag} to a friend or collegue?\n </p>\n <br/><br/>\n <table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" >\n <tr>\n <td width=\"9%\" bgcolor=\"#FE0000\" style=\"height:38px; text-align:center;; border:1px solid #ffffff;\"><a style=\"display: block; width: 100%; margin:0; padding:0; text-decoration: none; color: #ffffff; font-weight: bold\" href=\"{$lead:npsreviewrequest:0}\">0</a></td>\n <td width=\"9%\" bgcolor=\"#FE0000\" style=\"height:38px; text-align:center; border:1px solid #ffffff;\"><a style=\"display: block; width: 100%; margin:0; padding:0; text-decoration: none; color: #ffffff; font-weight: bold;\" href=\"{$lead:npsreviewrequest:1}\">1</a></td>\n <td width=\"9%\" bgcolor=\"#FE0000\" style=\"height:38px; text-align:center; border:1px solid #ffffff;\"><a style=\"display: block; width: 100%; margin:0; padding:0; text-decoration: none; color: #ffffff; font-weight: bold;\" href=\"{$lead:npsreviewrequest:2}\">2</a></td>\n <td width=\"9%\" bgcolor=\"#FE0000\" style=\"height:38px; text-align:center; border:1px solid #ffffff;\"><a style=\"display: block; width: 100%; margin:0; padding:0; text-decoration: none; color: #ffffff; font-weight: bold;\" href=\"{$lead:npsreviewrequest:3}\">3</a></td>\n <td width=\"9%\" bgcolor=\"#FE0000\" style=\"height:38px; text-align:center; border:1px solid #ffffff;\"><a style=\"display: block; width: 100%; margin:0; padding:0; text-decoration: none; color: #ffffff; font-weight: bold;\" href=\"{$lead:npsreviewrequest:4}\">4</a></td>\n <td width=\"9%\" bgcolor=\"#FE0000\" style=\"height:38px; text-align:center; border:1px solid #ffffff;\"><a style=\"display: block; width: 100%; margin:0; padding:0; text-decoration: none; color: #ffffff; font-weight: bold;\" href=\"{$lead:npsreviewrequest:5}\">5</a></td>\n <td width=\"9%\" bgcolor=\"#FE0000\" style=\"height:38px; text-align:center; border:1px solid #ffffff;\"><a style=\"display: block; width: 100%; margin:0; padding:0; text-decoration: none; color: #ffffff; font-weight: bold;\" href=\"{$lead:npsreviewrequest:6}\">6</a></td>\n <td width=\"9%\" bgcolor=\"#F0C409\" style=\"height:38px; text-align:center; border:1px solid #ffffff;\"><a style=\"display: block; width: 100%; margin:0; padding:0; text-decoration: none; color: #ffffff; font-weight: bold;\" href=\"{$lead:npsreviewrequest:7}\">7</a></td>\n <td width=\"9%\" bgcolor=\"#F0C409\" style=\"height:38px; text-align:center; border:1px solid #ffffff;\"><a style=\"display: block; width: 100%; margin:0; padding:0; text-decoration: none; color: #ffffff; font-weight: bold;\" href=\"{$lead:npsreviewrequest:8}\">8</a></td>\n <td width=\"9%\" bgcolor=\"#02A401\" style=\"height:38px; text-align:center; border:1px solid #ffffff;\"><a style=\"display: block; width: 100%; margin:0; padding:0; text-decoration: none; color: #ffffff; font-weight: bold;\" href=\"{$lead:npsreviewrequest:9}\">9</a></td>\n <td width=\"9%\" bgcolor=\"#02A401\" style=\"height:38px; text-align:center; border:1px solid #ffffff;\"><a style=\"display: block; width: 100%; margin:0; padding:0; text-decoration: none; color: #ffffff; font-weight: bold;\" href=\"{$lead:npsreviewrequest:10}\">10</a></td>\n </tr> \n </table><br/>\n <table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" >\n <tr>\n <td align=\"left\" width=\"50%\">Very Unlikely</td>\n <td align=\"right\" width=\"50%\">Extremely Likely</td>\n </tr>\n </table>\n <br/><br/><br/><br/>\n {$content:email_text}\n {emailmessage}\n </td>\n </tr>\n </tbody>\n <tfoot>\n <tr>\n <td align=\"center\" bgcolor=\"#7c7c7c\" style=\"padding: 25px 25px 25px 25px; color: #ffffff; font-family: Arial, sans-serif; font-size: 12px; line-height: 20px;\" colspan=\"2\">\n <address>\n <font color=\"#FFFFFF\">{$plugin:widcard:BizOrgName:notag} | {$plugin:widcard:BizAddress1:notag}, {$plugin:widcard:BizCity:notag}, {$plugin:widcard:BizState:notag} {$plugin:widcard:BizZip:notag} | Tel : <a style=\"color: #FFFFFF;\" href=\"tel:{$plugin:widcard:BizTelephone:notag}\">{$plugin:widcard:BizTelephone:notag}</a></address>\n </td>\n </tr>\n </tfoot>\n </table>\n </td>\n <td> </td>\n </tr>\n</table>\n</body>\n</html>','typemail'); /*!40000 ALTER TABLE `template` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `template_type` -- DROP TABLE IF EXISTS `template_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `template_type` ( `id` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Template type name: For example ''quote'', ''regularpage'', etc...', `title` tinytext COLLATE utf8_unicode_ci NOT NULL COMMENT 'Alias for the template "Product listing", etc...', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `template_type` -- LOCK TABLES `template_type` WRITE; /*!40000 ALTER TABLE `template_type` DISABLE KEYS */; INSERT INTO `template_type` VALUES ('type_fa_template','Featuredarea Templates'),('type_form_auto_reply_pdf','Form auto reply pdf'),('type_news','News'),('type_news_list','News listing'),('type_partial_template','Nested Templates'),('typecheckout','Checkout'),('typeinvoice','Invoices'),('typelisting','Product listing'),('typemail','E-mail'),('typemenu','Menu'),('typemobile','Mobile page'),('typepdfquote','Quote pdf'),('typeproduct','Product'),('typequote','Quote'),('typeregular','Regular'); /*!40000 ALTER TABLE `template_type` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `user` -- DROP TABLE IF EXISTS `user`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `user` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `role_id` varchar(15) COLLATE utf8_unicode_ci NOT NULL, `password` varchar(35) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'user password', `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `prefix` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL, `full_name` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL, `last_login` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ipaddress` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL, `reg_date` timestamp NULL DEFAULT NULL, `referer` tinytext COLLATE utf8_unicode_ci, `gplus_profile` tinytext COLLATE utf8_unicode_ci, `mobile_phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, `voip_phone` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `notes` text COLLATE utf8_unicode_ci, `timezone` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL, `mobile_country_code` char(2) COLLATE utf8_unicode_ci DEFAULT NULL, `mobile_country_code_value` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL, `desktop_phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, `desktop_country_code` char(2) COLLATE utf8_unicode_ci DEFAULT NULL, `desktop_country_code_value` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL, `signature` text COLLATE utf8_unicode_ci, `subscribed` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `allow_remote_authorization` enum('1','0') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0', `remote_authorization_info` text COLLATE utf8_unicode_ci COMMENT 'additional info', `remote_authorization_token` char(40) COLLATE utf8_unicode_ci DEFAULT NULL, `personal_calendar_url` text COLLATE utf8_unicode_ci, `avatar_link` text COLLATE utf8_unicode_ci, `receive_reports` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `receive_reports_preferable_time` int(10) unsigned DEFAULT NULL, `receive_reports_cc_email` text COLLATE utf8_unicode_ci, `receive_reports_types_list` text COLLATE utf8_unicode_ci, `enabled_mfa` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', `mfa_code` char(6) COLLATE utf8_unicode_ci DEFAULT NULL, `mfa_code_expiration_time` timestamp NULL DEFAULT NULL, `exclude_weekends` enum('0','1') COLLATE utf8_unicode_ci DEFAULT '0', PRIMARY KEY (`id`), KEY `indEmail` (`email`), KEY `indPassword` (`password`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `user` -- LOCK TABLES `user` WRITE; /*!40000 ALTER TABLE `user` DISABLE KEYS */; INSERT INTO `user` VALUES (1,'superadmin','[[admin_pass]]','[[admin_email]]',NULL,'[[admin_username]]','[[regtime]]',NULL,'[[regtime]]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,'0',NULL,NULL,NULL,'0',NULL,NULL,'0'); /*!40000 ALTER TABLE `user` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `user_attributes` -- DROP TABLE IF EXISTS `user_attributes`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `user_attributes` ( `user_id` int(10) unsigned NOT NULL, `attribute` tinytext COLLATE utf8_unicode_ci NOT NULL, `value` text COLLATE utf8_unicode_ci, PRIMARY KEY (`user_id`,`attribute`(20)), CONSTRAINT `user_attributes_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `user_attributes` -- LOCK TABLES `user_attributes` WRITE; /*!40000 ALTER TABLE `user_attributes` DISABLE KEYS */; /*!40000 ALTER TABLE `user_attributes` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `user_whitelist_ips` -- DROP TABLE IF EXISTS `user_whitelist_ips`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `user_whitelist_ips` ( `id` int(10) NOT NULL AUTO_INCREMENT, `role_id` varchar(15) COLLATE utf8_unicode_ci NOT NULL, `ip_address` varchar(30) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`role_id`,`ip_address`), UNIQUE KEY `id` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `user_whitelist_ips` -- LOCK TABLES `user_whitelist_ips` WRITE; /*!40000 ALTER TABLE `user_whitelist_ips` DISABLE KEYS */; /*!40000 ALTER TABLE `user_whitelist_ips` ENABLE KEYS */; UNLOCK TABLES; -- -- Dumping routines for database 'toast390' -- /*!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 */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on [[regtime]]