<?php
if (sql_num_rows(run_query("SHOW TABLES LIKE '" . $config['table_prefix'] . "module_mail_activ'"))) {
    run_query("ALTER TABLE " . $config['table_prefix'] . "module_mail_activ ADD `charset` int(11) NOT NULL");
}