You are here

function janrain_capture_mapping_schema in Janrain Registration 7

Same name and namespace in other branches
  1. 7.4 janrain_capture_mapping/janrain_capture_mapping.install \janrain_capture_mapping_schema()
  2. 7.2 janrain_capture_mapping/janrain_capture_mapping.install \janrain_capture_mapping_schema()
  3. 7.3 janrain_capture_mapping/janrain_capture_mapping.install \janrain_capture_mapping_schema()

Implements hook_schema().

File

janrain_capture_mapping/janrain_capture_mapping.install, line 27
Uninstall functions for the janrain_capture module

Code

function janrain_capture_mapping_schema() {
  $schema['janrain_capture_mapping_field'] = array(
    'description' => 'Stores Janrain Capture profile field information',
    'fields' => array(
      'fid' => array(
        'type' => 'serial',
        'not null' => TRUE,
        'description' => 'Primary Key: Unique profile field ID.',
      ),
      'title' => array(
        'type' => 'varchar',
        'length' => 255,
        'not null' => TRUE,
        'description' => 'Title of the field shown to the end user.',
      ),
      'path' => array(
        'type' => 'varchar',
        'length' => 255,
        'not null' => TRUE,
        'description' => 'Dot-delimited path within Capture schema.',
      ),
    ),
    'primary key' => array(
      'fid',
    ),
  );
  return $schema;
}