You are here

function file_aliases_schema_alter in File Aliases 6

Implements hook_schema_alter().

Parameters

$schema: The system-wide schema

File

./file_aliases.install, line 13
Contains installation functions for the File Aliases module.

Code

function file_aliases_schema_alter(&$schema) {
  $schema['filefield_paths']['fields']['filealias'] = array(
    'type' => 'text',
    'size' => 'medium',
    'not null' => TRUE,
    'serialize' => TRUE,
  );
}