function opigno_dashboard_schema in Opigno dashboard 3.x
Same name and namespace in other branches
- 8 opigno_dashboard.install \opigno_dashboard_schema()
Implements hook_schema().
File
- ./
opigno_dashboard.install, line 14 - Install, update and uninstall functions for the alt_aero_log_contacts module.
Code
function opigno_dashboard_schema() {
$schema['opigno_dashboard_positioning'] = [
'fields' => [
'pid' => [
'type' => 'serial',
'unsigned' => TRUE,
'not null' => TRUE,
],
'uid' => [
'type' => 'int',
'not null' => TRUE,
],
'columns' => [
'type' => 'int',
'not null' => TRUE,
],
'positions' => [
'type' => 'text',
'not null' => TRUE,
],
],
'primary key' => [
'pid',
],
];
return $schema;
}