--
-- Table structure for table `appl_extraanswers`
--

CREATE TABLE IF NOT EXISTS `appl_extraanswers` (
  `appl_id` int(11) NOT NULL,
  `question_id` int(11) NOT NULL,
  `answer` text NOT NULL,
  UNIQUE KEY `index` (`appl_id`,`question_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `appl_extraquestions`
--

CREATE TABLE IF NOT EXISTS `appl_extraquestions` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `question` varchar(255) NOT NULL,
  `maxlength` int(11) NOT NULL,
  `order` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

INSERT INTO `functions` (`id`, `name`)
VALUES (83, 'application_setup_extra_q_view'),
(84, 'application_setup_extra_q_edit');

INSERT INTO `function_roles` (`role_id`, `function_id`) VALUES
(1, 83),
(1, 84),
(2, 83),
(2, 84),
(7, 83),
(8, 83);
