You are here

function download_field_schema in Download 7.2

Same name and namespace in other branches
  1. 7 download.install \download_field_schema()

@file Install function for the download module.

File

./download.install, line 7
Install function for the download module.

Code

function download_field_schema($field) {
  $columns = array(
    'download_fields' => array(
      'type' => 'varchar',
      'length' => 255,
      'not null' => FALSE,
    ),
    'download_label' => array(
      'type' => 'varchar',
      'length' => 255,
      'not null' => FALSE,
    ),
  );
  return array(
    'columns' => $columns,
  );
}