function brilliant_gallery_update_6003 in Brilliant Gallery 6.4
File
- ./
brilliant_gallery.install, line 176
Code
function brilliant_gallery_update_6003() {
$ret = array();
$schema['brilliant_gallery_image_arrays'] = array(
'description' => t('Binds image property array with its hash that is present in the cached file name and in the URL.'),
'fields' => array(
'hash' => array(
'description' => t('Hash of the serialized array.'),
'type' => 'varchar',
'length' => '32',
'not null' => TRUE,
),
'array' => array(
'description' => t('Array of image parametres.'),
'type' => 'text',
'not null' => TRUE,
),
'datetime' => array(
'description' => t('Date and time of last value refresh.'),
'type' => 'datetime',
'not null' => TRUE,
),
),
'primary key' => array(
'hash',
),
'indexes' => array(
'datetime' => array(
'datetime',
),
),
);
db_create_table($ret, 'brilliant_gallery_image_arrays', $schema['brilliant_gallery_image_arrays']);
return $ret;
}