function farm_asset_update_7002 in farmOS 7
Change the name of the {farm_asset} index to fix SQLite installs.
File
- modules/
farm/ farm_asset/ farm_asset.install, line 163 - Farm asset install.
Code
function farm_asset_update_7002(&$sandbox) {
db_drop_index('farm_asset', 'type');
db_add_index('farm_asset', 'type_index', array(
'type',
));
}