<?php

$this->arrMeta = array
(
	'engine' => 'MyISAM',
	'charset' => 'UTF8',
);

$this->arrFields = array
(
	'id' => "int(10) unsigned NOT NULL auto_increment",
	'tstamp' => "int(10) unsigned NOT NULL default '0'",
	'pid' => "int(10) unsigned NOT NULL default '0'",
	'sorting' => "int(10) unsigned NOT NULL default '0'",
	'questiontype' => "varchar(20) NOT NULL default ''",
	'title' => "varchar(255) NOT NULL default ''",
	'description' => "text NULL",
	'author' => "smallint(5) unsigned NOT NULL default '0'",
	'language' => "varchar(32) NOT NULL default ''",
	'question' => "text NOT NULL",
	'introduction' => "text NOT NULL",
	'obligatory' => "char(1) NOT NULL default ''",
	'complete' => "char(1) NOT NULL default ''",
	'original' => "char(1) NOT NULL default ''",
	'help' => "varchar(255) NOT NULL default ''",
	'hidetitle' => "char(1) NOT NULL default ''",
	'lower_bound' => "varchar(32) NOT NULL default ''",
	'upper_bound' => "varchar(32) NOT NULL default ''",
	'lower_bound_date' => "varchar(32) NOT NULL default ''",
	'upper_bound_date' => "varchar(32) NOT NULL default ''",
	'lower_bound_time' => "varchar(32) NOT NULL default ''",
	'upper_bound_time' => "varchar(32) NOT NULL default ''",
	'openended_subtype' => "varchar(32) NOT NULL default ''",
	'openended_textbefore' => "varchar(150) NOT NULL default ''",
	'openended_textafter' => "varchar(150) NOT NULL default ''",
	'openended_rows' => "smallint(5) unsigned NOT NULL default '5'",
	'openended_cols' => "smallint(5) unsigned NOT NULL default '40'",
	'openended_width' => "varchar(4) NOT NULL default ''",
	'openended_maxlen' => "varchar(5) NOT NULL default ''",
	'openended_textinside' => "varchar(150) NOT NULL default ''",
	'multiplechoice_subtype' => "varchar(32) NOT NULL default ''",
	'matrix_subtype' => "varchar(32) NOT NULL default ''",
	'mc_style' => "varchar(32) NOT NULL default ''",
	'choices' => "blob NULL",
	'matrixrows' => "blob NULL",
	'matrixcolumns' => "blob NULL",
	'addneutralcolumn' => "char(1) NOT NULL default ''",
	'neutralcolumn' => "varchar(255) NOT NULL default ''",
	'addother' => "char(1) NOT NULL default ''",
	'addbipolar' => "char(1) NOT NULL default ''",
	'adjective1' => "varchar(255) NOT NULL default ''",
	'adjective2' => "varchar(255) NOT NULL default ''",
	'bipolarposition' => "varchar(32) NOT NULL default ''",
	'othertitle' => "varchar(150) NOT NULL default ''",
	'inputfirst' => "char(1) NOT NULL default ''",
	'sumoption' => "varchar(32) NOT NULL default ''",
	'sumchoices' => "blob NULL",
	'sum' => "double NOT NULL default '0'",
	'cssClass' => "varchar(255) NOT NULL default ''",
);

$this->arrOrderFields = array
(
);

$this->arrKeys = array
(
	'id' => 'primary',
	'pid' => 'index',
);

$this->arrRelations = array
(
);

$this->blnIsDbTable = true;
