Maybe just a warning flag, but the gid default should be 0 not '0'. Merely change one line to be:

        'default' => 0,

Below is the present code:

  $schema['fast_gallery_exif'] = array (
    'description' => t('Stores EXIF data for images'),
    'fields' => array (
      'eid' => array (
        'type' => 'serial',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'description' => t('EXIF ID of the field, defined by the database'),
        'no export' => TRUE,
      ),
      'gid' => array (
        'type' => 'int',
        'default' => '0',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'size' => 'medium',
        'description' => t('ID of the image, defined by the database'),
      ),
      'field' => array (
        'type' => 'varchar',
        'length' => '255',
        'default' => '',
        'not null' => TRUE,
        'description' => t('Name of the EXIF Field'),
      ),
      'value' => array (
        'type' => 'varchar',
        'length' => '255',
        'default' => '',
        'not null' => TRUE,
        'description' => t('Value of the EXIF field'),
      ),
    ),
    'primary key' => array (
      'eid'
    ),
  );
CommentFileSizeAuthor
#1 fast_gallery-schema.patch341 bytesfernao

Comments

fernao’s picture

StatusFileSize
new341 bytes

Here goes the patch of what you've told

rapsli’s picture

Status: Active » Needs review
rapsli’s picture

Status: Needs review » Active

commited to head

rapsli’s picture

Status: Active » Closed (fixed)

this version is not supported anymore