For this field of the {file_managed} table we currently have:

      'uri' => array(
        'description' => 'Path of the file relative to Drupal root.',
        'type' => 'varchar',
        'length' => 255,
        'not null' => TRUE,
        'default' => '',
      ),

This is clearly incorrect, since this is not what the uri field contains - it contains values like public://field/image/73gqrypy.jpg

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pwolanin’s picture

Title: Sceham description is wrong for uri field in {file_managed} table » Schema description is wrong for uri field in {file_managed} table
Status: Active » Needs review
FileSize
1 KB

Here's a first pass at fixing.

drewish’s picture

Looks good to me.

drewish’s picture

Status: Needs review » Reviewed & tested by the community
Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.