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'
),
);
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | fast_gallery-schema.patch | 341 bytes | fernao |
Comments
Comment #1
fernao commentedHere goes the patch of what you've told
Comment #2
rapsli commentedComment #3
rapsli commentedcommited to head
Comment #4
rapsli commentedthis version is not supported anymore