You are here

function epsacrop_schema in EPSA Crop - Image Cropping 7.2

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

Implementation of hook_schema

@access public

Return value

array

File

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

Code

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