tmgmt_globalsight-8.x-1.x-dev/tmgmt_globalsight.install

tmgmt_globalsight.install
<?php

/**
 * Implements hook_schema().
 */
function tmgmt_globalsight_schema() {
  $schema['tmgmt_globalsight'] = [
    'description' => 'A translation job represents a translation order that can be assigned to a translator.',
    'fields' => [
      'tjid' => [
        'description' => 'The identifier of the translation job.',
        'type' => 'int',
        'not null' => TRUE
      ],
      'job_name' => [
        'description' => 'GlobalSight Job Name.',
        'type' => 'varchar',
        'length' => 255,
        'not null' => TRUE
      ],
      'status' => [
        'description' => 'The state of the translation job.',
        'type' => 'int',
        'not null' => TRUE,
        'size' => 'tiny',
        'unsigned' => TRUE
      ]
    ],
    'primary key' => ['tjid'],
    'indexes' => [
      'status' => ['status']
    ]
  ];

  return $schema;
}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc