2 package Debbugs::DB::Result::BinVer;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::BinVer
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_ver>
34 __PACKAGE__->table("bin_ver");
63 __PACKAGE__->add_columns(
65 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
67 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
69 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
71 { data_type => "text", is_nullable => 0 },
74 =head1 UNIQUE CONSTRAINTS
76 =head2 C<bin_ver_bin_pkg_id_arch_idx>
80 =item * L</bin_pkg_id>
88 __PACKAGE__->add_unique_constraint("bin_ver_bin_pkg_id_arch_idx", ["bin_pkg_id", "arch_id"]);
90 =head2 C<bin_ver_src_ver_id_arch_idx>
94 =item * L</src_ver_id>
102 __PACKAGE__->add_unique_constraint("bin_ver_src_ver_id_arch_idx", ["src_ver_id", "arch_id"]);
110 Related object: L<Debbugs::DB::Result::Arch>
114 __PACKAGE__->belongs_to(
116 "Debbugs::DB::Result::Arch",
118 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
125 Related object: L<Debbugs::DB::Result::BinPkg>
129 __PACKAGE__->belongs_to(
131 "Debbugs::DB::Result::BinPkg",
132 { id => "bin_pkg_id" },
133 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
140 Related object: L<Debbugs::DB::Result::SrcVer>
144 __PACKAGE__->belongs_to(
146 "Debbugs::DB::Result::SrcVer",
147 { id => "src_ver_id" },
148 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
152 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2012-07-17 10:25:29
153 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0AnavpmoUrdrgChtyIBRBg
156 # You can replace this text with custom code or comments, and it will be preserved on regeneration