You are here

function opigno_dashboard_schema in Opigno dashboard 8

Same name and namespace in other branches
  1. 3.x opigno_dashboard.install \opigno_dashboard_schema()

Implements hook_schema().

File

./opigno_dashboard.install, line 15
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;
}