
<stat>CREATE TABLE `pTestQuest1_structure` (
  `id` int(7) NOT NULL AUTO_INCREMENT,
  `id_clien` int(5) DEFAULT NULL,
  `flag_cli` int(1) DEFAULT NULL,
  `user_id` int(5) DEFAULT NULL,
  `user_type` tinyint(4) DEFAULT NULL,
  `id_loginSID` int(11) DEFAULT NULL,
  `id_device` tinyint(4) DEFAULT NULL,
  `id_language` tinyint(3) unsigned DEFAULT NULL,
  `smpl_var` int(1) DEFAULT NULL,
  `sp_adult` int(1) DEFAULT NULL,
  `sp_man` int(1) DEFAULT NULL,
  `id_site` char(250) COLLATE utf8_unicode_ci DEFAULT NULL,
  `status` int(8) DEFAULT NULL,
  `status_rec` int(8) DEFAULT NULL,
  `flag_bad` int(3) NOT NULL DEFAULT '99',
  `t_status` int(11) unsigned DEFAULT NULL,
  `t_start` int(11) unsigned DEFAULT NULL,
  `t_stop` int(11) unsigned DEFAULT NULL,
  `d_status` datetime DEFAULT NULL,
  `d_start` datetime DEFAULT NULL,
  `d_stop` datetime DEFAULT NULL,
  `t_pause` int(11) NOT NULL DEFAULT '0',
  `t_diffs` int(10) NOT NULL DEFAULT '0',
  `CRCrec` varchar(35) COLLATE utf8_unicode_ci DEFAULT NULL,
  `id_capi_sample` int(10) DEFAULT NULL,
  `id_capi_table` int(10) DEFAULT NULL,
  `id_capi_address` int(10) DEFAULT NULL,
  `QT_user_id` int(5) DEFAULT NULL,
  `f1` int(10) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `user_id_type` (`user_id`,`user_type`),
  KEY `status` (`status`,`status_rec`),
  KEY `id_device` (`id_device`),
  KEY `id_language` (`id_language`),
  KEY `flag_bad` (`flag_bad`),
  KEY `id_site` (`id_site`(5)),
  KEY `id_loginSID` (`id_loginSID`),
  KEY `sp_man` (`sp_man`),
  KEY `id_capi_address` (`id_capi_address`),
  KEY `id_capi_table` (`id_capi_table`),
  KEY `id_capi_sample` (`id_capi_sample`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
<stat>CREATE TABLE `pTestQuest1___EngineLog` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `id_structure` int(11) NOT NULL,
  `id_question` smallint(6) NOT NULL,
  `id_user` int(11) NOT NULL,
  `user_type` tinyint(4) NOT NULL,
  `id_language` smallint(6) DEFAULT NULL,
  `q_name` varchar(25) COLLATE utf8_unicode_ci NOT NULL,
  `currentRotationString` text COLLATE utf8_unicode_ci NOT NULL,
  `questionnairePath` text COLLATE utf8_unicode_ci NOT NULL,
  `engineTime` int(11) NOT NULL,
  `questStart` int(11) DEFAULT NULL,
  `questEnd` int(11) DEFAULT NULL,
  `arriveStatus` tinyint(4) DEFAULT NULL,
  `eventLogger` text COLLATE utf8_unicode_ci,
  `activeRecord` tinyint(1) NOT NULL,
  `browser_type_id` smallint(6) NOT NULL,
  `device_name_id` smallint(6) NOT NULL,
  `device_property_id` smallint(6) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `id_structure` (`id_structure`),
  KEY `id_user_user_type_activeRecord` (`id_user`,`user_type`,`activeRecord`),
  KEY `browser_type_id` (`browser_type_id`),
  KEY `device_name_id` (`device_name_id`),
  KEY `device_property_id` (`device_property_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
<stat>INSERT IGNORE INTO `_www_ids` (`id`, `id_user`, `user_type`, `id_project`, `id_site`, `loginSID`, `idGenStruc`) VALUES (null, 0, 3, -30, 0, '6700226e4064443', 0);
<stat>INSERT IGNORE INTO `_www_ids` (`id`, `id_user`, `user_type`, `id_project`, `id_site`, `loginSID`, `idGenStruc`) VALUES (null, 6, 0, -30, 0, '878150db5ee35d9', 0);
<stat>DELETE FROM _www_ids WHERE id_user>0 AND user_type=0 AND id_project=30 AND id_site=0 AND id_user NOT IN (SELECT * FROM (SELECT id_user FROM `_www_ids` WHERE id_user>0 AND user_type=0 AND id_site=0 AND id_project=-30) AS p );
<stat>UPDATE IGNORE `_www_ids` SET `id_project`=ABS(`id_project`), `loginSID` = CONCAT(`loginSID`,'-',`id`) WHERE `id_project`<0;
<stat>DELETE FROM `_www_ids` WHERE `id_project`<0;
<stat>REPLACE INTO _Interviewer SET id = '6',username = 'test',password = 'test',Firstname = '',Surname = '',email = '',region = '',phone_number = '',language = '0',SIPPhoneID = '',SIPPass = '',id_default_tel_project = '0';
<stat>CREATE TABLE IF NOT EXISTS `pTestQuest1___sample` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `tdisable` tinyint(4) NOT NULL DEFAULT '0',
  `id_sample` int(11) NOT NULL,
  `id_sampleTable` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `user_type` tinyint(4) NOT NULL,
  `planned_visit_time` int(11) NOT NULL,
  `num_interviews` smallint(6) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `sampleUnique` (`id_sample`,`id_sampleTable`),
  KEY `id_sample` (`id_sample`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
<stat>DELETE FROM _CapiProperties WHERE id_project = 30
<stat>DELETE FROM `pTestQuest1___sample`
<stat>DELETE FROM _CapiTables WHERE id = 3
<stat>INSERT INTO _CapiTables SET id = '3',id_sup = '0',name = 'adrtest1',sts_reg = '0',sts_ac = '0',reserved_numbers = '',flag_sample = '0',orderBy = '2',is_leaf = '1'
<stat>DROP TABLE IF EXISTS capi___adrtest1
<stat>CREATE TABLE IF NOT EXISTS `capi___adrtest1` (
  `id` int(7) NOT NULL AUTO_INCREMENT,
  `id_municipality` int(3) NOT NULL DEFAULT '0',
  `municipality` varchar(120) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `id_settlement` int(4) NOT NULL DEFAULT '0',
  `settlement` varchar(120) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `id_street` int(4) NOT NULL DEFAULT '0',
  `street` varchar(150) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `address` int(4) NOT NULL DEFAULT '0',
  `addon_address` varchar(5) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `zip` int(4) NOT NULL DEFAULT '0',
  `town` varchar(120) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `x_coordinate` int(9) NOT NULL DEFAULT '0',
  `y_coordinate` int(9) NOT NULL DEFAULT '0',
  `id_region` int(3) NOT NULL DEFAULT '0',
  `population` int(11) NOT NULL DEFAULT '0',
  `type_settlement` int(1) NOT NULL DEFAULT '0',
  `id_import` int(11) DEFAULT '0',
  `time_import` int(11) NOT NULL DEFAULT '0',
  `proj_reserved` int(5) NOT NULL DEFAULT '0',
  `tdisable` tinyint(1) NOT NULL DEFAULT '0',
  `capi_BL` tinyint(3) NOT NULL,
  `capi_PB` tinyint(3) NOT NULL,
  `capi_OG` tinyint(3) NOT NULL,
  `capi_intein` varchar(10) COLLATE utf8_unicode_ci NOT NULL,
  `capi_vorwahl` text COLLATE utf8_unicode_ci NOT NULL,
  `capi_telnr` text COLLATE utf8_unicode_ci NOT NULL,
  `capi_ID_POST` int(10) NOT NULL,
  `capi_hnr` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `id_municipality` (`id_municipality`),
  KEY `id_settlement` (`id_settlement`),
  KEY `id_street` (`id_street`),
  KEY `address` (`address`),
  KEY `zip` (`zip`),
  KEY `x_coordinate` (`x_coordinate`),
  KEY `y_coordinate` (`y_coordinate`),
  KEY `id_region` (`id_region`),
  KEY `population` (`population`),
  KEY `type_settlement` (`type_settlement`),
  KEY `id_import` (`id_import`),
  KEY `proj_reserved` (`proj_reserved`),
  KEY `tdisable` (`tdisable`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
<stat>INSERT INTO capi___adrtest1 SET id = '1',id_municipality = '1',municipality = '990999',id_settlement = '1',settlement = 'Calisota',id_street = '0',street = 'Blumenweg',address = '0',addon_address = 'Nr. 1',zip = '1811',town = 'Entenhausen',name = 'Donald Duck',x_coordinate = '0',y_coordinate = '0',id_region = '0',population = '0',type_settlement = '0',id_import = '1',time_import = '1570698411',proj_reserved = '30',tdisable = '0',capi_BL = '9',capi_PB = '9',capi_OG = '9',capi_intein = 'test',capi_vorwahl = '',capi_telnr = '',capi_ID_POST = '0',capi_hnr = 'Nr. 13';
<stat>INSERT INTO capi___adrtest1 SET id = '2',id_municipality = '1',municipality = '990999',id_settlement = '2',settlement = 'Calisota',id_street = '0',street = 'Blumenweg',address = '0',addon_address = 'Nr. 1',zip = '1811',town = 'Entenhausen',name = 'Dagobert Duck',x_coordinate = '0',y_coordinate = '0',id_region = '0',population = '0',type_settlement = '0',id_import = '1',time_import = '1570698411',proj_reserved = '30',tdisable = '0',capi_BL = '9',capi_PB = '9',capi_OG = '9',capi_intein = 'test',capi_vorwahl = '',capi_telnr = '',capi_ID_POST = '0',capi_hnr = 'Nr. 14';
<stat>INSERT INTO capi___adrtest1 SET id = '3',id_municipality = '1',municipality = '990999',id_settlement = '3',settlement = 'Calisota',id_street = '0',street = 'Blumenweg',address = '0',addon_address = 'Nr. 1',zip = '1811',town = 'Entenhausen',name = 'Daisy Duck',x_coordinate = '0',y_coordinate = '0',id_region = '0',population = '0',type_settlement = '0',id_import = '1',time_import = '1570698411',proj_reserved = '30',tdisable = '0',capi_BL = '9',capi_PB = '9',capi_OG = '9',capi_intein = 'test',capi_vorwahl = '',capi_telnr = '',capi_ID_POST = '0',capi_hnr = 'Nr. 15';
<stat>INSERT INTO capi___adrtest1 SET id = '4',id_municipality = '1',municipality = '990999',id_settlement = '4',settlement = 'Calisota',id_street = '0',street = 'Blumenweg',address = '0',addon_address = 'Nr. 1',zip = '1811',town = 'Entenhausen',name = 'Gustav Gans',x_coordinate = '0',y_coordinate = '0',id_region = '0',population = '0',type_settlement = '0',id_import = '1',time_import = '1570698411',proj_reserved = '30',tdisable = '0',capi_BL = '9',capi_PB = '9',capi_OG = '9',capi_intein = 'test',capi_vorwahl = '',capi_telnr = '',capi_ID_POST = '0',capi_hnr = 'Nr. 16';
<stat>INSERT INTO capi___adrtest1 SET id = '5',id_municipality = '1',municipality = '990999',id_settlement = '5',settlement = 'Calisota',id_street = '0',street = 'Blumenweg',address = '0',addon_address = 'Nr. 1',zip = '1811',town = 'Entenhausen',name = 'Klaas Klever',x_coordinate = '0',y_coordinate = '0',id_region = '0',population = '0',type_settlement = '0',id_import = '1',time_import = '1570698411',proj_reserved = '30',tdisable = '0',capi_BL = '9',capi_PB = '9',capi_OG = '9',capi_intein = 'test',capi_vorwahl = '',capi_telnr = '',capi_ID_POST = '0',capi_hnr = 'Nr. 17';
<stat>INSERT INTO capi___adrtest1 SET id = '6',id_municipality = '1',municipality = '990999',id_settlement = '6',settlement = 'Calisota',id_street = '0',street = 'Blumenweg',address = '0',addon_address = 'Nr. 1',zip = '1811',town = 'Entenhausen',name = 'Gundel Gaukeley',x_coordinate = '0',y_coordinate = '0',id_region = '0',population = '0',type_settlement = '0',id_import = '1',time_import = '1570698411',proj_reserved = '30',tdisable = '0',capi_BL = '9',capi_PB = '9',capi_OG = '9',capi_intein = 'test',capi_vorwahl = '',capi_telnr = '',capi_ID_POST = '0',capi_hnr = 'Nr. 18';
<stat>INSERT INTO capi___adrtest1 SET id = '7',id_municipality = '1',municipality = '990999',id_settlement = '7',settlement = 'Calisota',id_street = '0',street = 'Blumenweg',address = '0',addon_address = 'Nr. 1',zip = '1811',town = 'Entenhausen',name = 'Micky Maus',x_coordinate = '0',y_coordinate = '0',id_region = '0',population = '0',type_settlement = '0',id_import = '1',time_import = '1570698411',proj_reserved = '30',tdisable = '0',capi_BL = '9',capi_PB = '9',capi_OG = '9',capi_intein = 'test',capi_vorwahl = '',capi_telnr = '',capi_ID_POST = '0',capi_hnr = 'Nr. 19';
<stat>INSERT INTO capi___adrtest1 SET id = '8',id_municipality = '1',municipality = '990999',id_settlement = '8',settlement = 'Calisota',id_street = '0',street = 'Blumenweg',address = '0',addon_address = 'Nr. 2',zip = '1811',town = 'Entenhausen',name = 'Goofy',x_coordinate = '0',y_coordinate = '0',id_region = '0',population = '0',type_settlement = '0',id_import = '1',time_import = '1570698411',proj_reserved = '30',tdisable = '0',capi_BL = '9',capi_PB = '9',capi_OG = '9',capi_intein = 'test',capi_vorwahl = '',capi_telnr = '',capi_ID_POST = '0',capi_hnr = 'Nr. 20';
<stat>INSERT INTO capi___adrtest1 SET id = '9',id_municipality = '1',municipality = '990999',id_settlement = '9',settlement = 'Calisota',id_street = '0',street = 'Blumenweg',address = '0',addon_address = 'Nr. 2',zip = '1811',town = 'Entenhausen',name = 'Minni Maus',x_coordinate = '0',y_coordinate = '0',id_region = '0',population = '0',type_settlement = '0',id_import = '1',time_import = '1570698411',proj_reserved = '30',tdisable = '0',capi_BL = '9',capi_PB = '9',capi_OG = '9',capi_intein = 'test',capi_vorwahl = '',capi_telnr = '',capi_ID_POST = '0',capi_hnr = 'Nr. 21';
<stat>INSERT INTO capi___adrtest1 SET id = '10',id_municipality = '1',municipality = '990999',id_settlement = '10',settlement = 'Calisota',id_street = '0',street = 'Blumenweg',address = '0',addon_address = 'Nr. 2',zip = '1811',town = 'Entenhausen',name = 'Pluto',x_coordinate = '0',y_coordinate = '0',id_region = '0',population = '0',type_settlement = '0',id_import = '1',time_import = '1570698411',proj_reserved = '30',tdisable = '0',capi_BL = '9',capi_PB = '9',capi_OG = '9',capi_intein = 'test',capi_vorwahl = '',capi_telnr = '',capi_ID_POST = '0',capi_hnr = 'Nr. 22';
<stat>INSERT INTO capi___adrtest1 SET id = '11',id_municipality = '1',municipality = '990999',id_settlement = '11',settlement = 'Calisota',id_street = '0',street = 'Blumenweg',address = '0',addon_address = 'Nr. 2',zip = '1811',town = 'Entenhausen',name = 'Klarabella Kuh',x_coordinate = '0',y_coordinate = '0',id_region = '0',population = '0',type_settlement = '0',id_import = '1',time_import = '1570698411',proj_reserved = '30',tdisable = '0',capi_BL = '9',capi_PB = '9',capi_OG = '9',capi_intein = 'test',capi_vorwahl = '',capi_telnr = '',capi_ID_POST = '0',capi_hnr = 'Nr. 23';
<stat>INSERT INTO capi___adrtest1 SET id = '12',id_municipality = '1',municipality = '990999',id_settlement = '12',settlement = 'Calisota',id_street = '0',street = 'Blumenweg',address = '0',addon_address = 'Nr. 2',zip = '1811',town = 'Entenhausen',name = 'Kater Karlo',x_coordinate = '0',y_coordinate = '0',id_region = '0',population = '0',type_settlement = '0',id_import = '1',time_import = '1570698411',proj_reserved = '30',tdisable = '0',capi_BL = '9',capi_PB = '9',capi_OG = '9',capi_intein = 'test',capi_vorwahl = '',capi_telnr = '',capi_ID_POST = '0',capi_hnr = 'Nr. 24';
<stat>INSERT INTO pTestQuest1___sample SET id = '1',tdisable = '0',id_sample = '1',id_sampleTable = '3',user_id = '6',user_type = '0',planned_visit_time = '0',num_interviews = '1';
<stat>INSERT INTO pTestQuest1___sample SET id = '2',tdisable = '0',id_sample = '2',id_sampleTable = '3',user_id = '6',user_type = '0',planned_visit_time = '0',num_interviews = '1';
<stat>INSERT INTO pTestQuest1___sample SET id = '3',tdisable = '0',id_sample = '3',id_sampleTable = '3',user_id = '6',user_type = '0',planned_visit_time = '0',num_interviews = '1';
<stat>INSERT INTO pTestQuest1___sample SET id = '4',tdisable = '0',id_sample = '4',id_sampleTable = '3',user_id = '6',user_type = '0',planned_visit_time = '0',num_interviews = '1';
<stat>INSERT INTO pTestQuest1___sample SET id = '5',tdisable = '0',id_sample = '5',id_sampleTable = '3',user_id = '6',user_type = '0',planned_visit_time = '0',num_interviews = '1';
<stat>INSERT INTO pTestQuest1___sample SET id = '6',tdisable = '0',id_sample = '6',id_sampleTable = '3',user_id = '6',user_type = '0',planned_visit_time = '0',num_interviews = '1';
<stat>INSERT INTO pTestQuest1___sample SET id = '7',tdisable = '0',id_sample = '7',id_sampleTable = '3',user_id = '6',user_type = '0',planned_visit_time = '0',num_interviews = '1';
<stat>INSERT INTO pTestQuest1___sample SET id = '8',tdisable = '0',id_sample = '8',id_sampleTable = '3',user_id = '6',user_type = '0',planned_visit_time = '0',num_interviews = '1';
<stat>INSERT INTO pTestQuest1___sample SET id = '9',tdisable = '0',id_sample = '9',id_sampleTable = '3',user_id = '6',user_type = '0',planned_visit_time = '0',num_interviews = '1';
<stat>INSERT INTO pTestQuest1___sample SET id = '10',tdisable = '0',id_sample = '10',id_sampleTable = '3',user_id = '6',user_type = '0',planned_visit_time = '0',num_interviews = '1';
<stat>INSERT INTO pTestQuest1___sample SET id = '11',tdisable = '0',id_sample = '11',id_sampleTable = '3',user_id = '6',user_type = '0',planned_visit_time = '0',num_interviews = '1';
<stat>INSERT INTO pTestQuest1___sample SET id = '12',tdisable = '0',id_sample = '12',id_sampleTable = '3',user_id = '6',user_type = '0',planned_visit_time = '0',num_interviews = '1';
<stat>REPLACE INTO _Projects SET id = '30',key_proj = '30-4n838mhufo',proj_name = 'pTestQuest1',language = '60',naziv_proj = 'Test Questionaire 1',old = 'N',created = '01.07.2021 - 15:01',creat_name = 'Alexander Hitzinger',modify = '01.07.2021 - 15:01',modi_name = 'Alexander Hitzinger',active = '1',start_date = '2021-07-01 00:00:00',end_date = '2022-07-01 00:00:00',print_filter = '1',print_jump = '1',print_condition = '1',print_answfilter = '1',print_hidden_question = '1',stat_show_var = '0',stat_show_val = '0',lock_app_to_user = '1',rotation = 'N',regionopt = '',hide_back_button = '0',id_telname = '',tel_reserve = '0',id_capiTable = '3',capi_reserve = '12',qt_useregtel = '0',qt_useactel = '0',reg_strictlock = '0',stat_show_scaleborder = '0',busy_call_delay = '20',noanswer_call_delay = '120',callback_call_delay = '5',num_max_call = '3',num_max_call_app = '99',back_delete = '1',set_use_autodial = '0',quota_vars = '',telselect = '0',proj_backup = '',strictlock_manual = '0',ml_showopt_www = '1',ml_position_www = '2',ml_html_www = '',forward_button_link = '',back_button_link = '',exit_button_link = '',help_button_link = '',quest_distance_buttons = '',submit_where = '0',submit_auto = '0',question_over = '0',user_status_bar = '',radio_button_enable = '',radio_button_disable = '',chk_button_enable = '',chk_button_disable = '',use_img_radio = '0',submit_delay_press = '1',exit_alert_msg = 'Are you sure?',forward_button_disable_link = '',back_button_disable_link = '',error_img_scale = '',start_quest_button_link = '',quest_start_alert_msg = 'Are you sure?',intstat_opt = '',webcapi_clear_all = '0',webcapi_clear_finished = '0',webcapi_finished = '0',use_special_sampling = '0',wh_special_sampling = '',disablebasic = '0',call_time_length = '25',use_predictive = '0',predictive_work = '0',ma_remove_arrows = '0',ma_row_color = '',predictive_numbers_tofind = '0',predictive_overcall = '0',isTemplate = '0',id_select_layer = '0',redirectActive = '0',redirectConditions = '',interview_show_variable = '1',interview_show_ans_value = '1',has_user_quotas = '0',respondent_searched_fields = '',telnum_select_type = '1',use_lowest = '0',use_lowest_layer = '',is_nfield = '0',id_nfield_project = '',name_nfield_project = '',stat_show_filter_in = '0',stat_show_filter_out = '0',stat_show_goto = '0',stat_show_answer_filter = '0',stat_show_question_type = '0',stat_show_open_end_type = '0',limit_interviews = '0',number_of_interviews = '0',check_for_quota = '1',submit_on_enter = '1',survey_image = '',onboarding = '',browser_title = '',custom_fields = '',show_app_button = '1',show_src_tel_number = '1',display_tel_char_limit = '',structure_tel_char_limit = '',manual_dial_layers = '',anonymization_datetime = '',anonymization_user = '',anonymization_fields = '',report_file = '',show_apart_on_mobile = '0';
<stat>REPLACE INTO _ProjectsTree SET id = '30',id_sup = '0',id_project = '30',orderBy = '2',idLab = 'pTestQuest1',node_img = '',is_leaf = '1',merged = '0';
<stat>DELETE FROM  _LanguageProjects WHERE id_project = 30;
<stat>DELETE FROM  _LanguageUserInterface WHERE id_project IN (0, 30);
<stat>DELETE FROM  _QuestionRotation WHERE id_project = 30;
<stat>DELETE FROM  _ProjectExtraVariables  WHERE id_project = 30;
<stat>INSERT INTO _LanguageProjects  SET id_language = '60',id_project = '30';