You are here

function epsacrop_schema in EPSA Crop - Image Cropping 6

Same name and namespace in other branches
  1. 8.2 epsacrop.install \epsacrop_schema()
  2. 6.2 epsacrop.install \epsacrop_schema()
  3. 7.2 epsacrop.install \epsacrop_schema()

@file install file for epsacrop.module

File

./epsacrop.install, line 7
install file for epsacrop.module

Code

function epsacrop_schema() {
  $schema['epsacrop_files'] = array(
    'description' => t('TODO: please describe this table!'),
    'fields' => array(
      'fid' => array(
        'description' => t('TODO: please describe this field!'),
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
      ),
      'coords' => array(
        'description' => t('TODO: please describe this field!'),
        'type' => 'text',
        'size' => 'big',
        'not null' => TRUE,
      ),
      'nid' => array(
        'description' => t('TODO: please describe this field!'),
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
      ),
      'vid' => array(
        'description' => t('TODO: please describe this field!'),
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
      ),
    ),
    'primary key' => array(
      'fid',
    ),
  );
  return $schema;
}