2 package Debbugs::DB::Result::BinAssociation;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::BinAssociation
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_associations>
34 __PACKAGE__->table("bin_associations");
43 sequence: 'bin_associations_id_seq'
59 data_type: 'timestamp with time zone'
60 default_value: current_timestamp
62 original: {default_value => \"now()"}
66 data_type: 'timestamp with time zone'
67 default_value: current_timestamp
69 original: {default_value => \"now()"}
73 __PACKAGE__->add_columns(
76 data_type => "integer",
77 is_auto_increment => 1,
79 sequence => "bin_associations_id_seq",
82 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
84 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
87 data_type => "timestamp with time zone",
88 default_value => \"current_timestamp",
90 original => { default_value => \"now()" },
94 data_type => "timestamp with time zone",
95 default_value => \"current_timestamp",
97 original => { default_value => \"now()" },
111 __PACKAGE__->set_primary_key("id");
119 Related object: L<Debbugs::DB::Result::BinVer>
123 __PACKAGE__->belongs_to(
125 "Debbugs::DB::Result::BinVer",
127 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
134 Related object: L<Debbugs::DB::Result::Suite>
138 __PACKAGE__->belongs_to(
140 "Debbugs::DB::Result::Suite",
142 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
146 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2012-11-25 00:09:07
147 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/cCrHn40eoiD6aOPmXU8dw
150 # You can replace this text with custom code or comments, and it will be preserved on regeneration