2 package Debbugs::DB::Result::BugSrcpackage;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::BugSrcpackage
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<bug_srcpackage>
34 __PACKAGE__->table("bug_srcpackage");
52 __PACKAGE__->add_columns(
54 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
56 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
59 =head1 UNIQUE CONSTRAINTS
61 =head2 C<bug_srcpackage_id_pkg_id>
67 =item * L</src_pkg_id>
73 __PACKAGE__->add_unique_constraint("bug_srcpackage_id_pkg_id", ["bug_id", "src_pkg_id"]);
81 Related object: L<Debbugs::DB::Result::Bug>
85 __PACKAGE__->belongs_to(
87 "Debbugs::DB::Result::Bug",
89 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
96 Related object: L<Debbugs::DB::Result::SrcPkg>
100 __PACKAGE__->belongs_to(
102 "Debbugs::DB::Result::SrcPkg",
103 { id => "src_pkg_id" },
104 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
108 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2012-07-17 21:09:18
109 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ukA5dsM3UFiuOoDauTZN/A
112 # You can replace this text with custom code or comments, and it will be preserved on regeneration