Install schema error.
tstermitz - July 16, 2009 - 15:58
| Project: | Fast Gallery |
| Version: | 6.x-4.0-beta7 |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Description
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'
),
);
#1
Here goes the patch of what you've told
#2
#3
commited to head