function dblog_update_7003 in Drupal 7
Account for possible legacy systems where dblog was not installed.
Related topics
File
- modules/
dblog/ dblog.install, line 160 - Install, update and uninstall functions for the dblog module.
Code
function dblog_update_7003() {
if (!db_table_exists('watchdog')) {
db_create_table('watchdog', drupal_get_schema_unprocessed('dblog', 'watchdog'));
}
}