You are here

function environment_indicator_update_7200 in Environment Indicator 7.2

Add table when updating from 1.x.

File

./environment_indicator.install, line 137
Install implementation file.

Code

function environment_indicator_update_7200(&$sandbox) {
  if (!db_table_exists('environment_indicator_environment')) {
    $schema = environment_indicator_schema();
    db_create_table('environment_indicator_environment', $schema['environment_indicator_environment']);
  }
}