2 package Debbugs::DB::Result::BinPkg;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::BinPkg - Binary packages
16 use base 'DBIx::Class::Core';
18 =head1 COMPONENTS LOADED
22 =item * L<DBIx::Class::InflateColumn::DateTime>
24 =item * L<DBIx::Class::TimeStamp>
30 __PACKAGE__->load_components("InflateColumn::DateTime", "TimeStamp");
32 =head1 TABLE: C<bin_pkg>
36 __PACKAGE__->table("bin_pkg");
45 sequence: 'bin_pkg_id_seq'
58 __PACKAGE__->add_columns(
61 data_type => "integer",
62 is_auto_increment => 1,
64 sequence => "bin_pkg_id_seq",
67 { data_type => "text", is_nullable => 0 },
80 __PACKAGE__->set_primary_key("id");
82 =head1 UNIQUE CONSTRAINTS
84 =head2 C<bin_pkg_pkg_key>
94 __PACKAGE__->add_unique_constraint("bin_pkg_pkg_key", ["pkg"]);
102 Related object: L<Debbugs::DB::Result::BinVer>
106 __PACKAGE__->has_many(
108 "Debbugs::DB::Result::BinVer",
109 { "foreign.bin_pkg" => "self.id" },
110 { cascade_copy => 0, cascade_delete => 0 },
113 =head2 bug_affects_binpackages
117 Related object: L<Debbugs::DB::Result::BugAffectsBinpackage>
121 __PACKAGE__->has_many(
122 "bug_affects_binpackages",
123 "Debbugs::DB::Result::BugAffectsBinpackage",
124 { "foreign.bin_pkg" => "self.id" },
125 { cascade_copy => 0, cascade_delete => 0 },
128 =head2 bug_binpackages
132 Related object: L<Debbugs::DB::Result::BugBinpackage>
136 __PACKAGE__->has_many(
138 "Debbugs::DB::Result::BugBinpackage",
139 { "foreign.bin_pkg" => "self.id" },
140 { cascade_copy => 0, cascade_delete => 0 },
144 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2014-11-30 21:56:51
145 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:My1zg7yJ4SSXL78poec5ag
148 # You can replace this text with custom code or comments, and it will be preserved on regeneration