You are here

function filefield_paths_schema_alter in File (Field) Paths 6

Same name and namespace in other branches
  1. 7 filefield_paths.install \filefield_paths_schema_alter()

Implements hook_schema_alter().

Parameters

$schema: The system-wide schema

File

./filefield_paths.install, line 32
Install, update and uninstall functions for the FileField Paths module.

Code

function filefield_paths_schema_alter(&$schema) {
  $schema['files']['fields']['origname'] = array(
    'description' => 'Original name of the file.',
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
  );
}