-- -- Table structure for table build 140703 questions -- This table will not have a duplicated record. -- CREATE TABLE `build_140703_questions` ( `qid` INT (11) NOT NULL auto_increment ,`parent_qid` INT (11) NOT NULL DEFAULT '0' ,`sid` INT (11) NOT NULL DEFAULT '0' ,`gid` INT (11) NOT NULL DEFAULT '0' ,`type` VARCHAR(1) NOT NULL DEFAULT 'T' ,`title` VARCHAR(20) NOT NULL DEFAULT '' ,`question` TEXT NOT NULL ,`preg` TEXT ,`help` TEXT ,`other` VARCHAR(1) NOT NULL DEFAULT 'N' ,`mandatory` VARCHAR(1) DEFAULT NULL ,`question_order` INT (11) NOT NULL ,`language` VARCHAR(20) DEFAULT 'en' ,`scale_id` INT (11) NOT NULL DEFAULT '0' ,`same_default` INT (11) NOT NULL DEFAULT '0' COMMENT 'Saves if user set to use the same default value across languages in default options dialog' ,`relevance` TEXT ,PRIMARY KEY ( `qid` ,`language` ) ) ENGINE = MYISAM AUTO_INCREMENT = 1 CHAR SET utf8 COLLATE utf8_unicode_ci; INSERT INTO `build_140703_questions` ( `qid` ,`parent_qid` ,`sid` ,`gid` ,`type` ,`title` ,`question` ,`preg` ,`help` ,`other` ,`mandatory` ,`question_order` ,`language` ,`scale_id` ,`same_default` ,`relevance` ) VALUES ( NULL ,'0' ,'0' ,'0' ,'T' ,'' ,'' ,NULL ,NULL ,'N' ,NULL ,'1' ,'en' ,'0' ,'0' ,NULL ); INSERT INTO `build_140703_questions` ( `qid` ,`parent_qid` ,`sid` ,`gid` ,`type` ,`title` ,`question` ,`preg` ,`help` ,`other` ,`mandatory` ,`question_order` ,`language` ,`scale_id` ,`same_default` ,`relevance` ) VALUES ( NULL ,'0' ,'0' ,'0' ,'T' ,'' ,'' ,NULL ,NULL ,'N' ,NULL ,'1' ,'en' ,'0' ,'0' ,NULL ); INSERT INTO `build_140703_questions` ( `qid` ,`parent_qid` ,`sid` ,`gid` ,`type` ,`title` ,`question` ,`preg` ,`help` ,`other` ,`mandatory` ,`question_order` ,`language` ,`scale_id` ,`same_default` ,`relevance` ) VALUES ( NULL ,'0' ,'0' ,'0' ,'T' ,'' ,'' ,NULL ,NULL ,'N' ,NULL ,'1' ,'fr' ,'0' ,'0' ,NULL ); INSERT INTO `build_140703_questions` ( `qid` ,`parent_qid` ,`sid` ,`gid` ,`type` ,`title` ,`question` ,`preg` ,`help` ,`other` ,`mandatory` ,`question_order` ,`language` ,`scale_id` ,`same_default` ,`relevance` ) VALUES ( NULL ,'0' ,'0' ,'0' ,'T' ,'' ,'' ,NULL ,NULL ,'N' ,NULL ,'1' ,'fr' ,'0' ,'0' ,NULL ); INSERT INTO `build_140703_questions` ( `qid` ,`parent_qid` ,`sid` ,`gid` ,`type` ,`title` ,`question` ,`preg` ,`help` ,`other` ,`mandatory` ,`question_order` ,`language` ,`scale_id` ,`same_default` ,`relevance` ) VALUES ( NULL ,'0' ,'0' ,'0' ,'T' ,'' ,'' ,NULL ,NULL ,'N' ,NULL ,'1' ,'de' ,'0' ,'0' ,NULL ); -- -- Table structure for table build 141020 questions -- This table will have a duplicated record. -- CREATE TABLE `build_141020_questions` ( `qid` INT (11) NOT NULL auto_increment ,`parent_qid` INT (11) NOT NULL DEFAULT '0' ,`sid` INT (11) NOT NULL DEFAULT '0' ,`gid` INT (11) NOT NULL DEFAULT '0' ,`type` VARCHAR(1) NOT NULL DEFAULT 'T' ,`title` VARCHAR(20) NOT NULL DEFAULT '' ,`question` TEXT NOT NULL ,`preg` TEXT ,`help` TEXT ,`other` VARCHAR(1) NOT NULL DEFAULT 'N' ,`mandatory` VARCHAR(1) DEFAULT NULL ,`question_order` INT (11) NOT NULL ,`language` VARCHAR(20) DEFAULT 'en' ,`scale_id` INT (11) NOT NULL DEFAULT '0' ,`same_default` INT (11) NOT NULL DEFAULT '0' comment 'Saves if user set to use the same default value across languages in default options dialog' ,`relevance` TEXT ,PRIMARY KEY ( `language` ,`qid` ) ) engine = myisam CHAR SET utf8 COLLATE utf8_unicode_ci; INSERT INTO `build_141020_questions` ( `qid` ,`parent_qid` ,`sid` ,`gid` ,`type` ,`title` ,`question` ,`preg` ,`help` ,`other` ,`mandatory` ,`question_order` ,`language` ,`scale_id` ,`same_default` ,`relevance` ) VALUES ( NULL ,'0' ,'0' ,'0' ,'T' ,'' ,'' ,NULL ,NULL ,'N' ,NULL ,'1' ,'en' ,'0' ,'0' ,NULL ); INSERT INTO `build_141020_questions` ( `qid` ,`parent_qid` ,`sid` ,`gid` ,`type` ,`title` ,`question` ,`preg` ,`help` ,`other` ,`mandatory` ,`question_order` ,`language` ,`scale_id` ,`same_default` ,`relevance` ) VALUES ( NULL ,'0' ,'0' ,'0' ,'T' ,'' ,'' ,NULL ,NULL ,'N' ,NULL ,'1' ,'en' ,'0' ,'0' ,NULL ); INSERT INTO `build_141020_questions` ( `qid` ,`parent_qid` ,`sid` ,`gid` ,`type` ,`title` ,`question` ,`preg` ,`help` ,`other` ,`mandatory` ,`question_order` ,`language` ,`scale_id` ,`same_default` ,`relevance` ) VALUES ( NULL ,'0' ,'0' ,'0' ,'T' ,'' ,'' ,NULL ,NULL ,'N' ,NULL ,'1' ,'fr' ,'0' ,'0' ,NULL ); INSERT INTO `build_141020_questions` ( `qid` ,`parent_qid` ,`sid` ,`gid` ,`type` ,`title` ,`question` ,`preg` ,`help` ,`other` ,`mandatory` ,`question_order` ,`language` ,`scale_id` ,`same_default` ,`relevance` ) VALUES ( NULL ,'0' ,'0' ,'0' ,'T' ,'' ,'' ,NULL ,NULL ,'N' ,NULL ,'1' ,'fr' ,'0' ,'0' ,NULL ); INSERT INTO `build_141020_questions` ( `qid` ,`parent_qid` ,`sid` ,`gid` ,`type` ,`title` ,`question` ,`preg` ,`help` ,`other` ,`mandatory` ,`question_order` ,`language` ,`scale_id` ,`same_default` ,`relevance` ) VALUES ( NULL ,'0' ,'0' ,'0' ,'T' ,'' ,'' ,NULL ,NULL ,'N' ,NULL ,'1' ,'de' ,'0' ,'0' ,NULL );