diff options
Diffstat (limited to 'install/piwigo_structure-mysql.sql')
-rw-r--r-- | install/piwigo_structure-mysql.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/piwigo_structure-mysql.sql b/install/piwigo_structure-mysql.sql index cc05c311f..b149d3918 100644 --- a/install/piwigo_structure-mysql.sql +++ b/install/piwigo_structure-mysql.sql @@ -187,7 +187,7 @@ CREATE TABLE `piwigo_images` ( `height` smallint(9) unsigned default NULL, `representative_ext` varchar(4) default NULL, `date_metadata_update` date default NULL, - `average_rate` float(5,2) unsigned default NULL, + `rating_score` float(5,2) unsigned default NULL, `has_high` enum('true') default NULL, `path` varchar(255) NOT NULL default '', `storage_category_id` smallint(5) unsigned default NULL, @@ -199,7 +199,7 @@ CREATE TABLE `piwigo_images` ( `added_by` smallint(5) NOT NULL default '0', PRIMARY KEY (`id`), KEY `images_i2` (`date_available`), - KEY `images_i3` (`average_rate`), + KEY `images_i3` (`rating_score`), KEY `images_i4` (`hit`), KEY `images_i5` (`date_creation`), KEY `images_i1` (`storage_category_id`) |