You are here

function opigno_statistics_app_update_7000 in Opigno Statistics App 7

Fix an issue with MySQL 5.7 at the installation

File

./opigno_statistics_app.install, line 534
Contains install instructions and logic

Code

function opigno_statistics_app_update_7000() {
  $spec = array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
    'description' => "The category taxonomy term id",
  );
  db_change_field('opigno_statistics_group', 'category_taxonomy_term_id', 'category_taxonomy_term_id', $spec);
}