Ignore:
Timestamp:
12/09/10 23:58:25 (14 years ago)
Author:
nanardon
Message:
  • add admin/replace_path function
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/trunk/web/lib/Sophie/Base/Result/Paths.pm

    r6 r104  
    88__PACKAGE__->add_columns(qw/d_path_key path added updated/); 
    99__PACKAGE__->set_primary_key('d_path_key'); 
     10__PACKAGE__->add_unique_constraint('path' => [ 'path' ]); 
    1011#__PACKAGE__->belongs_to(media => 'Sophie::Base::Result::Medias', 'media'); 
    1112__PACKAGE__->has_many(MediasPaths => 'Sophie::Base::Result::MediasPaths', 'd_path'); 
Note: See TracChangeset for help on using the changeset viewer.