Project:Fast Gallery
Version:6.x-4.0-beta7
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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'
    ),
  );

Comments

#1

Here goes the patch of what you've told

AttachmentSize
fast_gallery-schema.patch 341 bytes

#2

Status:active» needs review

#3

Status:needs review» active

commited to head

#4

Status:active» closed (fixed)

this version is not supported anymore

nobody click here