Implements hook_install().

Fichier

advagg_sri/advagg_sri.install, line 16

Code

function advagg_sri_install() {
    module_load_include('install', 'advagg', 'advagg');
    $tables = array(
        'advagg_sri' => array(
            'filename',
        ),
    );
    $schema = advagg_sri_schema();
    foreach ($tables as $table => $fields) {
        // Change utf8_bin to ascii_bin.
        advagg_install_change_table_collation($table, $fields, 'ascii_bin', $schema[$table]['fields']);
    }
}