You are here

function openlayers_update_7202 in Openlayers 7.2

Drop name indexes duplicates of primary key.

File

./openlayers.install, line 369
This file holds the functions for the installing and enabling of the openlayers module.

Code

function openlayers_update_7202() {
  db_drop_index('openlayers_layers', 'name');
  db_drop_index('openlayers_styles', 'name');
}