function search_api_sorts_update_7203 in Search API sorts 7
Add weight property.
File
- ./
search_api_sorts.install, line 145 - Install, update, and uninstall functions for the Search API sorts module.
Code
function search_api_sorts_update_7203() {
db_add_field('search_api_sort', 'weight', array(
'description' => 'A weight field determining the sort order of the sorts in the block.',
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => 0,
));
}