-- phpMyAdmin SQL Dump
-- version 4.9.7
-- https://www.phpmyadmin.net/
--
-- Хост: 127.0.0.1
-- Время создания: Сен 21 2023 г., 17:04
-- Версия сервера: 10.2.12-MariaDB
-- Версия PHP: 5.6.40

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- База данных: `nero_tab`
--

-- --------------------------------------------------------

--
-- Структура таблицы `forms`
--

CREATE TABLE `forms` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `slug` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `schema` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mailchimp_details` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Details for mailchimp',
  `acelle_mail_info` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `webhook_info` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'info of webhook like url & secret key',
  `is_template` tinyint(1) NOT NULL DEFAULT 0,
  `is_global_template` tinyint(1) NOT NULL DEFAULT 0,
  `created_by` bigint(20) UNSIGNED NOT NULL,
  `submission_count` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Дамп данных таблицы `forms`
--

INSERT INTO `forms` (`id`, `name`, `slug`, `description`, `schema`, `mailchimp_details`, `acelle_mail_info`, `webhook_info`, `is_template`, `is_global_template`, `created_by`, `submission_count`, `created_at`, `updated_at`) VALUES
('0c12caaf-f567-4f29-8711-906641247d9f', 'Sae kontroll : PVC', 'kontrollid-tootmise-ajal-6ja', 'Kontrollid tootmise ajal', '{\"form\":[{\"id\":0,\"name\":\"field_1\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h3\",\"text_color\":\"#212529\",\"content\":\"KONTROLLID TOOTMISE AJAL\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":1,\"name\":\"field_2\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h5\",\"text_color\":\"#212529\",\"content\":\"Sae kontroll : PVC\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":2,\"name\":\"field_3\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h5\",\"text_color\":\"#212529\",\"content\":\"T\\u00f6\\u00f6tlemine\\/m\\u00f5\\u00f5detakse iga uue tellimuse alguses (min. 2x n\\u00e4dalas)\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":4,\"name\":\"field_5\",\"extras\":{\"showConfigurator\":false},\"type\":\"calendar\",\"label\":\"Kuup\\u00e4ev\",\"help_text\":null,\"size\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"custom_class\":null,\"start_date\":\"none\",\"end_date\":\"none\",\"format\":\"DD.MM.YYYY\",\"disabled_days\":[],\"enable_time_picker\":true,\"time_format\":\"24\",\"time_picker_inline\":false,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":6,\"name\":\"field_7\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Tellimuse nr.\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":7,\"name\":\"field_8\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Profiili t\\u00e4his\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":8,\"name\":\"field_9\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Positsioon\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":9,\"name\":\"field_10\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"number\",\"label\":\"Seadistus, mm\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":10,\"name\":\"field_11\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"number\",\"label\":\"Tegelik, mm (+\\/-0.5)\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":12,\"name\":\"field_13\",\"extras\":{\"showConfigurator\":false},\"type\":\"checkbox\",\"label\":\"M\\u00f5\\u00f5dud, OK m\\u00e4rkega\",\"help_text\":null,\"spread_to_col\":{\"enable\":false,\"column\":2},\"options\":\"OK\",\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":14,\"name\":\"field_15\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"number\",\"label\":\"Nurkl\\u00f5ige, kraadi (+\\/-0.5)\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":13,\"name\":\"field_14\",\"extras\":{\"showConfigurator\":false},\"type\":\"textarea\",\"label\":\"M\\u00e4rkused\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"rows\":3,\"columns\":null,\"placeholder\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[]}],\"emailConfig\":{\"email\":{\"enable\":null,\"from\":null,\"to\":null,\"reply_to_email\":null,\"cc\":null,\"bcc\":null,\"subject\":null,\"body\":null,\"attach_pdf\":false},\"auto_response\":{\"from\":null,\"to\":null,\"subject\":null,\"body\":null,\"is_enable\":false,\"attach_pdf\":false},\"smtp\":{\"host\":null,\"port\":null,\"from_address\":null,\"from_name\":null,\"encryption\":null,\"username\":null,\"password\":null,\"use_system_smtp\":1}},\"settings\":{\"recaptcha\":{\"is_enable\":0,\"site_key\":null,\"secret_key\":null},\"color\":{\"label\":\"#000000\",\"error_msg\":\"#a94442\",\"required_asterisk_color\":\"#a94442\",\"background\":\"#ffffff\",\"image_path\":null,\"page_color\":\"#f4f6f9\"},\"notification\":{\"post_submit_action\":\"same_page\",\"failed_msg\":\"Something went wrong, please try again.\",\"success_msg\":\"Your submission has been received.\",\"redirect_url\":null,\"position\":\"toast-top-right\"},\"submit\":{\"text\":\"Submit\",\"loading_text\":\"Submitting...\",\"btn_alignment\":\"float-right\",\"btn_size\":null,\"btn_color\":\"btn-primary\",\"btn_style\":\"default\",\"btn_icon\":\"none\",\"icon_position\":\"left\"},\"form_data\":{\"col_visible\":[\"field_5\",\"field_7\"],\"btn_enabled\":[\"delete\"]},\"background\":{\"bg_type\":\"bg_color\"},\"form_scheduling\":{\"closed_msg\":\"The form has been closed now!\",\"start_date_time\":null,\"end_date_time\":null,\"is_enabled\":false},\"form_submision_ref\":{\"is_enabled\":false,\"prefix\":null,\"suffix\":null,\"start_no\":\"1\",\"min_digit\":\"4\"},\"theme\":\"default\",\"is_enabled_draft_submit\":0,\"layout\":\"classic\",\"password_protection\":{\"is_enabled\":false,\"password\":null},\"pdf_design\":{\"header\":\"<h1 style=\\\"margin-top: 0px; margin-bottom: 0.5rem; font-family: &quot;Source Sans Pro&quot;, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; line-height: 1.2; color: rgb(0, 0, 0); font-size: 2.5rem; text-align: center;\\\"><span style=\\\"color: rgb(33, 37, 41); font-size: 12.8px; text-align: left; background-color: rgb(244, 246, 249);\\\"><span style=\\\"font-size: 24px;\\\"><span style=\\\"font-weight: bolder;\\\">{form_name}<\\/span><\\/span><\\/span><\\/h1>\"},\"is_qr_code_enabled\":false,\"qr_code_data_format\":\"string\",\"is_ref_num_bar_code_enabled\":false,\"is_ref_num_qr_code_enabled\":false},\"additional_js_css\":{\"js\":null,\"css\":null},\"conditional_fields\":[{\"action\":null,\"element\":null,\"conditions\":[{\"condition\":null,\"value\":null,\"element_type\":\"text\",\"element_index\":null,\"operator\":\"==\",\"logical_operator\":\"AND\"}]}],\"form_attributes\":[],\"contains_page_break\":false}', '{\"is_enable\":false,\"api_key\":null,\"list_id\":null,\"email_field\":null,\"name_field\":null}', '{\"is_enable\":false,\"api_token\":null,\"list_id\":null,\"campaign_fields\":[]}', '{\"is_enable\":false,\"url\":null,\"secret_key\":null}', 0, 0, 1, 0, '2023-08-23 21:44:34', '2023-09-15 07:21:45'),
('0dbdb1e7-53d1-4905-ddwd-bc97fbcbb554', 'Counseling registration form', 'counseling-registration-form-9ys', 'Counseling registration form', '{\"form\":[{\"id\":5,\"name\":\"field_6\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h1\",\"text_color\":\"#ee301d\",\"content\":\"Counseling registration form\",\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[]},{\"id\":6,\"name\":\"field_7\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"p\",\"text_color\":\"#343637\",\"content\":\"Provide your details below to attend Counseling.\",\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[]},{\"id\":0,\"name\":\"field_1\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Name\",\"help_text\":null,\"prefix_icon\":\"fa-user\",\"suffix_icon\":\"none\",\"placeholder\":\"Enter your name\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-4\",\"custom_attributes\":[]},{\"id\":1,\"name\":\"field_2\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"email\",\"label\":\"Email\",\"help_text\":null,\"prefix_icon\":\"fa-envelope\",\"suffix_icon\":\"none\",\"placeholder\":\"Email to contact you\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[{\"rule\":\"email\",\"error_msg\":\"Please provide a valid email\"}],\"conditional_class\":null,\"col\":\"col-md-4\",\"custom_attributes\":[]},{\"id\":3,\"name\":\"field_4\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Phone No.\",\"help_text\":null,\"prefix_icon\":\"fa-phone\",\"suffix_icon\":\"none\",\"placeholder\":\"Phone number to contact you\",\"size\":null,\"custom_class\":null,\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-4\",\"custom_attributes\":[]},{\"id\":13,\"name\":\"field_14\",\"extras\":{\"showConfigurator\":false},\"type\":\"range\",\"label\":\"Age\",\"help_text\":null,\"min\":\"20\",\"max\":\"60\",\"step\":\"1\",\"data_orientation\":\"horizontal\",\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":14,\"name\":\"field_15\",\"extras\":{\"showConfigurator\":false},\"type\":\"text_editor\",\"label\":\"Tell us something abot you\",\"placeholder\":\"Jot Down Here\",\"help_text\":null,\"editor_height\":150,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":15,\"name\":\"field_16\",\"extras\":{\"showConfigurator\":false},\"type\":\"radio\",\"label\":\"which counseling session do you want?\",\"help_text\":null,\"options\":\"Career\\nHealth\\nFinancial Goal\",\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":12,\"name\":\"field_13\",\"extras\":{\"showConfigurator\":false},\"type\":\"calendar\",\"label\":\"Good time to contact you\",\"help_text\":null,\"size\":null,\"prefix_icon\":\"fa-clock\",\"suffix_icon\":\"none\",\"custom_class\":null,\"start_date\":\"none\",\"end_date\":\"none\",\"format\":null,\"disabled_days\":[],\"enable_time_picker\":true,\"time_format\":\"12\",\"time_picker_inline\":false,\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[]}],\"emailConfig\":{\"email\":{\"from\":\"admin@admin.com\",\"to\":\"admin@admin.com\",\"cc\":null,\"bcc\":null,\"subject\":\"New Customer details:  __field_1__\",\"body\":\"New Feedback:\\n\\nName:  __field_1__\\nEmail:  __field_2__\\nOffice address: __field_8__\\nHome address:  __field_12__\\nContact time:  __field_13__\"},\"auto_response\":{\"from\":null,\"to\":null,\"subject\":null,\"body\":null,\"is_enable\":false},\"smtp\":{\"host\":null,\"port\":null,\"from_address\":null,\"from_name\":null,\"encryption\":null,\"username\":null,\"password\":null,\"use_system_smtp\":1}},\"settings\":{\"recaptcha\":{\"is_enable\":0,\"site_key\":null,\"secret_key\":null},\"color\":{\"label\":\"#000000\",\"error_msg\":\"#a94442\",\"required_asterisk_color\":\"#a94442\",\"background\":\"#ffffff\",\"image_path\":null},\"notification\":{\"post_submit_action\":\"same_page\",\"failed_msg\":\"Something went wrong, please try again.\",\"success_msg\":\"Email sent successfully.\",\"redirect_url\":null,\"position\":\"toast-top-right\"},\"submit\":{\"text\":\"Submit\",\"loading_text\":\"Submitting...\",\"btn_alignment\":\"float-right\",\"btn_size\":null,\"btn_color\":\"btn-primary\",\"btn_style\":\"default\",\"btn_icon\":\"none\",\"icon_position\":\"left\"},\"form_data\":{\"col_visible\":[\"field_1\",\"field_2\",\"field_14\",\"field_13\",\"field_15\",\"field_16\"],\"btn_enabled\":[\"view\",\"delete\"]},\"background\":{\"bg_type\":\"bg_color\"},\"form_scheduling\":{\"closed_msg\":\"The form has been closed now!\",\"start_date_time\":null,\"end_date_time\":null,\"is_enabled\":false},\"form_submision_ref\":{\"is_enabled\":false,\"prefix\":null,\"suffix\":null,\"start_no\":\"1\",\"min_digit\":\"4\"},\"theme\":\"cosmo\",\"is_enabled_draft_submit\":0},\"additional_js_css\":{\"js\":null,\"css\":null},\"conditional_fields\":[{\"action\":null,\"element\":null,\"conditions\":[{\"condition\":null,\"value\":null,\"element_type\":\"text\",\"element_index\":null,\"operator\":\"==\"}]}],\"form_attributes\":[]}', '{\"is_enable\":false,\"api_key\":null,\"list_id\":null,\"email_field\":null,\"name_field\":null}', NULL, NULL, 1, 0, 1, 0, '2020-07-28 12:32:42', '2020-07-28 12:32:42'),
('254525ab-e3b4-45f0-1213-24cf89fed1ee', 'Appointment request', 'appointment-request-omp', 'Appointment request for any service', '{\"form\":[{\"id\":5,\"name\":\"field_6\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h1\",\"text_color\":\"#ee301d\",\"content\":\"Appointment Request\",\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":6,\"name\":\"field_7\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"p\",\"text_color\":\"#515658\",\"content\":\"Let us know how we can help transform your landscape!\",\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[]},{\"id\":0,\"name\":\"field_1\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Name\",\"help_text\":null,\"prefix_icon\":\"fa-user\",\"suffix_icon\":\"none\",\"placeholder\":\"Enter your name\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-4\",\"custom_attributes\":[]},{\"id\":3,\"name\":\"field_4\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Phone No.\",\"help_text\":null,\"prefix_icon\":\"fa-phone\",\"suffix_icon\":\"none\",\"placeholder\":\"Phone number to contact you\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-4\",\"custom_attributes\":[]},{\"id\":1,\"name\":\"field_2\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"email\",\"label\":\"Email\",\"help_text\":null,\"prefix_icon\":\"fa-envelope\",\"suffix_icon\":\"none\",\"placeholder\":\"Email to contact you\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[{\"rule\":\"email\",\"error_msg\":\"Please provide a valid email\"}],\"conditional_class\":null,\"col\":\"col-md-4\",\"custom_attributes\":[]},{\"id\":7,\"name\":\"field_8\",\"extras\":{\"showConfigurator\":false},\"type\":\"textarea\",\"label\":\"Address\",\"help_text\":null,\"prefix_icon\":\"fa-map-marker\",\"suffix_icon\":\"none\",\"rows\":3,\"columns\":null,\"placeholder\":\"Provide street, landmark, city, state, postal code, country\",\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":8,\"name\":\"field_9\",\"extras\":{\"showConfigurator\":false},\"type\":\"checkbox\",\"label\":\"What days work best for you?\",\"help_text\":null,\"options\":\"Monday\\nTuesday\\nWednesday\\nThursday\\nFriday\\nSaturday\",\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":9,\"name\":\"field_10\",\"extras\":{\"showConfigurator\":false},\"type\":\"radio\",\"label\":\"What time works best for you?\",\"help_text\":null,\"options\":\"Morning\\nAfternoon\\nEvening\",\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":10,\"name\":\"field_11\",\"extras\":{\"showConfigurator\":false},\"type\":\"calendar\",\"label\":\"Any specific date\\/time?\",\"help_text\":null,\"size\":null,\"prefix_icon\":\"fa-calendar-check\",\"suffix_icon\":\"none\",\"custom_class\":null,\"start_date\":\"today\",\"end_date\":\"none\",\"format\":\"MM-DD-YYYY\",\"disabled_days\":[],\"enable_time_picker\":true,\"time_format\":\"12\",\"time_picker_inline\":true,\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":11,\"name\":\"field_12\",\"extras\":{\"showConfigurator\":false},\"type\":\"textarea\",\"label\":\"What services are you intersted in?\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"rows\":3,\"columns\":null,\"placeholder\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":13,\"name\":\"field_14\",\"extras\":{\"showConfigurator\":false},\"type\":\"terms_and_condition\",\"label\":\"Terms & Conditions\",\"link\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]}],\"emailConfig\":{\"email\":{\"from\":\"admin@admin.com\",\"to\":\"admin@admin.com\",\"cc\":null,\"bcc\":null,\"subject\":\"New Appointment request from :  __field_1__\",\"body\":\"New Appoinment request : \\nName :  __field_1__\\nPhone Number :  __field_4__\\nEmail :  __field_2__\\nAddress :  __field_8__\\nWhat Days work best for  __field_1__ :  __field_9__\\nWhat time work best for  __field_1__  :  __field_10__\\nSpecific date\\/time :  __field_11__ \\nService Intrested In :  __field_12__\"},\"auto_response\":{\"from\":null,\"to\":null,\"subject\":null,\"body\":null,\"is_enable\":false},\"smtp\":{\"host\":null,\"port\":null,\"from_address\":null,\"from_name\":null,\"encryption\":null,\"username\":null,\"password\":null,\"use_system_smtp\":1}},\"settings\":{\"recaptcha\":{\"is_enable\":0,\"site_key\":null,\"secret_key\":null},\"color\":{\"label\":\"#000000\",\"error_msg\":\"#a94442\",\"required_asterisk_color\":\"#a94442\",\"background\":\"#ffffff\",\"image_path\":null},\"notification\":{\"post_submit_action\":\"same_page\",\"failed_msg\":\"Something went wrong, please try again.\",\"success_msg\":\"Email sent successfully.\",\"redirect_url\":null,\"position\":\"toast-top-right\"},\"submit\":{\"text\":\"Submit\",\"loading_text\":\"Submitting...\",\"btn_alignment\":\"float-right\",\"btn_size\":null,\"btn_color\":\"btn-primary\",\"btn_style\":\"default\",\"btn_icon\":\"none\",\"icon_position\":\"left\"},\"form_data\":{\"col_visible\":[\"field_1\",\"field_2\",\"field_8\",\"field_9\",\"field_10\",\"field_11\",\"field_12\",\"field_13\",\"field_14\"],\"btn_enabled\":[\"view\",\"delete\"]},\"background\":{\"bg_type\":\"bg_color\"},\"form_scheduling\":{\"closed_msg\":\"The form has been closed now!\",\"start_date_time\":null,\"end_date_time\":null,\"is_enabled\":false},\"form_submision_ref\":{\"is_enabled\":false,\"prefix\":null,\"suffix\":null,\"start_no\":\"1\",\"min_digit\":\"4\"},\"theme\":\"yeti\",\"is_enabled_draft_submit\":0},\"additional_js_css\":{\"js\":null,\"css\":null},\"conditional_fields\":[{\"action\":null,\"element\":null,\"conditions\":[{\"condition\":null,\"value\":null,\"element_type\":\"text\",\"element_index\":null,\"operator\":\"==\"}]}],\"form_attributes\":[]}', '{\"is_enable\":false,\"api_key\":null,\"list_id\":null,\"email_field\":null,\"name_field\":null}', NULL, NULL, 1, 0, 1, 0, '2020-07-28 12:32:42', '2020-07-28 12:32:42'),
('2cf00d1d-9553-42d5-b406-002d0fa0a426', 'Product order', 'product-order-mktts', 'Product order form for your customers', '{\"form\":[{\"id\":0,\"name\":\"field_1\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h2\",\"text_color\":\"#f32b6d\",\"content\":\"Product Order\",\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[]},{\"id\":1,\"name\":\"field_2\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Name\",\"help_text\":null,\"prefix_icon\":\"fa-user\",\"suffix_icon\":\"none\",\"placeholder\":\"Enter your name\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[]},{\"id\":2,\"name\":\"field_3\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Company\",\"help_text\":null,\"prefix_icon\":\"fa-briefcase\",\"suffix_icon\":\"none\",\"placeholder\":\"Enter Company name\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[]},{\"id\":5,\"name\":\"field_6\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Phone no.\",\"help_text\":null,\"prefix_icon\":\"fa-phone-square\",\"suffix_icon\":\"none\",\"placeholder\":\"Enter phone no. to contact you\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[{\"rule\":\"digits\",\"error_msg\":\"Please Provide valid number.\"}],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":3,\"name\":\"field_4\",\"extras\":{\"showConfigurator\":false},\"type\":\"textarea\",\"label\":\"Shipping Address\",\"help_text\":null,\"prefix_icon\":\"fa-map-marker-alt\",\"suffix_icon\":\"none\",\"rows\":3,\"columns\":null,\"placeholder\":\"Provide street, landmark, city, state, postal code, country\",\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":4,\"name\":\"field_5\",\"extras\":{\"showConfigurator\":false},\"type\":\"textarea\",\"label\":\"Billing Address\",\"help_text\":null,\"prefix_icon\":\"fa-map-marker\",\"suffix_icon\":\"none\",\"rows\":3,\"columns\":null,\"placeholder\":\"Provide street, landmark, city, state, postal code, country\",\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":6,\"name\":\"field_7\",\"extras\":{\"showConfigurator\":false},\"type\":\"textarea\",\"label\":\"Special Instructions\",\"help_text\":null,\"prefix_icon\":\"fa-info\",\"suffix_icon\":\"none\",\"rows\":3,\"columns\":null,\"placeholder\":null,\"custom_class\":null,\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":7,\"name\":\"field_8\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h4\",\"text_color\":\"#212529\",\"content\":\"My products\",\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[]},{\"id\":8,\"name\":\"field_9\",\"extras\":{\"showConfigurator\":false},\"type\":\"checkbox\",\"label\":null,\"help_text\":null,\"options\":\"Product 1 $3.00\",\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[]},{\"id\":9,\"name\":\"field_10\",\"extras\":{\"showConfigurator\":false},\"type\":\"dropdown\",\"label\":\"Quantity For Product 1\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"options\":\"1\\n2\\n3\\n4\\n5\\n6\\n7\\n8\\n9\\n10\",\"size\":null,\"custom_class\":null,\"multiselect\":false,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[]},{\"id\":10,\"name\":\"field_11\",\"extras\":{\"showConfigurator\":false},\"type\":\"checkbox\",\"label\":null,\"help_text\":null,\"options\":\"Product 2 $5.00\",\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[]},{\"id\":11,\"name\":\"field_12\",\"extras\":{\"showConfigurator\":false},\"type\":\"dropdown\",\"label\":\"Quantity For Product 2\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"options\":\"1\\n2\\n3\\n4\\n5\\n6\\n7\\n8\\n9\\n10\",\"size\":null,\"custom_class\":null,\"multiselect\":false,\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[]}],\"emailConfig\":{\"email\":{\"from\":\"admin@admin.com\",\"to\":\"admin@admin.com\",\"cc\":null,\"bcc\":null,\"subject\":\"Product Order From :  __field_2__\",\"body\":\"Product Order : \\nName :  __field_2__\\nCompany :  __field_3__ \\nShipping Address :  __field_4__\\nBilling Address :  __field_5__\\nContact number :  __field_6__\\nSpecial Intruction :  __field_7__\\nProduct 1:  __field_9__\\nQuantity for product 1 :  __field_10__\\nProduct 2 :  __field_11__\\nQuantity for product 2 :   __field_12__\"},\"auto_response\":{\"from\":null,\"to\":null,\"subject\":null,\"body\":null,\"is_enable\":false},\"smtp\":{\"host\":null,\"port\":null,\"from_address\":null,\"from_name\":null,\"encryption\":null,\"username\":null,\"password\":null,\"use_system_smtp\":1}},\"settings\":{\"recaptcha\":{\"is_enable\":0,\"site_key\":null,\"secret_key\":null},\"color\":{\"label\":\"#000000\",\"error_msg\":\"#a94442\",\"required_asterisk_color\":\"#a94442\",\"background\":\"#ffffff\",\"image_path\":null},\"notification\":{\"post_submit_action\":\"same_page\",\"failed_msg\":\"Something went wrong, please try again.\",\"success_msg\":\"Email sent successfully.\",\"redirect_url\":null,\"position\":\"toast-top-right\"},\"submit\":{\"text\":\"Submit\",\"loading_text\":\"Submitting...\",\"btn_alignment\":\"float-right\",\"btn_size\":null,\"btn_color\":\"btn-outline-success\",\"btn_style\":\"outline\",\"btn_icon\":\"fa-fast-forward\",\"icon_position\":\"left\"},\"form_data\":{\"col_visible\":[\"field_2\",\"field_3\",\"field_4\",\"field_5\",\"field_6\",\"field_7\",\"field_9\",\"field_10\",\"field_11\",\"field_12\"],\"btn_enabled\":[\"view\",\"delete\"]},\"background\":{\"bg_type\":\"bg_color\"},\"form_scheduling\":{\"closed_msg\":\"The form has been closed now!\",\"start_date_time\":null,\"end_date_time\":null,\"is_enabled\":false},\"form_submision_ref\":{\"is_enabled\":false,\"prefix\":null,\"suffix\":null,\"start_no\":\"1\",\"min_digit\":\"4\"},\"theme\":\"cerulean\",\"is_enabled_draft_submit\":0},\"additional_js_css\":{\"js\":null,\"css\":null},\"conditional_fields\":[{\"action\":null,\"element\":null,\"conditions\":[{\"condition\":null,\"value\":null,\"element_type\":\"text\",\"element_index\":null,\"operator\":\"==\"}]}],\"form_attributes\":[]}', '{\"is_enable\":false,\"api_key\":null,\"list_id\":null,\"email_field\":null,\"name_field\":null}', NULL, NULL, 1, 0, 1, 0, '2020-07-28 12:32:42', '2020-07-28 12:32:42'),
('426ce4ff-1341-461d-123s-e855ce444a31', 'Contact form', 'contact-form-peg', 'Simple form with name, contact, subject & body.', '{\"form\":[{\"id\":5,\"name\":\"field_6\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h1\",\"text_color\":\"#ee301d\",\"content\":\"Contact us\",\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[]},{\"id\":6,\"name\":\"field_7\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"p\",\"text_color\":\"#343637\",\"content\":\"Fill out the form below and we will contact you soon.\",\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[]},{\"id\":0,\"name\":\"field_1\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Name\",\"help_text\":null,\"prefix_icon\":\"fa-user\",\"suffix_icon\":\"none\",\"placeholder\":\"Enter your name\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":1,\"name\":\"field_2\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"email\",\"label\":\"Email\",\"help_text\":null,\"prefix_icon\":\"fa-envelope\",\"suffix_icon\":\"none\",\"placeholder\":\"Email to contact you\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[{\"rule\":\"email\",\"error_msg\":\"Please provide a valid email\"}],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":3,\"name\":\"field_4\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Phone No.\",\"help_text\":null,\"prefix_icon\":\"fa-phone\",\"suffix_icon\":\"none\",\"placeholder\":\"Phone number to contact you\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":2,\"name\":\"field_3\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Subject\",\"help_text\":null,\"prefix_icon\":\"fa-question\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":4,\"name\":\"field_5\",\"extras\":{\"showConfigurator\":false},\"type\":\"textarea\",\"label\":\"Body\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"rows\":\"7\",\"columns\":null,\"placeholder\":null,\"custom_class\":null,\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"}],\"emailConfig\":{\"email\":{\"from\":\"admin@admin.com\",\"to\":\"admin@admin.com\",\"cc\":null,\"bcc\":null,\"subject\":\"New contact from  __field_1__\",\"body\":\"New contact form submission:\\n\\nName:  __field_1__\\nEmail:  __field_2__\\nPhone No.:  __field_4__\\nSubject:  __field_3__\\nBody:  __field_5__\\n\\n--------------------------\\nSend via contact form\"},\"auto_response\":{\"from\":null,\"to\":null,\"subject\":null,\"body\":null,\"is_enable\":false},\"smtp\":{\"host\":null,\"port\":null,\"from_address\":null,\"from_name\":null,\"encryption\":null,\"username\":null,\"password\":null,\"use_system_smtp\":1}},\"settings\":{\"recaptcha\":{\"is_enable\":0,\"site_key\":null,\"secret_key\":null},\"color\":{\"label\":\"#000000\",\"error_msg\":\"#a94442\",\"required_asterisk_color\":\"#a94442\",\"background\":\"#ffffff\",\"image_path\":null},\"notification\":{\"post_submit_action\":\"redirect\",\"failed_msg\":\"Something went wrong, please try again.\",\"success_msg\":\"Email sent successfully.\",\"redirect_url\":\"http:\\/\\/thewebfosters.com\\/\",\"position\":\"toast-top-right\"},\"submit\":{\"text\":\"Submit\",\"loading_text\":\"Submitting...\",\"btn_alignment\":\"float-right\",\"btn_size\":null,\"btn_color\":\"btn-outline-success\",\"btn_style\":\"outline\",\"btn_icon\":\"fa-share\",\"icon_position\":\"right\"},\"form_data\":{\"col_visible\":[\"field_1\",\"field_2\",\"field_4\",\"field_3\",\"field_5\"],\"btn_enabled\":[\"view\",\"delete\"]},\"background\":{\"bg_type\":\"bg_color\"},\"form_scheduling\":{\"closed_msg\":\"The form has been closed now!\",\"start_date_time\":null,\"end_date_time\":null,\"is_enabled\":false},\"form_submision_ref\":{\"is_enabled\":true,\"prefix\":\"#ref\",\"suffix\":null,\"start_no\":\"1\",\"min_digit\":\"4\"},\"theme\":\"materia\",\"is_enabled_draft_submit\":true},\"additional_js_css\":{\"js\":null,\"css\":null},\"conditional_fields\":[{\"action\":null,\"element\":null,\"conditions\":[{\"condition\":null,\"value\":null,\"element_type\":\"text\",\"element_index\":null,\"operator\":\"==\"}]}],\"form_attributes\":[]}', '{\"is_enable\":false,\"api_key\":null,\"list_id\":null,\"email_field\":null,\"name_field\":null}', NULL, NULL, 1, 0, 1, 1, '2020-07-28 12:32:42', '2020-07-28 12:32:42'),
('6aaf3f59-afab-40ac-a5fc-f38ad7274ae9', 'Course registration form', 'course-registration-form-tge', 'Course registration form for students', '{\"form\":[{\"id\":0,\"name\":\"field_1\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h2\",\"text_color\":\"#f7676b\",\"content\":\"Student Registration Form\",\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":1,\"name\":\"field_2\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"p\",\"text_color\":\"#5c646d\",\"content\":\"Fill out the form carefully for registration\",\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":2,\"name\":\"field_3\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Student Name\",\"help_text\":null,\"prefix_icon\":\"fa-user\",\"suffix_icon\":\"none\",\"placeholder\":\"Enter your name\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[]},{\"id\":3,\"name\":\"field_4\",\"extras\":{\"showConfigurator\":false},\"type\":\"calendar\",\"label\":\"Birth Date\",\"help_text\":null,\"size\":null,\"prefix_icon\":\"fa-calendar-check\",\"suffix_icon\":\"none\",\"custom_class\":null,\"start_date\":\"none\",\"end_date\":\"none\",\"format\":\"MM-DD-YYYY\",\"disabled_days\":[],\"enable_time_picker\":false,\"time_format\":\"12\",\"time_picker_inline\":false,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[]},{\"id\":4,\"name\":\"field_5\",\"extras\":{\"showConfigurator\":false},\"type\":\"radio\",\"label\":\"Gender\",\"help_text\":null,\"options\":\"Male\\nFemale\\nOther\",\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":6,\"name\":\"field_7\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"email\",\"label\":\"Email\",\"help_text\":null,\"prefix_icon\":\"fa-envelope\",\"suffix_icon\":\"none\",\"placeholder\":\"Enter your email\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[{\"rule\":\"email\",\"error_msg\":\"Please provide correct email.\"}],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":7,\"name\":\"field_8\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Mobile Number\",\"help_text\":null,\"prefix_icon\":\"fa-phone-square\",\"suffix_icon\":\"none\",\"placeholder\":\"Enter your mobile number\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":8,\"name\":\"field_9\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Company\",\"help_text\":null,\"prefix_icon\":\"fa-briefcase\",\"suffix_icon\":\"none\",\"placeholder\":\"Enter company name\",\"size\":null,\"custom_class\":null,\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":9,\"name\":\"field_10\",\"extras\":{\"showConfigurator\":false},\"type\":\"dropdown\",\"label\":\"Courses\",\"help_text\":\"Choose course you want to pursue\",\"prefix_icon\":\"fa-certificate\",\"suffix_icon\":\"none\",\"options\":\"Php\\nJava\\nC++\\nPython\\nGame Design\",\"size\":null,\"custom_class\":null,\"multiselect\":false,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":5,\"name\":\"field_6\",\"extras\":{\"showConfigurator\":false},\"type\":\"textarea\",\"label\":\"Address\",\"help_text\":null,\"prefix_icon\":\"fa-home\",\"suffix_icon\":\"none\",\"rows\":3,\"columns\":null,\"placeholder\":\"Provide street, landmark, city, state, postal code, country\",\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":11,\"name\":\"field_12\",\"extras\":{\"showConfigurator\":false},\"type\":\"file_upload\",\"label\":\"Image for logo\",\"help_text\":null,\"upload_text\":\"Drop a file here\",\"no_of_files\":\"1\",\"send_as_email_attachment\":true,\"file_size_limit\":5,\"file_type\":\"Specify_type\",\"allowed_file_type\":\".jpg, .png, .jpeg\",\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":10,\"name\":\"field_11\",\"extras\":{\"showConfigurator\":false},\"type\":\"textarea\",\"label\":\"Enquiry if any ?\",\"help_text\":null,\"prefix_icon\":\"fa-question-circle\",\"suffix_icon\":\"none\",\"rows\":3,\"columns\":null,\"placeholder\":null,\"custom_class\":null,\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"}],\"emailConfig\":{\"email\":{\"from\":\"admin@admin.com\",\"to\":\"admin@admin.com\",\"cc\":null,\"bcc\":null,\"subject\":\"New Registration By:  __field_3__\",\"body\":\"Registration Details : \\nName :  __field_3__\\nDOB :  __field_4__\\nGender :  __field_5__\\nAddress :  __field_6__\\nEmail :  __field_7__\\nMobile Number :  __field_8__\\nCompany :  __field_9__\\nCourse :  __field_10__\\nEnquiry :  __field_11__\"},\"auto_response\":{\"from\":null,\"to\":null,\"subject\":null,\"body\":null,\"is_enable\":false},\"smtp\":{\"host\":null,\"port\":null,\"from_address\":null,\"from_name\":null,\"encryption\":null,\"username\":null,\"password\":null,\"use_system_smtp\":1}},\"settings\":{\"recaptcha\":{\"is_enable\":0,\"site_key\":null,\"secret_key\":null},\"color\":{\"label\":\"#000000\",\"error_msg\":\"#a94442\",\"required_asterisk_color\":\"#a94442\",\"background\":\"#ffe2c2\",\"image_path\":null},\"notification\":{\"post_submit_action\":\"same_page\",\"failed_msg\":\"Something went wrong, please try again.\",\"success_msg\":\"Email sent successfully.\",\"redirect_url\":null,\"position\":\"toast-top-right\"},\"submit\":{\"text\":\"Submit\",\"loading_text\":\"Submitting...\",\"btn_alignment\":\"float-right\",\"btn_size\":null,\"btn_color\":\"btn-success\",\"btn_style\":\"default\",\"btn_icon\":\"fa-save\",\"icon_position\":\"left\"},\"form_data\":{\"col_visible\":[\"field_3\",\"field_4\",\"field_5\",\"field_6\",\"field_7\",\"field_8\",\"field_9\",\"field_10\",\"field_11\",\"field_12\"],\"btn_enabled\":[\"view\",\"delete\"]},\"background\":{\"bg_type\":\"bg_color\"},\"form_scheduling\":{\"closed_msg\":\"The form has been closed now!\",\"start_date_time\":null,\"end_date_time\":null,\"is_enabled\":false},\"form_submision_ref\":{\"is_enabled\":false,\"prefix\":null,\"suffix\":null,\"start_no\":\"1\",\"min_digit\":\"4\"},\"theme\":\"lux\",\"is_enabled_draft_submit\":0},\"additional_js_css\":{\"js\":null,\"css\":null},\"conditional_fields\":[{\"action\":null,\"element\":null,\"conditions\":[{\"condition\":null,\"value\":null,\"element_type\":\"text\",\"element_index\":null,\"operator\":\"==\"}]}],\"form_attributes\":[]}', '{\"is_enable\":false,\"api_key\":null,\"list_id\":null,\"email_field\":null,\"name_field\":null}', NULL, NULL, 1, 0, 1, 0, '2020-07-28 12:32:42', '2020-07-28 12:32:42'),
('b111b35b-a8bb-47fc-zds1-e5a02b2a732s', 'Event registration form', 'event-registration-form-1hv', 'Event registration form, can be used  for hackathon or webinar invitation', '{\"form\":[{\"id\":5,\"name\":\"field_6\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h1\",\"text_color\":\"#ee301d\",\"content\":\"Event registration\",\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":6,\"name\":\"field_7\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"p\",\"text_color\":\"#343637\",\"content\":\"Register by providing the details below.\",\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[]},{\"id\":0,\"name\":\"field_1\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Name\",\"help_text\":null,\"prefix_icon\":\"fa-user\",\"suffix_icon\":\"none\",\"placeholder\":\"Enter your name\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[]},{\"id\":1,\"name\":\"field_2\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"email\",\"label\":\"Email\",\"help_text\":null,\"prefix_icon\":\"fa-envelope\",\"suffix_icon\":\"none\",\"placeholder\":\"Email to contact you\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[{\"rule\":\"email\",\"error_msg\":\"Please provide a valid email\"}],\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[]},{\"id\":15,\"name\":\"field_16\",\"extras\":{\"showConfigurator\":false},\"type\":\"radio\",\"label\":\"Gender\",\"help_text\":null,\"options\":\"Male\\nFemale\\nOther\",\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":3,\"name\":\"field_4\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Phone No.\",\"help_text\":null,\"prefix_icon\":\"fa-phone\",\"suffix_icon\":\"none\",\"placeholder\":\"Phone number to contact you\",\"size\":null,\"custom_class\":null,\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":13,\"name\":\"field_14\",\"extras\":{\"showConfigurator\":false},\"type\":\"radio\",\"label\":\"Which Event?\",\"help_text\":null,\"options\":\"Innovathon-Innovating Hackathon\\nHackerTech Hackathon\\nWebinar on Flutter dev\\nWebinar On TDD Using Jest\",\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[]},{\"id\":14,\"name\":\"field_15\",\"extras\":{\"showConfigurator\":false},\"type\":\"file_upload\",\"label\":\"Verification Documents\",\"help_text\":\"Provide us the document to verify (passport or any other government identify proof)\",\"upload_text\":\"Drop a file here (Max 1 MB)\",\"no_of_files\":\"1\",\"send_as_email_attachment\":true,\"file_size_limit\":\"1\",\"file_type\":\"all\",\"allowed_file_type\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":16,\"name\":\"field_17\",\"extras\":{\"showConfigurator\":false},\"type\":\"signature\",\"label\":\"Signature\",\"col\":\"col-md-12\",\"html_text\":null,\"custom_class\":null,\"custom_attributes\":[],\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null}],\"emailConfig\":{\"email\":{\"from\":\"admin@admin.com\",\"to\":\"admin@admin.com\",\"cc\":null,\"bcc\":null,\"subject\":\"New registration details:  __field_1__\",\"body\":\"New Registration:\\n\\nName:  __field_1__\\nEmail:  __field_2__\\nPhone no.:  __field_4__\\nEvent:  __field_14__\"},\"auto_response\":{\"from\":null,\"to\":null,\"subject\":null,\"body\":null,\"is_enable\":false},\"smtp\":{\"host\":null,\"port\":null,\"from_address\":null,\"from_name\":null,\"encryption\":null,\"username\":null,\"password\":null,\"use_system_smtp\":1}},\"settings\":{\"recaptcha\":{\"is_enable\":0,\"site_key\":null,\"secret_key\":null},\"color\":{\"label\":\"#000000\",\"error_msg\":\"#a94442\",\"required_asterisk_color\":\"#a94442\",\"background\":\"#ffffff\",\"image_path\":null},\"notification\":{\"post_submit_action\":\"same_page\",\"failed_msg\":\"Something went wrong, please try again.\",\"success_msg\":\"Email sent successfully.\",\"redirect_url\":null,\"position\":\"toast-top-right\"},\"submit\":{\"text\":\"Submit\",\"loading_text\":\"Submitting...\",\"btn_alignment\":\"float-right\",\"btn_size\":null,\"btn_color\":\"btn-primary\",\"btn_style\":\"default\",\"btn_icon\":\"none\",\"icon_position\":\"left\"},\"form_data\":{\"col_visible\":[\"field_1\",\"field_2\",\"field_14\",\"field_15\",\"field_16\",\"field_17\",\"field_18\"],\"btn_enabled\":[\"view\",\"delete\"]},\"background\":{\"bg_type\":\"bg_color\"},\"form_scheduling\":{\"closed_msg\":\"The form has been closed now!\",\"start_date_time\":null,\"end_date_time\":null,\"is_enabled\":false},\"form_submision_ref\":{\"is_enabled\":false,\"prefix\":null,\"suffix\":null,\"start_no\":\"1\",\"min_digit\":\"4\"},\"theme\":\"lumen\",\"is_enabled_draft_submit\":0},\"additional_js_css\":{\"js\":null,\"css\":null},\"conditional_fields\":[{\"action\":null,\"element\":null,\"conditions\":[{\"condition\":null,\"value\":null,\"element_type\":\"text\",\"element_index\":null,\"operator\":\"==\"}]}],\"form_attributes\":[]}', '{\"is_enable\":false,\"api_key\":null,\"list_id\":null,\"email_field\":null,\"name_field\":null}', NULL, NULL, 1, 0, 1, 0, '2020-07-28 12:32:42', '2020-07-28 12:32:42');
INSERT INTO `forms` (`id`, `name`, `slug`, `description`, `schema`, `mailchimp_details`, `acelle_mail_info`, `webhook_info`, `is_template`, `is_global_template`, `created_by`, `submission_count`, `created_at`, `updated_at`) VALUES
('b31b0358-b771-416f-a38d-192efe2c36b3', 'Keevitus : RAAM', 'keevitus-raam-qgv', 'Kontrollid tootmise ajal', '{\"form\":[{\"id\":0,\"name\":\"field_1\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h3\",\"text_color\":\"#212529\",\"content\":\"KONTROLLID TOOTMISE AJAL\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":1,\"name\":\"field_2\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h5\",\"text_color\":\"#212529\",\"content\":\"Keevitus : RAAM\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":2,\"name\":\"field_3\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h5\",\"text_color\":\"#212529\",\"content\":\"T\\u00f6\\u00f6tlemine\\/m\\u00f5\\u00f5detakse iga uue tellimuse alguses (min. 2x p\\u00e4evas)\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":4,\"name\":\"field_5\",\"extras\":{\"showConfigurator\":false},\"type\":\"calendar\",\"label\":\"Kuup\\u00e4ev\",\"help_text\":null,\"size\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"custom_class\":null,\"start_date\":\"none\",\"end_date\":\"none\",\"format\":\"DD.MM.YYYY\",\"disabled_days\":[],\"enable_time_picker\":true,\"time_format\":\"24\",\"time_picker_inline\":false,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":6,\"name\":\"field_7\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Tellimuse nr.\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":7,\"name\":\"field_8\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Profiili t\\u00e4his\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":8,\"name\":\"field_9\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Positsioon\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":9,\"name\":\"field_10\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"number\",\"label\":\"Seadistus, mm\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":10,\"name\":\"field_11\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"number\",\"label\":\"Tegelik, mm (+0 -1)\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":12,\"name\":\"field_13\",\"extras\":{\"showConfigurator\":false},\"type\":\"checkbox\",\"label\":\"M\\u00f5\\u00f5dud, OK m\\u00e4rkega\",\"help_text\":null,\"spread_to_col\":{\"enable\":false,\"column\":2},\"options\":\"OK\",\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":13,\"name\":\"field_14\",\"extras\":{\"showConfigurator\":false},\"type\":\"textarea\",\"label\":\"M\\u00e4rkused\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"rows\":3,\"columns\":null,\"placeholder\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[]}],\"emailConfig\":{\"email\":{\"enable\":null,\"from\":null,\"to\":null,\"reply_to_email\":null,\"cc\":null,\"bcc\":null,\"subject\":null,\"body\":null,\"attach_pdf\":false},\"auto_response\":{\"from\":null,\"to\":null,\"subject\":null,\"body\":null,\"is_enable\":false,\"attach_pdf\":false},\"smtp\":{\"host\":null,\"port\":null,\"from_address\":null,\"from_name\":null,\"encryption\":null,\"username\":null,\"password\":null,\"use_system_smtp\":1}},\"settings\":{\"recaptcha\":{\"is_enable\":0,\"site_key\":null,\"secret_key\":null},\"color\":{\"label\":\"#000000\",\"error_msg\":\"#a94442\",\"required_asterisk_color\":\"#a94442\",\"background\":\"#ffffff\",\"image_path\":null,\"page_color\":\"#f4f6f9\"},\"notification\":{\"post_submit_action\":\"same_page\",\"failed_msg\":\"Something went wrong, please try again.\",\"success_msg\":\"Your submission has been received.\",\"redirect_url\":null,\"position\":\"toast-top-right\"},\"submit\":{\"text\":\"Submit\",\"loading_text\":\"Submitting...\",\"btn_alignment\":\"float-right\",\"btn_size\":null,\"btn_color\":\"btn-primary\",\"btn_style\":\"default\",\"btn_icon\":\"none\",\"icon_position\":\"left\"},\"form_data\":{\"col_visible\":[\"field_5\",\"field_7\",\"field_8\",\"field_9\",\"field_10\",\"field_11\",\"field_13\",\"field_14\"],\"btn_enabled\":[]},\"background\":{\"bg_type\":\"bg_color\"},\"form_scheduling\":{\"closed_msg\":\"The form has been closed now!\",\"start_date_time\":null,\"end_date_time\":null,\"is_enabled\":false},\"form_submision_ref\":{\"is_enabled\":false,\"prefix\":null,\"suffix\":null,\"start_no\":\"1\",\"min_digit\":\"4\"},\"theme\":\"default\",\"is_enabled_draft_submit\":0,\"layout\":\"classic\",\"password_protection\":{\"is_enabled\":false,\"password\":null},\"pdf_design\":{\"header\":\"<h1 style=\\\"margin-top: 0px; margin-bottom: 0.5rem; font-family: &quot;Source Sans Pro&quot;, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; line-height: 1.2; color: rgb(0, 0, 0); font-size: 2.5rem; text-align: center;\\\"><span style=\\\"color: rgb(33, 37, 41); font-size: 12.8px; text-align: left; background-color: rgb(244, 246, 249);\\\"><span style=\\\"font-size: 24px;\\\"><span style=\\\"font-weight: bolder;\\\">{form_name}<\\/span><\\/span><\\/span><\\/h1>\"},\"is_qr_code_enabled\":false,\"qr_code_data_format\":\"string\",\"is_ref_num_bar_code_enabled\":false,\"is_ref_num_qr_code_enabled\":false},\"additional_js_css\":{\"js\":null,\"css\":null},\"conditional_fields\":[{\"action\":null,\"element\":null,\"conditions\":[{\"condition\":null,\"value\":null,\"element_type\":\"text\",\"element_index\":null,\"operator\":\"==\",\"logical_operator\":\"AND\"}]}],\"form_attributes\":[],\"contains_page_break\":false}', '{\"is_enable\":false,\"api_key\":null,\"list_id\":null,\"email_field\":null,\"name_field\":null}', '{\"is_enable\":false,\"api_token\":null,\"list_id\":null,\"campaign_fields\":[]}', '{\"is_enable\":false,\"url\":null,\"secret_key\":null}', 0, 0, 1, 0, '2023-08-23 21:27:11', '2023-09-15 07:24:19'),
('dfc0fbba-6d32-4eeb-95aa-c23c82c828ca', 'Sae kontroll : METALL', 'sae-kontroll-metall-kmx', 'Kontrollid tootmise ajal', '{\"form\":[{\"id\":0,\"name\":\"field_1\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h3\",\"text_color\":\"#212529\",\"content\":\"KONTROLLID TOOTMISE AJAL\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":1,\"name\":\"field_2\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h5\",\"text_color\":\"#212529\",\"content\":\"Sae kontroll : METALL\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":2,\"name\":\"field_3\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h5\",\"text_color\":\"#212529\",\"content\":\"T\\u00f6\\u00f6tlemine\\/m\\u00f5\\u00f5detakse iga uue tellimuse alguses (min. 2x p\\u00e4evas)\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":4,\"name\":\"field_5\",\"extras\":{\"showConfigurator\":false},\"type\":\"calendar\",\"label\":\"Kuup\\u00e4ev\",\"help_text\":null,\"size\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"custom_class\":null,\"start_date\":\"none\",\"end_date\":\"none\",\"format\":\"DD.MM.YYYY\",\"disabled_days\":[],\"enable_time_picker\":true,\"time_format\":\"24\",\"time_picker_inline\":false,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":6,\"name\":\"field_7\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Tellimuse nr.\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":7,\"name\":\"field_8\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Profiili t\\u00e4his\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":14,\"name\":\"field_15\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Visuaalne kontroll, OK t\\u00e4hisega\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":8,\"name\":\"field_9\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Nurkl\\u00f5ige, OK t\\u00e4hisega\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":9,\"name\":\"field_10\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"number\",\"label\":\"Seadistus, mm\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":10,\"name\":\"field_11\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"number\",\"label\":\"Tegelik, mm (+\\/-2)\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":12,\"name\":\"field_13\",\"extras\":{\"showConfigurator\":false},\"type\":\"checkbox\",\"label\":\"M\\u00f5\\u00f5dud, OK m\\u00e4rkega\",\"help_text\":null,\"spread_to_col\":{\"enable\":false,\"column\":2},\"options\":\"OK\",\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":13,\"name\":\"field_14\",\"extras\":{\"showConfigurator\":false},\"type\":\"textarea\",\"label\":\"M\\u00e4rkused\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"rows\":3,\"columns\":null,\"placeholder\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[]}],\"emailConfig\":{\"email\":{\"enable\":null,\"from\":null,\"to\":null,\"reply_to_email\":null,\"cc\":null,\"bcc\":null,\"subject\":null,\"body\":null,\"attach_pdf\":false},\"auto_response\":{\"from\":null,\"to\":null,\"subject\":null,\"body\":null,\"is_enable\":false,\"attach_pdf\":false},\"smtp\":{\"host\":null,\"port\":null,\"from_address\":null,\"from_name\":null,\"encryption\":null,\"username\":null,\"password\":null,\"use_system_smtp\":1}},\"settings\":{\"recaptcha\":{\"is_enable\":0,\"site_key\":null,\"secret_key\":null},\"color\":{\"label\":\"#000000\",\"error_msg\":\"#a94442\",\"required_asterisk_color\":\"#a94442\",\"background\":\"#ffffff\",\"image_path\":null,\"page_color\":\"#f4f6f9\"},\"notification\":{\"post_submit_action\":\"same_page\",\"failed_msg\":\"Something went wrong, please try again.\",\"success_msg\":\"Your submission has been received.\",\"redirect_url\":null,\"position\":\"toast-top-right\"},\"submit\":{\"text\":\"Submit\",\"loading_text\":\"Submitting...\",\"btn_alignment\":\"float-right\",\"btn_size\":null,\"btn_color\":\"btn-primary\",\"btn_style\":\"default\",\"btn_icon\":\"none\",\"icon_position\":\"left\"},\"form_data\":{\"col_visible\":[\"field_5\",\"field_7\",\"field_8\",\"field_9\",\"field_10\",\"field_11\",\"field_13\",\"field_14\",\"field_15\"],\"btn_enabled\":[\"delete\"]},\"background\":{\"bg_type\":\"bg_color\"},\"form_scheduling\":{\"closed_msg\":\"The form has been closed now!\",\"start_date_time\":null,\"end_date_time\":null,\"is_enabled\":false},\"form_submision_ref\":{\"is_enabled\":false,\"prefix\":null,\"suffix\":null,\"start_no\":\"1\",\"min_digit\":\"4\"},\"theme\":\"default\",\"is_enabled_draft_submit\":0,\"layout\":\"classic\",\"password_protection\":{\"is_enabled\":false,\"password\":null},\"pdf_design\":{\"header\":\"<h1 style=\\\"margin-top: 0px; margin-bottom: 0.5rem; font-family: &quot;Source Sans Pro&quot;, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; line-height: 1.2; color: rgb(0, 0, 0); font-size: 2.5rem; text-align: center;\\\"><span style=\\\"color: rgb(33, 37, 41); font-size: 12.8px; text-align: left; background-color: rgb(244, 246, 249);\\\"><span style=\\\"font-size: 24px;\\\"><span style=\\\"font-weight: bolder;\\\">{form_name}<\\/span><\\/span><\\/span><\\/h1>\"},\"is_qr_code_enabled\":false,\"qr_code_data_format\":\"string\",\"is_ref_num_bar_code_enabled\":false,\"is_ref_num_qr_code_enabled\":false},\"additional_js_css\":{\"js\":null,\"css\":null},\"conditional_fields\":[{\"action\":null,\"element\":null,\"conditions\":[{\"condition\":null,\"value\":null,\"element_type\":\"text\",\"element_index\":null,\"operator\":\"==\",\"logical_operator\":\"AND\"}]}],\"form_attributes\":[],\"contains_page_break\":false}', '{\"is_enable\":false,\"api_key\":null,\"list_id\":null,\"email_field\":null,\"name_field\":null}', '{\"is_enable\":false,\"api_token\":null,\"list_id\":null,\"campaign_fields\":[]}', '{\"is_enable\":false,\"url\":null,\"secret_key\":null}', 0, 0, 1, 0, '2023-08-23 21:36:10', '2023-09-15 07:22:25'),
('e2fd806b-91e0-4235-23xz-10b1b80ce879', 'Feedback form', 'feedback-form-goa', 'Simple feedback form for your company', '{\"form\":[{\"id\":5,\"name\":\"field_6\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h1\",\"text_color\":\"#ee301d\",\"content\":\"Feedback Form\",\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":6,\"name\":\"field_7\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"p\",\"text_color\":\"#343637\",\"content\":\"Provide your feedback in the below form.\",\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[]},{\"id\":0,\"name\":\"field_1\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Name\",\"help_text\":null,\"prefix_icon\":\"fa-user\",\"suffix_icon\":\"none\",\"placeholder\":\"Enter your name\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-4\",\"custom_attributes\":[]},{\"id\":1,\"name\":\"field_2\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"email\",\"label\":\"Email\",\"help_text\":null,\"prefix_icon\":\"fa-envelope\",\"suffix_icon\":\"none\",\"placeholder\":\"Email to contact you\",\"size\":null,\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[{\"rule\":\"email\",\"error_msg\":\"Please provide a valid email\"}],\"conditional_class\":null,\"col\":\"col-md-4\",\"custom_attributes\":[]},{\"id\":3,\"name\":\"field_4\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Phone No.\",\"help_text\":null,\"prefix_icon\":\"fa-phone\",\"suffix_icon\":\"none\",\"placeholder\":\"Phone number to contact you\",\"size\":null,\"custom_class\":null,\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-4\",\"custom_attributes\":[]},{\"id\":7,\"name\":\"field_8\",\"extras\":{\"showConfigurator\":false},\"type\":\"textarea\",\"label\":\"Office address\",\"help_text\":null,\"prefix_icon\":\"fa-globe\",\"suffix_icon\":\"none\",\"rows\":3,\"columns\":null,\"placeholder\":\"Provide Street, Landmark, State, Postal Code, Country\",\"custom_class\":null,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":8,\"name\":\"field_9\",\"extras\":{\"showConfigurator\":false},\"type\":\"dropdown\",\"label\":\"How did you hear about us?\",\"help_text\":null,\"prefix_icon\":\"fa-bullhorn\",\"suffix_icon\":\"none\",\"options\":\"Newspaper\\nInternet\\nMagazine\\nFacebook\\nTwitter\\nLinkedIn\",\"size\":null,\"custom_class\":null,\"multiselect\":false,\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":11,\"name\":\"field_12\",\"extras\":{\"showConfigurator\":false},\"type\":\"rating\",\"label\":\"Rate us\",\"conditional_class\":null,\"stars_to_display\":5,\"min_rating\":0,\"max_rating\":5,\"increment\":0.5,\"direction\":\"ltr\",\"size\":\"md\",\"col\":\"col-md-12\",\"custom_attributes\":[],\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":4,\"name\":\"field_5\",\"extras\":{\"showConfigurator\":false},\"type\":\"textarea\",\"label\":\"Feedback about us:\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"rows\":\"4\",\"columns\":null,\"placeholder\":null,\"custom_class\":null,\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":9,\"name\":\"field_10\",\"extras\":{\"showConfigurator\":false},\"type\":\"textarea\",\"label\":\"Suggestions if any for further improvement:\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"rows\":3,\"columns\":null,\"placeholder\":null,\"custom_class\":null,\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"},{\"id\":10,\"name\":\"field_11\",\"extras\":{\"showConfigurator\":false},\"type\":\"radio\",\"label\":\"Will you be willing to recommend us?\",\"help_text\":null,\"options\":\"Yes\\nNo\\nMaybe\",\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"conditional_class\":null,\"col\":\"col-md-12\"}],\"emailConfig\":{\"email\":{\"from\":\"admin@admin.com\",\"to\":\"admin@admin.com\",\"cc\":null,\"bcc\":null,\"subject\":\"New Feedback from  __field_1__\",\"body\":\"New Feedback:\\n\\nName:  __field_1__\\nEmail:  __field_2__\\nOffice address: __field_8__\\nHow did you hear about us?: __field_9__\\nFeedback: __field_5__\\nSuggestion:  __field_10__\\nWill you recommend?:  __field_11__\\n\\n--------------------------\\nSend via feedback form\"},\"auto_response\":{\"from\":null,\"to\":null,\"subject\":null,\"body\":null,\"is_enable\":false},\"smtp\":{\"host\":null,\"port\":null,\"from_address\":null,\"from_name\":null,\"encryption\":null,\"username\":null,\"password\":null,\"use_system_smtp\":1}},\"settings\":{\"recaptcha\":{\"is_enable\":0,\"site_key\":null,\"secret_key\":null},\"color\":{\"label\":\"#000000\",\"error_msg\":\"#a94442\",\"required_asterisk_color\":\"#a94442\",\"background\":\"#ffffff\",\"image_path\":null},\"notification\":{\"post_submit_action\":\"same_page\",\"failed_msg\":\"Something went wrong, please try again.\",\"success_msg\":\"Email sent successfully.\",\"redirect_url\":null,\"position\":\"toast-top-right\"},\"submit\":{\"text\":\"Submit\",\"loading_text\":\"Submitting...\",\"btn_alignment\":\"float-right\",\"btn_size\":null,\"btn_color\":\"btn-primary\",\"btn_style\":\"default\",\"btn_icon\":\"none\",\"icon_position\":\"left\"},\"form_data\":{\"col_visible\":[\"field_1\",\"field_2\",\"field_8\",\"field_9\",\"field_5\",\"field_10\",\"field_11\",\"field_12\"],\"btn_enabled\":[\"view\",\"delete\"]},\"background\":{\"bg_type\":\"bg_color\"},\"form_scheduling\":{\"closed_msg\":\"The form has been closed now!\",\"start_date_time\":null,\"end_date_time\":null,\"is_enabled\":false},\"form_submision_ref\":{\"is_enabled\":false,\"prefix\":null,\"suffix\":null,\"start_no\":\"1\",\"min_digit\":\"4\"},\"theme\":\"flatly\",\"is_enabled_draft_submit\":0},\"additional_js_css\":{\"js\":null,\"css\":null},\"conditional_fields\":[{\"action\":null,\"element\":null,\"conditions\":[{\"condition\":null,\"value\":null,\"element_type\":\"text\",\"element_index\":null,\"operator\":\"==\"}]}],\"form_attributes\":[]}', '{\"is_enable\":false,\"api_key\":null,\"list_id\":null,\"email_field\":null,\"name_field\":null}', NULL, NULL, 1, 0, 1, 0, '2020-07-28 12:32:42', '2020-07-28 12:32:42'),
('f1379807-dba3-432e-bfc7-acb70b150508', 'FREESIMINE impost', 'freesimine-impost-ffc', 'Kontrollid tootmise ajal', '{\"form\":[{\"id\":0,\"name\":\"field_1\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h3\",\"text_color\":\"#212529\",\"content\":\"KONTROLLID TOOTMISE AJAL\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":1,\"name\":\"field_2\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h5\",\"text_color\":\"#212529\",\"content\":\"FREESIMINE impost\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":2,\"name\":\"field_3\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h5\",\"text_color\":\"#212529\",\"content\":\"T\\u00f6\\u00f6tlemine\\/m\\u00f5\\u00f5detakse iga uue tellimuse alguses (min. 2x p\\u00e4evas)\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":4,\"name\":\"field_5\",\"extras\":{\"showConfigurator\":false},\"type\":\"calendar\",\"label\":\"Kuup\\u00e4ev\",\"help_text\":null,\"size\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"custom_class\":null,\"start_date\":\"none\",\"end_date\":\"none\",\"format\":\"DD.MM.YYYY\",\"disabled_days\":[],\"enable_time_picker\":true,\"time_format\":\"24\",\"time_picker_inline\":false,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":6,\"name\":\"field_7\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Tellimuse nr.\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":7,\"name\":\"field_8\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Profiili t\\u00e4his\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":8,\"name\":\"field_9\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Positsioon\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":9,\"name\":\"field_10\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"number\",\"label\":\"Tooriku m\\u00f5\\u00f5t, mm\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":14,\"name\":\"field_15\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"number\",\"label\":\"Tooriku m\\u00f5\\u00f5t tegelik, mm\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":15,\"name\":\"field_16\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"number\",\"label\":\"Seadistus mm tooril (-13mm)\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":10,\"name\":\"field_11\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"number\",\"label\":\"Toorik tegelik, mm (+\\/-1)\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":12,\"name\":\"field_13\",\"extras\":{\"showConfigurator\":false},\"type\":\"checkbox\",\"label\":\"M\\u00f5\\u00f5dud, OK m\\u00e4rkega\",\"help_text\":null,\"spread_to_col\":{\"enable\":false,\"column\":2},\"options\":\"OK\",\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":13,\"name\":\"field_14\",\"extras\":{\"showConfigurator\":false},\"type\":\"textarea\",\"label\":\"M\\u00e4rkused\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"rows\":3,\"columns\":null,\"placeholder\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[]}],\"emailConfig\":{\"email\":{\"enable\":null,\"from\":null,\"to\":null,\"reply_to_email\":null,\"cc\":null,\"bcc\":null,\"subject\":null,\"body\":null,\"attach_pdf\":false},\"auto_response\":{\"from\":null,\"to\":null,\"subject\":null,\"body\":null,\"is_enable\":false,\"attach_pdf\":false},\"smtp\":{\"host\":null,\"port\":null,\"from_address\":null,\"from_name\":null,\"encryption\":null,\"username\":null,\"password\":null,\"use_system_smtp\":1}},\"settings\":{\"recaptcha\":{\"is_enable\":0,\"site_key\":null,\"secret_key\":null},\"color\":{\"label\":\"#000000\",\"error_msg\":\"#a94442\",\"required_asterisk_color\":\"#a94442\",\"background\":\"#ffffff\",\"image_path\":null,\"page_color\":\"#f4f6f9\"},\"notification\":{\"post_submit_action\":\"same_page\",\"failed_msg\":\"Something went wrong, please try again.\",\"success_msg\":\"Your submission has been received.\",\"redirect_url\":null,\"position\":\"toast-top-right\"},\"submit\":{\"text\":\"Submit\",\"loading_text\":\"Submitting...\",\"btn_alignment\":\"float-right\",\"btn_size\":null,\"btn_color\":\"btn-primary\",\"btn_style\":\"default\",\"btn_icon\":\"none\",\"icon_position\":\"left\"},\"form_data\":{\"col_visible\":[\"field_5\",\"field_7\",\"field_8\",\"field_9\",\"field_10\",\"field_11\",\"field_13\",\"field_14\",\"field_15\",\"field_16\"],\"btn_enabled\":[]},\"background\":{\"bg_type\":\"bg_color\"},\"form_scheduling\":{\"closed_msg\":\"The form has been closed now!\",\"start_date_time\":null,\"end_date_time\":null,\"is_enabled\":false},\"form_submision_ref\":{\"is_enabled\":false,\"prefix\":null,\"suffix\":null,\"start_no\":\"1\",\"min_digit\":\"4\"},\"theme\":\"default\",\"is_enabled_draft_submit\":0,\"layout\":\"classic\",\"password_protection\":{\"is_enabled\":false,\"password\":null},\"pdf_design\":{\"header\":\"<h1 style=\\\"margin-top: 0px; margin-bottom: 0.5rem; font-family: &quot;Source Sans Pro&quot;, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; line-height: 1.2; color: rgb(0, 0, 0); font-size: 2.5rem; text-align: center;\\\"><span style=\\\"color: rgb(33, 37, 41); font-size: 12.8px; text-align: left; background-color: rgb(244, 246, 249);\\\"><span style=\\\"font-size: 24px;\\\"><span style=\\\"font-weight: bolder;\\\">{form_name}<\\/span><\\/span><\\/span><\\/h1>\"},\"is_qr_code_enabled\":false,\"qr_code_data_format\":\"string\",\"is_ref_num_bar_code_enabled\":false,\"is_ref_num_qr_code_enabled\":false},\"additional_js_css\":{\"js\":null,\"css\":null},\"conditional_fields\":[{\"action\":null,\"element\":null,\"conditions\":[{\"condition\":null,\"value\":null,\"element_type\":\"text\",\"element_index\":null,\"operator\":\"==\",\"logical_operator\":\"AND\"}]}],\"form_attributes\":[],\"contains_page_break\":false}', '{\"is_enable\":false,\"api_key\":null,\"list_id\":null,\"email_field\":null,\"name_field\":null}', '{\"is_enable\":false,\"api_token\":null,\"list_id\":null,\"campaign_fields\":[]}', '{\"is_enable\":false,\"url\":null,\"secret_key\":null}', 0, 0, 1, 0, '2023-08-23 21:33:56', '2023-09-15 07:34:38'),
('f43d1b8b-fad1-4890-b350-c7b308d52f8a', 'Keevitus : LENG', 'keevitus-leng-fed', 'Kontrollid tootmise ajal', '{\"form\":[{\"id\":0,\"name\":\"field_1\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h3\",\"text_color\":\"#212529\",\"content\":\"KONTROLLID TOOTMISE AJAL\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":1,\"name\":\"field_2\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h5\",\"text_color\":\"#212529\",\"content\":\"Keevitus : LENG\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":2,\"name\":\"field_3\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h5\",\"text_color\":\"#212529\",\"content\":\"T\\u00f6\\u00f6tlemine\\/m\\u00f5\\u00f5detakse iga uue tellimuse alguses (min. 2x p\\u00e4evas)\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":4,\"name\":\"field_5\",\"extras\":{\"showConfigurator\":false},\"type\":\"calendar\",\"label\":\"Kuup\\u00e4ev\",\"help_text\":null,\"size\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"custom_class\":null,\"start_date\":\"none\",\"end_date\":\"none\",\"format\":\"DD.MM.YYYY\",\"disabled_days\":[],\"enable_time_picker\":true,\"time_format\":\"24\",\"time_picker_inline\":false,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":6,\"name\":\"field_7\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Tellimuse nr.\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":7,\"name\":\"field_8\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Profiili t\\u00e4his\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":8,\"name\":\"field_9\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Positsioon\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":9,\"name\":\"field_10\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"number\",\"label\":\"Seadistus, mm\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":10,\"name\":\"field_11\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"number\",\"label\":\"Tegelik, mm (+0 -1)\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":12,\"name\":\"field_13\",\"extras\":{\"showConfigurator\":false},\"type\":\"checkbox\",\"label\":\"M\\u00f5\\u00f5dud, OK m\\u00e4rkega\",\"help_text\":null,\"spread_to_col\":{\"enable\":false,\"column\":2},\"options\":\"OK\",\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":13,\"name\":\"field_14\",\"extras\":{\"showConfigurator\":false},\"type\":\"textarea\",\"label\":\"M\\u00e4rkused\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"rows\":3,\"columns\":null,\"placeholder\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[]}],\"emailConfig\":{\"email\":{\"enable\":null,\"from\":null,\"to\":null,\"reply_to_email\":null,\"cc\":null,\"bcc\":null,\"subject\":null,\"body\":null,\"attach_pdf\":false},\"auto_response\":{\"from\":null,\"to\":null,\"subject\":null,\"body\":null,\"is_enable\":false,\"attach_pdf\":false},\"smtp\":{\"host\":null,\"port\":null,\"from_address\":null,\"from_name\":null,\"encryption\":null,\"username\":null,\"password\":null,\"use_system_smtp\":1}},\"settings\":{\"recaptcha\":{\"is_enable\":0,\"site_key\":null,\"secret_key\":null},\"color\":{\"label\":\"#000000\",\"error_msg\":\"#a94442\",\"required_asterisk_color\":\"#a94442\",\"background\":\"#ffffff\",\"image_path\":null,\"page_color\":\"#f4f6f9\"},\"notification\":{\"post_submit_action\":\"same_page\",\"failed_msg\":\"Something went wrong, please try again.\",\"success_msg\":\"Your submission has been received.\",\"redirect_url\":null,\"position\":\"toast-top-right\"},\"submit\":{\"text\":\"Submit\",\"loading_text\":\"Submitting...\",\"btn_alignment\":\"float-right\",\"btn_size\":null,\"btn_color\":\"btn-primary\",\"btn_style\":\"default\",\"btn_icon\":\"none\",\"icon_position\":\"left\"},\"form_data\":{\"col_visible\":[\"field_5\",\"field_7\",\"field_8\",\"field_9\",\"field_10\",\"field_11\",\"field_13\",\"field_14\"],\"btn_enabled\":[\"delete\"]},\"background\":{\"bg_type\":\"bg_color\"},\"form_scheduling\":{\"closed_msg\":\"The form has been closed now!\",\"start_date_time\":null,\"end_date_time\":null,\"is_enabled\":false},\"form_submision_ref\":{\"is_enabled\":false,\"prefix\":null,\"suffix\":null,\"start_no\":\"1\",\"min_digit\":\"4\"},\"theme\":\"default\",\"is_enabled_draft_submit\":0,\"layout\":\"classic\",\"password_protection\":{\"is_enabled\":false,\"password\":null},\"pdf_design\":{\"header\":\"<h1 style=\\\"margin-top: 0px; margin-bottom: 0.5rem; font-family: &quot;Source Sans Pro&quot;, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; line-height: 1.2; color: rgb(0, 0, 0); font-size: 2.5rem; text-align: center;\\\"><span style=\\\"color: rgb(33, 37, 41); font-size: 12.8px; text-align: left; background-color: rgb(244, 246, 249);\\\"><span style=\\\"font-size: 24px;\\\"><span style=\\\"font-weight: bolder;\\\">{form_name}<\\/span><\\/span><\\/span><\\/h1>\"},\"is_qr_code_enabled\":false,\"qr_code_data_format\":\"string\",\"is_ref_num_bar_code_enabled\":false,\"is_ref_num_qr_code_enabled\":false},\"additional_js_css\":{\"js\":null,\"css\":null},\"conditional_fields\":[{\"action\":null,\"element\":null,\"conditions\":[{\"condition\":null,\"value\":null,\"element_type\":\"text\",\"element_index\":null,\"operator\":\"==\",\"logical_operator\":\"AND\"}]}],\"form_attributes\":[],\"contains_page_break\":false}', '[]', '{\"is_enable\":false,\"api_token\":null,\"list_id\":null,\"campaign_fields\":[]}', '{\"is_enable\":false,\"url\":null,\"secret_key\":null}', 0, 0, 1, 0, '2023-08-06 13:20:07', '2023-09-15 21:57:48');
INSERT INTO `forms` (`id`, `name`, `slug`, `description`, `schema`, `mailchimp_details`, `acelle_mail_info`, `webhook_info`, `is_template`, `is_global_template`, `created_by`, `submission_count`, `created_at`, `updated_at`) VALUES
('fbcbd7bd-95d8-4801-8a3b-8efff2c1146e', 'PUURIMINE käepideme ja lukuvastuste ava', 'puurimine-qrm', 'Kontrollid tootmise ajal', '{\"form\":[{\"id\":0,\"name\":\"field_1\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h3\",\"text_color\":\"#212529\",\"content\":\"KONTROLLID TOOTMISE AJAL\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":1,\"name\":\"field_2\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h5\",\"text_color\":\"#212529\",\"content\":\"PUURIMINE k\\u00e4epideme ja lukuvastuste ava\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":2,\"name\":\"field_3\",\"extras\":{\"showConfigurator\":false},\"type\":\"heading\",\"label\":\"Heading\\/Paragraph\",\"tag\":\"h5\",\"text_color\":\"#212529\",\"content\":\"T\\u00f6\\u00f6tlemine\\/m\\u00f5\\u00f5detakse iga uue tellimuse alguses (min. 2x p\\u00e4evas)\",\"col\":\"col-md-12\",\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[],\"custom_attributes\":[],\"conditional_class\":null},{\"id\":4,\"name\":\"field_5\",\"extras\":{\"showConfigurator\":false},\"type\":\"calendar\",\"label\":\"Kuup\\u00e4ev\",\"help_text\":null,\"size\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"custom_class\":null,\"start_date\":\"none\",\"end_date\":\"none\",\"format\":\"DD.MM.YYYY\",\"disabled_days\":[],\"enable_time_picker\":true,\"time_format\":\"24\",\"time_picker_inline\":false,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":6,\"name\":\"field_7\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Tellimuse nr.\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":7,\"name\":\"field_8\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Profiili t\\u00e4his\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":8,\"name\":\"field_9\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"text\",\"label\":\"Positsioon\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":9,\"name\":\"field_10\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"number\",\"label\":\"Seadistus, mm\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":10,\"name\":\"field_11\",\"extras\":{\"showConfigurator\":false},\"type\":\"text\",\"subtype\":\"number\",\"label\":\"Tegelik, mm (+\\/-1)\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"placeholder\":null,\"size\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"allowed_input\":{\"values\":null,\"error_msg\":\"This value is not allowed.\"},\"required\":true,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":12,\"name\":\"field_13\",\"extras\":{\"showConfigurator\":false},\"type\":\"checkbox\",\"label\":\"M\\u00f5\\u00f5dud, OK m\\u00e4rkega\",\"help_text\":null,\"spread_to_col\":{\"enable\":false,\"column\":2},\"options\":\"OK\",\"conditional_class\":null,\"col\":\"col-md-6\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[]},{\"id\":13,\"name\":\"field_14\",\"extras\":{\"showConfigurator\":false},\"type\":\"textarea\",\"label\":\"M\\u00e4rkused\",\"help_text\":null,\"prefix_icon\":\"none\",\"suffix_icon\":\"none\",\"rows\":3,\"columns\":null,\"placeholder\":null,\"custom_class\":null,\"conditional_class\":null,\"col\":\"col-md-12\",\"custom_attributes\":[],\"popover_help_text\":{\"enable\":false,\"content\":null},\"required\":false,\"required_error_msg\":\"This field is required\",\"validations\":[]}],\"emailConfig\":{\"email\":{\"enable\":null,\"from\":null,\"to\":null,\"reply_to_email\":null,\"cc\":null,\"bcc\":null,\"subject\":null,\"body\":null,\"attach_pdf\":false},\"auto_response\":{\"from\":null,\"to\":null,\"subject\":null,\"body\":null,\"is_enable\":false,\"attach_pdf\":false},\"smtp\":{\"host\":null,\"port\":null,\"from_address\":null,\"from_name\":null,\"encryption\":null,\"username\":null,\"password\":null,\"use_system_smtp\":1}},\"settings\":{\"recaptcha\":{\"is_enable\":0,\"site_key\":null,\"secret_key\":null},\"color\":{\"label\":\"#000000\",\"error_msg\":\"#a94442\",\"required_asterisk_color\":\"#a94442\",\"background\":\"#ffffff\",\"image_path\":null,\"page_color\":\"#f4f6f9\"},\"notification\":{\"post_submit_action\":\"same_page\",\"failed_msg\":\"Something went wrong, please try again.\",\"success_msg\":\"Your submission has been received.\",\"redirect_url\":null,\"position\":\"toast-top-right\"},\"submit\":{\"text\":\"Submit\",\"loading_text\":\"Submitting...\",\"btn_alignment\":\"float-right\",\"btn_size\":null,\"btn_color\":\"btn-primary\",\"btn_style\":\"default\",\"btn_icon\":\"none\",\"icon_position\":\"left\"},\"form_data\":{\"col_visible\":[\"field_5\",\"field_7\",\"field_8\",\"field_9\",\"field_10\",\"field_11\",\"field_13\",\"field_14\"],\"btn_enabled\":[]},\"background\":{\"bg_type\":\"bg_color\"},\"form_scheduling\":{\"closed_msg\":\"The form has been closed now!\",\"start_date_time\":null,\"end_date_time\":null,\"is_enabled\":false},\"form_submision_ref\":{\"is_enabled\":false,\"prefix\":null,\"suffix\":null,\"start_no\":\"1\",\"min_digit\":\"4\"},\"theme\":\"default\",\"is_enabled_draft_submit\":0,\"layout\":\"classic\",\"password_protection\":{\"is_enabled\":false,\"password\":null},\"pdf_design\":{\"header\":\"<h1 style=\\\"margin-top: 0px; margin-bottom: 0.5rem; font-family: &quot;Source Sans Pro&quot;, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; line-height: 1.2; color: rgb(0, 0, 0); font-size: 2.5rem; text-align: center;\\\"><span style=\\\"color: rgb(33, 37, 41); font-size: 12.8px; text-align: left; background-color: rgb(244, 246, 249);\\\"><span style=\\\"font-size: 24px;\\\"><span style=\\\"font-weight: bolder;\\\">{form_name}<\\/span><\\/span><\\/span><\\/h1>\"},\"is_qr_code_enabled\":false,\"qr_code_data_format\":\"string\",\"is_ref_num_bar_code_enabled\":false,\"is_ref_num_qr_code_enabled\":false},\"additional_js_css\":{\"js\":null,\"css\":null},\"conditional_fields\":[{\"action\":null,\"element\":null,\"conditions\":[{\"condition\":null,\"value\":null,\"element_type\":\"text\",\"element_index\":null,\"operator\":\"==\",\"logical_operator\":\"AND\"}]}],\"form_attributes\":[],\"contains_page_break\":false}', '{\"is_enable\":false,\"api_key\":null,\"list_id\":null,\"email_field\":null,\"name_field\":null}', '{\"is_enable\":false,\"api_token\":null,\"list_id\":null,\"campaign_fields\":[]}', '{\"is_enable\":false,\"url\":null,\"secret_key\":null}', 0, 0, 1, 0, '2023-08-23 21:29:39', '2023-09-15 07:28:41');

-- --------------------------------------------------------

--
-- Структура таблицы `form_data`
--

CREATE TABLE `form_data` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `form_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `submission_ref` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `submitted_by` bigint(20) DEFAULT NULL,
  `data` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `source` char(191) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Source of form submittion',
  `status` enum('complete','incomplete') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'complete',
  `token` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Дамп данных таблицы `form_data`
--

INSERT INTO `form_data` (`id`, `form_id`, `submission_ref`, `submitted_by`, `data`, `source`, `status`, `token`, `created_at`, `updated_at`) VALUES
('00236758-7b5f-49e2-89bf-2658d5b44d96', 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', NULL, 9, '{\"field_5\":\"15.09.2023 09:02\",\"field_7\":\"KAS - 753951\",\"field_8\":\"GEALAN\",\"field_9\":\"T-457\",\"field_10\":\"586\",\"field_11\":\"586\",\"field_13\":[\"OK\"],\"field_14\":\"\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-09-15 08:03:30', '2023-09-15 08:03:30'),
('0f29ab63-7002-4aec-b04c-ad1e7253aade', 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', NULL, 4, '{\"field_5\":\"15.09.2023 14:49\",\"field_7\":\"test\",\"field_8\":\"test\",\"field_9\":\"test\",\"field_10\":\"1\",\"field_11\":\"1\",\"field_13\":[\"OK\"],\"field_14\":\"test\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-09-15 13:50:12', '2023-09-15 13:50:12'),
('1a0b0775-d837-4deb-beb4-21f6fe70c0b7', 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', NULL, 2, '{\"field_5\":\"08.06.2023 14:50\",\"field_7\":\"ED123-987\",\"field_8\":\"Rehau\",\"field_9\":\"1\",\"field_10\":\"2016\",\"field_11\":\"2016\",\"field_13\":[\"OK\"],\"field_14\":\"\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-08-06 13:50:45', '2023-09-15 21:44:35'),
('239f41a6-a36c-487c-941d-36d4699796ea', 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', NULL, 9, '{\"field_5\":\"15.09.2023 08:50\",\"field_7\":\"123\",\"field_8\":\"REHAU\",\"field_9\":\"456\",\"field_10\":\"2006\",\"field_11\":\"2006\",\"field_13\":[\"OK\"],\"field_14\":\"\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-09-14 21:04:19', '2023-09-15 07:50:57'),
('2f3de920-b2b4-4e68-90ee-1c7a4c6430c5', 'dfc0fbba-6d32-4eeb-95aa-c23c82c828ca', NULL, 6, '{\"field_5\":\"09-13-2023 21:31\",\"field_7\":\"ASD\",\"field_8\":\"asd\",\"field_15\":\"asd\",\"field_9\":\"asd\",\"field_10\":\"3\",\"field_11\":\"3\",\"field_14\":\"sdfafsdafsadf\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-09-14 15:54:34', '2023-09-14 22:31:24'),
('342afb79-d8bd-4e69-904c-51ff61d3c405', 'dfc0fbba-6d32-4eeb-95aa-c23c82c828ca', NULL, 1, '{\"field_5\":\"09-13-2023 22:32\",\"field_7\":\"test\",\"field_8\":\"test\",\"field_15\":\"test\",\"field_9\":\"test\",\"field_10\":\"test\",\"field_11\":\"1\",\"field_13\":[\"OK\"],\"field_14\":\"test\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-09-14 21:33:00', '2023-09-14 22:30:23'),
('374d89c5-f38f-4f14-90ec-b916ac4d6cea', '0c12caaf-f567-4f29-8711-906641247d9f', NULL, 1, '{\"field_5\":\"12.09.2023 14:54\",\"field_7\":\"test1\",\"field_8\":\"test\",\"field_9\":\"test\",\"field_10\":\"1\",\"field_11\":\"1\",\"field_13\":[\"OK\"],\"field_15\":\"1\",\"field_14\":\"test\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-09-15 13:54:19', '2023-09-18 19:03:42'),
('3a4097ab-06ab-4dcb-a70a-531d42dd2e5a', '0c12caaf-f567-4f29-8711-906641247d9f', NULL, 4, '{\"field_5\":\"08.09.2023 13:31\",\"field_7\":\"adfgkasdfkjgsadhjf1\",\"field_8\":\"jkdfhsglkjhfjhdfjklhjg\",\"field_9\":\"jkdfhghsdgjhdfsklghdfkhg\",\"field_10\":\"1\",\"field_11\":\"1\",\"field_13\":[\"OK\"],\"field_15\":\"1\",\"field_14\":\"lkfgjhkl;lsd\\/kfg\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-09-15 14:31:40', '2023-09-18 19:05:50'),
('3f26eb8d-63e1-4daf-a6a2-1460f78c1d9d', 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', NULL, 2, '{\"field_5\":\"08.07.2023 10:59\",\"field_7\":\"\\u0415\\u041a-1234556789\",\"field_8\":\"Aluplast\",\"field_9\":\"4\",\"field_10\":\"3216\",\"field_11\":\"3216\",\"field_13\":[\"OK\"],\"field_14\":\"\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-08-07 10:00:31', '2023-09-15 21:42:41'),
('401009ab-f72e-407b-8e28-cd955aa5c4ea', 'dfc0fbba-6d32-4eeb-95aa-c23c82c828ca', NULL, 9, '{\"field_5\":\"09-14-2023 21:31\",\"field_7\":\"TL-123456\",\"field_8\":\"REHAU\",\"field_15\":\"OK\",\"field_9\":\"OK\",\"field_10\":\"1506\",\"field_11\":\"1504\",\"field_13\":[\"OK\"],\"field_14\":\"\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-09-14 21:07:16', '2023-09-14 22:31:05'),
('41a98318-6b37-48ee-9940-a5d5fc346b15', 'f1379807-dba3-432e-bfc7-acb70b150508', NULL, 7, '{\"field_5\":\"09-14-2023 23:09\",\"field_7\":\"test\",\"field_8\":\"test\",\"field_9\":\"test\",\"field_10\":\"test\",\"field_11\":\"test\",\"field_13\":[\"OK\"],\"field_14\":\"test\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-09-14 22:09:55', '2023-09-14 22:09:55'),
('439cc017-4da2-4fc1-bdc7-141364a71d66', 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', NULL, 1, '{\"field_5\":\"08.06.2023 19:55\",\"field_7\":\"www\",\"field_8\":\"www\",\"field_9\":\"www\",\"field_10\":\"234\",\"field_11\":\"234\",\"field_14\":\"\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-08-06 18:55:53', '2023-09-15 21:43:44'),
('4f6ac640-987b-4f0d-a897-f739d3ba8dc6', 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', NULL, 2, '{\"field_5\":\"08.06.2023 16:50\",\"field_7\":\"TEST\",\"field_8\":\"ABB\",\"field_9\":\"12\",\"field_10\":\"3456\",\"field_11\":\"3456\",\"field_13\":[\"OK\"],\"field_14\":\"M\\u00e4rkused\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-08-06 15:51:27', '2023-09-15 21:44:25'),
('521691b2-ab9b-418b-9167-417c9bc55e9f', 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', NULL, NULL, '{\"field_5\":\"08.06.2023 21:33\",\"field_7\":\"asf\",\"field_8\":\"asgadfg\",\"field_9\":\"asdfas\",\"field_10\":\"1\",\"field_11\":\"1\",\"field_13\":[\"OK\"],\"field_14\":\"fgssdg\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-08-06 22:35:12', '2023-09-15 21:42:59'),
('55f11646-13d8-465b-ba43-681fe9218dd4', 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', NULL, 3, '{\"field_5\":\"08.08.2023 11:03\",\"field_7\":\"5555\",\"field_8\":\"8000\",\"field_9\":\"a1\",\"field_10\":\"1000\",\"field_11\":\"1001\",\"field_13\":[\"OK\"],\"field_14\":\"\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-08-08 10:04:24', '2023-09-15 21:42:29'),
('595cea2c-a751-46e6-ae6a-976661a19b4f', 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', NULL, NULL, '{\"field_5\":\"08.06.2023 21:25\",\"field_7\":\"jkahfgdlahj\",\"field_8\":\"jkahlfkasdh\",\"field_9\":\"kjdhglksfdn\",\"field_10\":\"123\",\"field_11\":\"1\",\"field_13\":[\"OK\"],\"field_14\":\"zdgfdgsfd\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-08-06 22:25:41', '2023-09-15 21:43:09'),
('5aaf2eaf-339b-4566-bcbd-08102fc8ce1e', 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', NULL, NULL, '{\"field_5\":\"08.06.2023 21:10\",\"field_7\":\"gsgfsdf\",\"field_8\":\"dsfgdfgsdfg\",\"field_9\":\"sdfgfdsg\",\"field_10\":\"123421\",\"field_11\":\"1\",\"field_13\":[\"OK\"],\"field_14\":\"asdfasdf\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-08-06 22:11:17', '2023-09-15 21:43:30'),
('648315e5-16e9-494d-9090-319b27a55a4f', 'f1379807-dba3-432e-bfc7-acb70b150508', NULL, 7, '{\"field_5\":\"09-14-2023 22:47\",\"field_7\":\"test\",\"field_8\":\"testt\",\"field_9\":\"est\",\"field_10\":\"test\",\"field_11\":\"1\",\"field_13\":[\"OK\"],\"field_14\":\"test\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-09-14 21:47:55', '2023-09-14 21:47:55'),
('879957f8-9014-4fab-99d1-fca6f4000f44', 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', NULL, 8, '{\"field_5\":\"15.09.2023 08:52\",\"field_7\":\"AP234-9058\",\"field_8\":\"Gealan\",\"field_9\":\"888\",\"field_10\":\"1056\",\"field_11\":\"1056\",\"field_13\":[\"OK\"],\"field_14\":\"\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-09-15 07:53:15', '2023-09-15 07:53:15'),
('a141d331-8a28-4275-b398-d44f64c8fde1', '0c12caaf-f567-4f29-8711-906641247d9f', NULL, 2, '{\"field_5\":\"01.08.2023 00:48\",\"field_7\":\"ED123-987\",\"field_8\":\"Gealan\",\"field_9\":\"9897\",\"field_10\":\"2006\",\"field_11\":\"2005\",\"field_13\":[\"OK\"],\"field_15\":\"1\",\"field_14\":\"\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-09-10 23:48:48', '2023-09-15 21:38:56'),
('a53a97cd-39f7-40ae-b1ba-e278a8eea3a7', 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', NULL, 2, '{\"field_5\":\"13.09.2023 08:50\",\"field_7\":\"90000\",\"field_8\":\"Gealan\",\"field_9\":\"888\",\"field_10\":\"2016\",\"field_11\":\"2016\",\"field_13\":[\"OK\"],\"field_14\":\"Tubli\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-09-14 07:55:07', '2023-09-15 07:50:26'),
('a8d89f7b-6847-40a1-8703-c359d3bbd19b', 'dfc0fbba-6d32-4eeb-95aa-c23c82c828ca', NULL, 6, '{\"field_5\":\"09-11-2023 21:31\",\"field_7\":\"gsgfsdf\",\"field_8\":\"sdfgsd\",\"field_15\":\"dfsgfsdgdsfg a\",\"field_9\":\"dfgsg\",\"field_10\":\"12\",\"field_11\":\"2\",\"field_13\":[\"OK\"],\"field_14\":\"ertwt\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-09-14 01:35:21', '2023-09-14 22:31:37'),
('b29d407e-d08a-4bc2-b4a4-8f0cbb1eaee1', 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', NULL, 3, '{\"field_5\":\"08.06.2023 19:42\",\"field_7\":\"AP234-9058\",\"field_8\":\"Gealan\",\"field_9\":\"3\",\"field_10\":\"2006\",\"field_11\":\"2005\",\"field_14\":\"\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-08-06 18:43:57', '2023-09-15 21:43:53'),
('b8317601-60ed-400d-913c-7901e6ae1bc5', 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', NULL, 1, '{\"field_5\":\"08.06.2023 14:30\",\"field_7\":\"AR427-789\",\"field_8\":\"Gealan\",\"field_9\":\"4\",\"field_10\":\"1056\",\"field_11\":\"1056\",\"field_13\":[\"OK\"],\"field_14\":\"\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-08-06 13:31:30', '2023-09-15 21:44:46'),
('d0cefee6-a1c1-499e-81db-e7dde83b053f', 'f1379807-dba3-432e-bfc7-acb70b150508', NULL, 7, '{\"field_7\":\"kljdgsdlhj\",\"field_8\":\"l\\u00f1fkgdlhk\",\"field_9\":\"mfgdhm\",\"field_10\":\"3\",\"field_11\":\"4\",\"field_13\":[\"OK\"],\"field_14\":\"\\u00f1fgldkh\\u00f1\\u00b4dfh\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-09-14 16:09:38', '2023-09-14 16:09:38'),
('d3acc9bc-7b1a-41d6-8951-1b273945c120', '0c12caaf-f567-4f29-8711-906641247d9f', NULL, 1, '{\"field_5\":\"15.09.2023 14:53\",\"field_7\":\"test1\",\"field_8\":\"test\",\"field_9\":\"test\",\"field_10\":\"1\",\"field_11\":\"1\",\"field_15\":\"1\",\"field_14\":\"test\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-09-15 13:53:48', '2023-09-18 18:47:06'),
('e1cdf655-320e-47fe-83bb-bb0bdb980d88', 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', NULL, 1, '{\"field_5\":\"08.06.2023 13:17\",\"field_7\":\"hrbdb\",\"field_8\":\"xbdbdb\",\"field_9\":\"xbdbdb\",\"field_10\":\"3838\",\"field_11\":\"848\",\"field_13\":[\"OK\"],\"field_14\":\"hdbdndn\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-08-06 14:17:39', '2023-09-15 21:44:04'),
('f337ba03-eef2-44cd-8d8f-c7f358c8c965', 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', NULL, 2, '{\"field_5\":\"08.06.2023 19:53\",\"field_7\":\"Proov\",\"field_8\":\"Rehau\",\"field_9\":\"1\",\"field_10\":\"876\",\"field_11\":\"876\",\"field_13\":[\"OK\"],\"field_14\":\"\",\"status\":\"complete\"}', 'app', 'complete', NULL, '2023-08-06 18:54:16', '2023-09-15 21:46:56');

-- --------------------------------------------------------

--
-- Структура таблицы `form_data_comments`
--

CREATE TABLE `form_data_comments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `form_data_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint(20) NOT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Структура таблицы `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) UNSIGNED NOT NULL,
  `migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Дамп данных таблицы `migrations`
--

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_resets_table', 1),
(3, '2019_05_22_110831_create_forms_table', 1),
(4, '2019_05_28_115307_create_form_data_table', 1),
(5, '2019_06_25_074951_create_systems_table', 1),
(6, '2019_06_27_074700_add_is_template_to_forms_table', 1),
(7, '2019_07_29_111057_add_mailchimp_field_forms_table', 1),
(8, '2019_09_13_082524_create_packages_table', 1),
(9, '2019_09_16_052622_add_is_active_to_users_table', 1),
(10, '2019_09_16_182039_create_user_settings_table', 1),
(11, '2019_09_18_182206_create_package_subscriptions_table', 1),
(12, '2019_12_20_110545_add_form_slug_to_forms_table', 1),
(13, '2019_12_20_172319_add_submission_ref_to_form_data_table', 1),
(14, '2020_07_20_095648_create_form_data_comments_table', 1),
(15, '2020_07_23_111735_add_new_column_to_users_table', 1),
(16, '2020_07_23_114633_create_user_forms_table', 1),
(17, '2020_07_25_094400_create_visitors_table', 1),
(18, '2021_12_09_155618_add_is_global_template_to_forms_table', 1),
(19, '2022_02_26_125413_add_acelle_mail_info_to_forms_table', 1),
(20, '2022_03_12_124356_modify_column_in_forms_table', 1),
(21, '2022_07_05_115833_add_webhook_info_column_to_forms_table', 1),
(22, '2023_09_03_165410_create_permission_tables', 1);

-- --------------------------------------------------------

--
-- Структура таблицы `model_has_permissions`
--

CREATE TABLE `model_has_permissions` (
  `permission_id` bigint(20) UNSIGNED NOT NULL,
  `model_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Структура таблицы `model_has_roles`
--

CREATE TABLE `model_has_roles` (
  `role_id` bigint(20) UNSIGNED NOT NULL,
  `model_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Дамп данных таблицы `model_has_roles`
--

INSERT INTO `model_has_roles` (`role_id`, `model_type`, `model_id`) VALUES
(1, 'App\\User', 1),
(2, 'App\\User', 4),
(2, 'App\\User', 8),
(3, 'App\\User', 2),
(3, 'App\\User', 6),
(3, 'App\\User', 7),
(3, 'App\\User', 9);

-- --------------------------------------------------------

--
-- Структура таблицы `packages`
--

CREATE TABLE `packages` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `no_of_active_forms` int(11) NOT NULL DEFAULT 0,
  `is_form_downloadable` tinyint(1) NOT NULL,
  `price_interval` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `interval` int(11) NOT NULL,
  `price` decimal(20,4) NOT NULL,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Структура таблицы `package_subscriptions`
--

CREATE TABLE `package_subscriptions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `package_id` bigint(20) UNSIGNED NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `package_details` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `package_price` decimal(20,4) NOT NULL,
  `paid_via` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment_transaction_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('approved','waiting','declined') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'waiting',
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Структура таблицы `password_resets`
--

CREATE TABLE `password_resets` (
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Структура таблицы `permissions`
--

CREATE TABLE `permissions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Дамп данных таблицы `permissions`
--

INSERT INTO `permissions` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(1, 'create form', 'web', '2023-09-13 18:28:35', '2023-09-13 18:28:35'),
(2, 'view form', 'web', '2023-09-13 18:28:35', '2023-09-13 18:28:35'),
(3, 'edit form', 'web', '2023-09-13 18:28:35', '2023-09-13 18:28:35');

-- --------------------------------------------------------

--
-- Структура таблицы `roles`
--

CREATE TABLE `roles` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Дамп данных таблицы `roles`
--

INSERT INTO `roles` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(1, 'supervisor', 'web', '2023-09-13 18:28:35', '2023-09-13 18:28:35'),
(2, 'admin', 'web', '2023-09-13 18:28:35', '2023-09-13 18:28:35'),
(3, 'user', 'web', '2023-09-13 18:28:35', '2023-09-13 18:28:35');

-- --------------------------------------------------------

--
-- Структура таблицы `role_has_permissions`
--

CREATE TABLE `role_has_permissions` (
  `permission_id` bigint(20) UNSIGNED NOT NULL,
  `role_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Структура таблицы `systems`
--

CREATE TABLE `systems` (
  `id` int(10) UNSIGNED NOT NULL,
  `key` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` text COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Дамп данных таблицы `systems`
--

INSERT INTO `systems` (`id`, `key`, `value`) VALUES
(1, 'version', '5.0'),
(2, 'additional_js', ''),
(3, 'additional_css', '');

-- --------------------------------------------------------

--
-- Структура таблицы `users`
--

CREATE TABLE `users` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `can_create_form` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Дамп данных таблицы `users`
--

INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `password`, `remember_token`, `is_active`, `can_create_form`, `created_at`, `updated_at`) VALUES
(1, 'admin', 'admin@admin.com', NULL, '$2y$10$5t2CXxsU5.xuHHpvIUP4XuceQLBnWy/SMF.2JFq6te/imhf9efyXO', NULL, 1, 1, '2023-09-13 18:28:36', '2023-09-13 18:28:36'),
(2, 'Eduard Kleschin', 'eduard.kleschin@gmail.com', NULL, '$2y$10$tKmpmQfRtEWEb7.dkSwQJOYk7egDIrB9b7nus5lT3epGDt9hZ3N06', 'oITBlGVmgtHNdjFlwCzf5vJQKqowmDUf2FsiES4jribT2l6Twi6BZNkdBcyZ', 1, 0, '2023-08-06 16:46:13', '2023-09-15 07:48:01'),
(4, 'test', 'test1@test.com', NULL, '$2y$10$wi9HjAmOFyMLO1eLdTBt/esSFWPWA4KprHHxYyO92R1AFseW2m7GK', NULL, 1, 0, '2023-09-13 22:50:54', '2023-09-15 13:15:29'),
(6, 'Test3', 'test3@test.com', NULL, '$2y$10$p08g8pFO1f511I.8WP.8vOT/yMUuc7kI41WIyYJaSFGF2aimmWk1W', NULL, 1, 0, '2023-09-14 01:25:20', '2023-09-14 15:53:38'),
(7, 'test2', 'test2@test.com', NULL, '$2y$10$TqUjfLShPkQU6bTO0CP58.pf1kl0.0muUKlUpDdTeVf7ppwondkMS', NULL, 1, 0, '2023-09-14 16:05:08', '2023-09-14 16:08:59'),
(8, 'Aknaproff Juhataja', 'aknaproff.juhataja@aknaproff.ee', NULL, '$2y$10$VQY7U/ze5yfdfO9Hp5TkOuko5XA5sSW/CC6LtyMZYSHoOOAOZkndm', NULL, 1, 0, '2023-09-14 20:56:35', '2023-09-15 16:18:33'),
(9, 'Aknaproff Kasutaja', 'aknaproff.kasutaja@aknaproff.ee', NULL, '$2y$10$4.emwGVLU8CAeoFlRpUW9ubsCZlLMalX98nwHUbb8WZrlUyJ.Syje', NULL, 1, 0, '2023-09-14 20:59:41', '2023-09-15 21:40:18');

-- --------------------------------------------------------

--
-- Структура таблицы `user_forms`
--

CREATE TABLE `user_forms` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `form_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `assigned_to` bigint(20) UNSIGNED NOT NULL,
  `assigned_by` bigint(20) UNSIGNED NOT NULL,
  `permissions` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Дамп данных таблицы `user_forms`
--

INSERT INTO `user_forms` (`id`, `form_id`, `assigned_to`, `assigned_by`, `permissions`, `created_at`, `updated_at`) VALUES
(16, '0c12caaf-f567-4f29-8711-906641247d9f', 2, 1, '[\"can_view_form\"]', '2023-09-10 23:12:09', '2023-09-15 07:48:01'),
(17, 'b31b0358-b771-416f-a38d-192efe2c36b3', 2, 1, '[\"can_view_form\"]', '2023-09-10 23:39:30', '2023-09-14 15:19:37'),
(18, 'dfc0fbba-6d32-4eeb-95aa-c23c82c828ca', 2, 1, '[\"can_view_form\"]', '2023-09-10 23:39:30', '2023-09-14 15:19:37'),
(19, 'f1379807-dba3-432e-bfc7-acb70b150508', 2, 1, '[\"can_view_data\",\"can_view_form\"]', '2023-09-10 23:39:30', '2023-09-10 23:39:30'),
(20, 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', 2, 1, '[\"can_view_data\",\"can_view_form\"]', '2023-09-10 23:39:30', '2023-09-10 23:39:30'),
(22, '0c12caaf-f567-4f29-8711-906641247d9f', 6, 4, '[\"can_view_data\",\"can_view_form\"]', '2023-09-14 15:15:33', '2023-09-14 15:15:33'),
(23, '0c12caaf-f567-4f29-8711-906641247d9f', 4, 4, '[\"can_view_data\",\"can_view_form\"]', '2023-09-14 15:25:28', '2023-09-14 15:25:28'),
(24, 'dfc0fbba-6d32-4eeb-95aa-c23c82c828ca', 4, 4, '[\"can_view_data\"]', '2023-09-14 15:29:44', '2023-09-15 13:15:29'),
(25, 'f1379807-dba3-432e-bfc7-acb70b150508', 4, 4, '[\"can_view_data\"]', '2023-09-14 15:39:06', '2023-09-15 13:15:29'),
(26, 'dfc0fbba-6d32-4eeb-95aa-c23c82c828ca', 6, 4, '[\"can_view_form\"]', '2023-09-14 15:53:38', '2023-09-14 15:53:38'),
(27, '0c12caaf-f567-4f29-8711-906641247d9f', 7, 4, '[\"can_view_data\",\"can_view_form\"]', '2023-09-14 16:05:08', '2023-09-14 16:06:01'),
(28, 'f1379807-dba3-432e-bfc7-acb70b150508', 7, 4, '[\"can_view_data\",\"can_view_form\"]', '2023-09-14 16:05:08', '2023-09-14 16:08:59'),
(29, 'b31b0358-b771-416f-a38d-192efe2c36b3', 9, 8, '[\"can_view_data\",\"can_view_form\"]', '2023-09-14 21:00:14', '2023-09-14 21:00:14'),
(30, 'dfc0fbba-6d32-4eeb-95aa-c23c82c828ca', 9, 8, '[\"can_view_data\",\"can_view_form\"]', '2023-09-14 21:00:14', '2023-09-14 21:00:14'),
(31, 'f1379807-dba3-432e-bfc7-acb70b150508', 9, 8, '[\"can_view_data\",\"can_view_form\"]', '2023-09-14 21:00:14', '2023-09-14 21:00:14'),
(32, 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', 9, 8, '[\"can_view_data\",\"can_view_form\"]', '2023-09-14 21:00:14', '2023-09-14 21:00:14'),
(33, 'fbcbd7bd-95d8-4801-8a3b-8efff2c1146e', 9, 8, '[\"can_view_form\"]', '2023-09-14 21:00:14', '2023-09-15 07:38:24'),
(35, 'dfc0fbba-6d32-4eeb-95aa-c23c82c828ca', 8, 8, '[\"can_view_data\",\"can_view_form\"]', '2023-09-14 21:09:39', '2023-09-14 21:09:39'),
(36, 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', 8, 8, '[\"can_view_data\",\"can_view_form\"]', '2023-09-15 07:35:53', '2023-09-15 07:35:53'),
(37, '0c12caaf-f567-4f29-8711-906641247d9f', 8, 8, '[\"can_view_data\",\"can_view_form\"]', '2023-09-15 07:44:03', '2023-09-15 07:44:03'),
(38, 'fbcbd7bd-95d8-4801-8a3b-8efff2c1146e', 2, 8, '[\"can_view_form\"]', '2023-09-15 07:45:36', '2023-09-15 07:45:36'),
(39, 'b31b0358-b771-416f-a38d-192efe2c36b3', 8, 8, '[\"can_view_form\"]', '2023-09-15 07:47:06', '2023-09-15 07:47:06'),
(40, 'f43d1b8b-fad1-4890-b350-c7b308d52f8a', 4, 4, '[\"can_view_data\",\"can_view_form\"]', '2023-09-15 13:06:09', '2023-09-15 13:06:09'),
(41, 'f1379807-dba3-432e-bfc7-acb70b150508', 8, 8, '[\"can_view_data\",\"can_view_form\"]', '2023-09-15 16:18:33', '2023-09-15 16:18:33'),
(42, '0c12caaf-f567-4f29-8711-906641247d9f', 9, 8, '[\"can_view_data\",\"can_view_form\"]', '2023-09-15 21:40:18', '2023-09-15 21:40:18');

-- --------------------------------------------------------

--
-- Структура таблицы `user_settings`
--

CREATE TABLE `user_settings` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `smtp` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `language` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `timezone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Дамп данных таблицы `user_settings`
--

INSERT INTO `user_settings` (`id`, `user_id`, `smtp`, `language`, `timezone`, `created_at`, `updated_at`) VALUES
(1, 8, '{\"MAIL_HOST\":\"1\",\"MAIL_PORT\":\"1\",\"MAIL_USERNAME\":\"1\",\"MAIL_PASSWORD\":\"1\",\"MAIL_ENCRYPTION\":\"TLS\\/SSL\",\"MAIL_FROM_ADDRESS\":\"1\",\"MAIL_FROM_NAME\":\"1\"}', 'est', 'Europe/Helsinki', '2023-09-14 20:58:22', '2023-09-14 20:58:22'),
(2, 9, '{\"MAIL_HOST\":\"1\",\"MAIL_PORT\":\"1\",\"MAIL_USERNAME\":\"1\",\"MAIL_PASSWORD\":\"1\",\"MAIL_ENCRYPTION\":\"1\",\"MAIL_FROM_ADDRESS\":\"1\",\"MAIL_FROM_NAME\":\"1\"}', 'est', 'Europe/Helsinki', '2023-09-14 21:01:39', '2023-09-14 21:01:39'),
(3, 1, '{\"MAIL_HOST\":\"1\",\"MAIL_PORT\":\"1\",\"MAIL_USERNAME\":\"1\",\"MAIL_PASSWORD\":\"1\",\"MAIL_ENCRYPTION\":\"TLS\\/SSL\",\"MAIL_FROM_ADDRESS\":\"1\",\"MAIL_FROM_NAME\":\"1\"}', 'ru', 'Europe/Helsinki', '2023-09-15 16:21:55', '2023-09-15 16:21:55');

-- --------------------------------------------------------

--
-- Структура таблицы `visitors`
--

CREATE TABLE `visitors` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `form_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_unique` tinyint(1) NOT NULL,
  `referrer` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Дамп данных таблицы `visitors`
--

INSERT INTO `visitors` (`id`, `form_id`, `is_unique`, `referrer`, `created_at`, `updated_at`) VALUES
(1, '0c12caaf-f567-4f29-8711-906641247d9f', 1, 'https://uniquesoft.es/home', '2023-09-13 23:51:07', '2023-09-13 23:51:07'),
(2, '0c12caaf-f567-4f29-8711-906641247d9f', 0, 'https://uniquesoft.es/home', '2023-09-13 23:51:14', '2023-09-13 23:51:14'),
(3, '0c12caaf-f567-4f29-8711-906641247d9f', 0, 'https://uniquesoft.es/home', '2023-09-13 23:51:21', '2023-09-13 23:51:21'),
(4, '0c12caaf-f567-4f29-8711-906641247d9f', 0, 'https://uniquesoft.es/home', '2023-09-13 23:51:27', '2023-09-13 23:51:27'),
(5, '0c12caaf-f567-4f29-8711-906641247d9f', 0, 'https://uniquesoft.es/home', '2023-09-13 23:51:36', '2023-09-13 23:51:36'),
(6, '0c12caaf-f567-4f29-8711-906641247d9f', 0, 'https://uniquesoft.es/home', '2023-09-13 23:51:49', '2023-09-13 23:51:49'),
(7, '0c12caaf-f567-4f29-8711-906641247d9f', 0, 'https://uniquesoft.es/home', '2023-09-13 23:51:57', '2023-09-13 23:51:57'),
(8, '0c12caaf-f567-4f29-8711-906641247d9f', 0, 'https://uniquesoft.es/home', '2023-09-13 23:53:48', '2023-09-13 23:53:48');

--
-- Индексы сохранённых таблиц
--

--
-- Индексы таблицы `forms`
--
ALTER TABLE `forms`
  ADD PRIMARY KEY (`id`),
  ADD KEY `forms_created_by_foreign` (`created_by`);

--
-- Индексы таблицы `form_data`
--
ALTER TABLE `form_data`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_data_form_id_index` (`form_id`),
  ADD KEY `form_data_submitted_by_index` (`submitted_by`);

--
-- Индексы таблицы `form_data_comments`
--
ALTER TABLE `form_data_comments`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `migrations`
--
ALTER TABLE `migrations`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
  ADD PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
  ADD KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`);

--
-- Индексы таблицы `model_has_roles`
--
ALTER TABLE `model_has_roles`
  ADD PRIMARY KEY (`role_id`,`model_id`,`model_type`),
  ADD KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`);

--
-- Индексы таблицы `packages`
--
ALTER TABLE `packages`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `package_subscriptions`
--
ALTER TABLE `package_subscriptions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `package_subscriptions_user_id_foreign` (`user_id`),
  ADD KEY `package_subscriptions_package_id_foreign` (`package_id`);

--
-- Индексы таблицы `password_resets`
--
ALTER TABLE `password_resets`
  ADD KEY `password_resets_email_index` (`email`);

--
-- Индексы таблицы `permissions`
--
ALTER TABLE `permissions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`);

--
-- Индексы таблицы `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `roles_name_guard_name_unique` (`name`,`guard_name`);

--
-- Индексы таблицы `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
  ADD PRIMARY KEY (`permission_id`,`role_id`),
  ADD KEY `role_has_permissions_role_id_foreign` (`role_id`);

--
-- Индексы таблицы `systems`
--
ALTER TABLE `systems`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `users_email_unique` (`email`);

--
-- Индексы таблицы `user_forms`
--
ALTER TABLE `user_forms`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `user_settings`
--
ALTER TABLE `user_settings`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_settings_user_id_foreign` (`user_id`);

--
-- Индексы таблицы `visitors`
--
ALTER TABLE `visitors`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT для сохранённых таблиц
--

--
-- AUTO_INCREMENT для таблицы `form_data_comments`
--
ALTER TABLE `form_data_comments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT для таблицы `packages`
--
ALTER TABLE `packages`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `package_subscriptions`
--
ALTER TABLE `package_subscriptions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `permissions`
--
ALTER TABLE `permissions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT для таблицы `roles`
--
ALTER TABLE `roles`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT для таблицы `systems`
--
ALTER TABLE `systems`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT для таблицы `users`
--
ALTER TABLE `users`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT для таблицы `user_forms`
--
ALTER TABLE `user_forms`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=43;

--
-- AUTO_INCREMENT для таблицы `user_settings`
--
ALTER TABLE `user_settings`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT для таблицы `visitors`
--
ALTER TABLE `visitors`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- Ограничения внешнего ключа сохраненных таблиц
--

--
-- Ограничения внешнего ключа таблицы `forms`
--
ALTER TABLE `forms`
  ADD CONSTRAINT `forms_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`);

--
-- Ограничения внешнего ключа таблицы `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
  ADD CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE;

--
-- Ограничения внешнего ключа таблицы `model_has_roles`
--
ALTER TABLE `model_has_roles`
  ADD CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- Ограничения внешнего ключа таблицы `package_subscriptions`
--
ALTER TABLE `package_subscriptions`
  ADD CONSTRAINT `package_subscriptions_package_id_foreign` FOREIGN KEY (`package_id`) REFERENCES `packages` (`id`),
  ADD CONSTRAINT `package_subscriptions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Ограничения внешнего ключа таблицы `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
  ADD CONSTRAINT `role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- Ограничения внешнего ключа таблицы `user_settings`
--
ALTER TABLE `user_settings`
  ADD CONSTRAINT `user_settings_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;
COMMIT;

/*!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 */;
