function draggableviews_update_6300 in DraggableViews 7
Same name and namespace in other branches
- 6.3 draggableviews.install \draggableviews_update_6300()
Add a schema for structure information
File
- ./
draggableviews.install, line 108 - Draggableviews defines a new database schema for saving the collapsed/expand state of views.
Code
function draggableviews_update_6300() {
$ret = array();
$schemas = draggableviews_schema();
db_create_table('draggableviews_structure', $schemas['draggableviews_structure']);
// hook_update_N() no longer returns a $ret array. Instead, return
// nothing or a translated string indicating the update ran successfully.
// See http://drupal.org/node/224333#update_sql.
return t('TODO Add a descriptive string here to show in the UI.');
}