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 - Binary versions
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");
43 sequence: 'bin_ver_id_seq'
53 Binary package id (matches bin_pkg)
61 Source version (matchines src_ver)
69 Architecture id (matches arch)
73 data_type: 'debversion'
80 __PACKAGE__->add_columns(
83 data_type => "integer",
84 is_auto_increment => 1,
86 sequence => "bin_ver_id_seq",
89 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
91 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
93 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
95 { data_type => "debversion", is_nullable => 0 },
108 __PACKAGE__->set_primary_key("id");
116 Related object: L<Debbugs::DB::Result::Arch>
120 __PACKAGE__->belongs_to(
122 "Debbugs::DB::Result::Arch",
124 { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
127 =head2 bin_associations
131 Related object: L<Debbugs::DB::Result::BinAssociation>
135 __PACKAGE__->has_many(
137 "Debbugs::DB::Result::BinAssociation",
138 { "foreign.bin" => "self.id" },
139 { cascade_copy => 0, cascade_delete => 0 },
146 Related object: L<Debbugs::DB::Result::BinPkg>
150 __PACKAGE__->belongs_to(
152 "Debbugs::DB::Result::BinPkg",
154 { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
161 Related object: L<Debbugs::DB::Result::SrcVer>
165 __PACKAGE__->belongs_to(
167 "Debbugs::DB::Result::SrcVer",
169 { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
173 # Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-11-21 21:57:41
174 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rPiyH454ztK18EaqQD45/w
177 # You can replace this text with custom code or comments, and it will be preserved on regeneration