You are here

function state_flow_schedule_schema in State Machine 7.2

Same name and namespace in other branches
  1. 7.3 modules/state_flow_schedule/state_flow_schedule.install \state_flow_schedule_schema()

Implements hook_schema().

File

modules/state_flow_schedule/state_flow_schedule.install, line 11
Install file for state_flow_schedule.

Code

function state_flow_schedule_schema() {
  $schema = array();
  $schema['state_flow_schedule'] = array(
    'description' => '',
    'fields' => array(
      'sid' => array(
        'description' => 'The id of the scheduled data row.',
        'type' => 'serial',
        'not null' => TRUE,
      ),
      'nid' => array(
        'description' => 'The node id of node to be published.',
        'type' => 'int',
        'not null' => TRUE,
      ),
      'vid' => array(
        'description' => 'The revision id of node.',
        'type' => 'int',
        'not null' => TRUE,
      ),
      'date' => array(
        'description' => 'The date value.',
        'type' => 'int',
        'not null' => TRUE,
      ),
    ),
    'primary key' => array(
      'sid',
    ),
  );
  return $schema;
}