Line | |
---|
1 | package Sophie::Base::Result::Paths; |
---|
2 | |
---|
3 | use strict; |
---|
4 | use warnings; |
---|
5 | use base qw(DBIx::Class::Core); |
---|
6 | |
---|
7 | __PACKAGE__->table('d_path'); |
---|
8 | __PACKAGE__->add_columns(qw/d_path_key path added updated/); |
---|
9 | __PACKAGE__->set_primary_key('d_path_key'); |
---|
10 | #__PACKAGE__->belongs_to(media => 'Sophie::Base::Result::Medias', 'media'); |
---|
11 | __PACKAGE__->has_many(MediasPaths => 'Sophie::Base::Result::MediasPaths', 'd_path'); |
---|
12 | __PACKAGE__->has_many(Rpmfiles => 'Sophie::Base::Result::RpmFile', 'd_path'); |
---|
13 | |
---|
14 | |
---|
15 | 1; |
---|
Note: See
TracBrowser
for help on using the repository browser.