function views_system_rebuild_schema in Views System 7.4
Helper function to rebuild database table 'views_system'.
2 calls to views_system_rebuild_schema()
- views_system_update_7400 in ./
views_system.install - Add column 'type' to database table 'views_system'.
- views_system_update_7401 in ./
views_system.install - Add columns 'pathname' and 'operations' to database table 'views_system'.
File
- ./
views_system.install, line 244 - Install, update and uninstall functions for the views_system module.
Code
function views_system_rebuild_schema() {
if (db_table_exists('views_system')) {
db_drop_table('views_system');
}
$schema = views_system_schema();
db_create_table('views_system', $schema['views_system']);
views_system_rebuild_module_data();
views_system_rebuild_theme_data();
}