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
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'
52 __PACKAGE__->add_columns(
55 data_type => "integer",
56 is_auto_increment => 1,
58 sequence => "bin_pkg_id_seq",
61 { data_type => "text", is_nullable => 0 },
74 __PACKAGE__->set_primary_key("id");
76 =head1 UNIQUE CONSTRAINTS
78 =head2 C<bin_pkg_pkg_key>
88 __PACKAGE__->add_unique_constraint("bin_pkg_pkg_key", ["pkg"]);
96 Related object: L<Debbugs::DB::Result::BinVer>
100 __PACKAGE__->has_many(
102 "Debbugs::DB::Result::BinVer",
103 { "foreign.bin_pkg_id" => "self.id" },
104 { cascade_copy => 0, cascade_delete => 0 },
107 =head2 bug_binpackages
111 Related object: L<Debbugs::DB::Result::BugBinpackage>
115 __PACKAGE__->has_many(
117 "Debbugs::DB::Result::BugBinpackage",
118 { "foreign.bin_pkg_id" => "self.id" },
119 { cascade_copy => 0, cascade_delete => 0 },
123 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2012-07-17 21:09:18
124 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yA4czi38S+fA2P6aKn+UAw
127 # You can replace this text with custom code or comments, and it will be preserved on regeneration