You are here

function asin_field_schema in Amazon Product Advertisement API 7

Same name and namespace in other branches
  1. 7.2 asin/asin.install \asin_field_schema()

Implements hook_field_schema().

File

asin/asin.install, line 25
Install, update and uninstall functions for the asin module.

Code

function asin_field_schema($field) {
  $columns = array(
    'asin' => array(
      'type' => 'varchar',
      'length' => 32,
      'not null' => FALSE,
    ),
  );
  return array(
    'columns' => $columns,
  );
}