opigno_tincan_live_meeting.install in Opigno TinCan API 8
Same filename and directory in other branches
Module install/update functionality.
File
modules/opigno_tincan_live_meeting/opigno_tincan_live_meeting.installView source
<?php
/**
* @file
* Module install/update functionality.
*/
/**
* Implements hook_schema().
*/
function opigno_tincan_live_meeting_schema() {
return [
'opigno_tincan_live_meeting' => [
'description' => 'Registry sending tincan statements for Live Meeting.',
'fields' => [
'id' => [
'type' => 'serial',
'not null' => TRUE,
],
'uid' => [
'description' => 'User id (meeting participant).',
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
],
'meeting_id' => [
'description' => 'Meeting id.',
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
],
],
'primary key' => [
'id',
],
'foreign keys' => [
'users' => [
'uid' => 'uid',
],
],
],
];
}
Functions
Name | Description |
---|---|
opigno_tincan_live_meeting_schema | Implements hook_schema(). |