source: server/trunk/web/lib/Sophie/Base/Result/Rpms.pm @ 94

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