function opigno_sort_groups_schema in Opigno Class App 7
Implements hook_schema().
File
- opigno_sort_groups/
opigno_sort_groups.install, line 27 - Opigno course quota app install file
Code
function opigno_sort_groups_schema() {
return array(
'opigno_sort_groups' => array(
'fields' => array(
'cgid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => FALSE,
),
'gid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
),
'weight' => array(
'type' => 'int',
'not null' => TRUE,
'default' => '0',
),
),
'indexes' => array(
'opigno_cgid' => array(
'cgid',
),
'opigno_gid' => array(
'gid',
),
),
),
);
}