You are here

function rate_update_7100 in Rate 7.2

Same name and namespace in other branches
  1. 7 rate.install \rate_update_7100()

Create tables for blacklisting bots.

File

./rate.install, line 266
Main install tasks and update tasks for the Rate module.

Code

function rate_update_7100() {
  $schema = drupal_get_schema_unprocessed('rate');
  db_create_table('rate_bot_agent', $schema['rate_bot_agent']);
  db_create_table('rate_bot_ip', $schema['rate_bot_ip']);
}