Last change
on this file since 94 was
94,
checked in by nanardon, 13 years ago
|
- improve search results view
|
File size:
607 bytes
|
Rev | Line | |
---|
[2] | 1 | package Sophie::Base::Result::Rpms; |
---|
| 2 | |
---|
| 3 | use strict; |
---|
| 4 | use warnings; |
---|
| 5 | use base qw(DBIx::Class::Core); |
---|
| 6 | |
---|
| 7 | __PACKAGE__->table('rpms'); |
---|
[94] | 8 | __PACKAGE__->add_columns(qw/pkgid summary description issrc name evr/); |
---|
[2] | 9 | __PACKAGE__->set_primary_key(qw/pkgid/); |
---|
| 10 | __PACKAGE__->has_many(Rpmfile => 'Sophie::Base::Result::RpmFile', 'pkgid'); |
---|
| 11 | __PACKAGE__->has_many(Deps => 'Sophie::Base::Result::Deps', 'pkgid'); |
---|
| 12 | __PACKAGE__->has_many(Files => 'Sophie::Base::Result::Files', 'pkgid'); |
---|
[86] | 13 | __PACKAGE__->has_many(SrcFiles => 'Sophie::Base::Result::SrcFiles', 'pkgid'); |
---|
[3] | 14 | __PACKAGE__->has_many(Tags => 'Sophie::Base::Result::Tags', 'pkgid'); |
---|
[2] | 15 | |
---|
| 16 | 1; |
---|
Note: See
TracBrowser
for help on using the repository browser.