webmaster@1: 'Contact form category settings.', webmaster@1: 'fields' => array( webmaster@1: 'cid' => array( webmaster@1: 'type' => 'serial', webmaster@1: 'unsigned' => TRUE, webmaster@1: 'not null' => TRUE, franck@19: 'description' => 'Primary Key: Unique category ID.', webmaster@1: ), webmaster@1: 'category' => array( webmaster@1: 'type' => 'varchar', webmaster@1: 'length' => 255, webmaster@1: 'not null' => TRUE, webmaster@1: 'default' => '', franck@19: 'description' => 'Category name.', webmaster@1: ), webmaster@1: 'recipients' => array( webmaster@1: 'type' => 'text', webmaster@1: 'not null' => TRUE, webmaster@1: 'size' => 'big', franck@19: 'description' => 'Comma-separated list of recipient e-mail addresses.', webmaster@1: ), webmaster@1: 'reply' => array( webmaster@1: 'type' => 'text', webmaster@1: 'not null' => TRUE, webmaster@1: 'size' => 'big', franck@19: 'description' => 'Text of the auto-reply message.', webmaster@1: ), webmaster@1: 'weight' => array( webmaster@1: 'type' => 'int', webmaster@1: 'not null' => TRUE, webmaster@1: 'default' => 0, webmaster@1: 'size' => 'tiny', franck@19: 'description' => "The category's weight.", webmaster@1: ), webmaster@1: 'selected' => array( webmaster@1: 'type' => 'int', webmaster@1: 'not null' => TRUE, webmaster@1: 'default' => 0, webmaster@1: 'size' => 'tiny', franck@19: 'description' => 'Flag to indicate whether or not category is selected by default. (1 = Yes, 0 = No)', webmaster@1: ), webmaster@1: ), webmaster@1: 'primary key' => array('cid'), webmaster@1: 'unique keys' => array( webmaster@1: 'category' => array('category'), webmaster@1: ), webmaster@1: 'indexes' => array( webmaster@1: 'list' => array('weight', 'category'), webmaster@1: ), webmaster@1: ); webmaster@1: webmaster@1: return $schema; webmaster@1: }