Show
Ignore:
Timestamp:
04/16/08 15:36:30 (19 months ago)
Author:
mpaschal
Message:

Land the new implementation of metadata based on narrow tables
BugzID: 68749

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-35/lib/MT/Asset/Image.pm

    r1829 r1927  
    1010use base qw( MT::Asset ); 
    1111 
    12 __PACKAGE__->install_properties( { class_type => 'image', } ); 
    13 __PACKAGE__->install_meta( { columns => [ 'image_width', 'image_height', ], } ); 
     12__PACKAGE__->install_properties( { 
     13    class_type => 'image', 
     14    column_defs => { 
     15        'image_width' => 'integer meta', 
     16        'image_height' => 'integer meta', 
     17    }, 
     18} ); 
    1419 
    1520# List of supported file extensions (to aid the stock 'can_handle' method.)