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>
28 __PACKAGE__->load_components("InflateColumn::DateTime");
30 =head1 TABLE: C<bin_pkg>
34 __PACKAGE__->table("bin_pkg");
43 sequence: 'bin_pkg_id_seq'
56 __PACKAGE__->add_columns(
59 data_type => "integer",
60 is_auto_increment => 1,
62 sequence => "bin_pkg_id_seq",
65 { data_type => "text", is_nullable => 0 },
78 __PACKAGE__->set_primary_key("id");
80 =head1 UNIQUE CONSTRAINTS
82 =head2 C<bin_pkg_pkg_key>
92 __PACKAGE__->add_unique_constraint("bin_pkg_pkg_key", ["pkg"]);
100 Related object: L<Debbugs::DB::Result::BinVer>
104 __PACKAGE__->has_many(
106 "Debbugs::DB::Result::BinVer",
107 { "foreign.bin_pkg" => "self.id" },
108 { cascade_copy => 0, cascade_delete => 0 },
111 =head2 bug_binpackages
115 Related object: L<Debbugs::DB::Result::BugBinpackage>
119 __PACKAGE__->has_many(
121 "Debbugs::DB::Result::BugBinpackage",
122 { "foreign.bin_pkg" => "self.id" },
123 { cascade_copy => 0, cascade_delete => 0 },
127 # Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
128 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:k32MQX4vbBhX4m9+EqR7ww
131 # You can replace this text with custom code or comments, and it will be preserved on regeneration