2 package Debbugs::DB::Result::SrcAssociation;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::SrcAssociation - Source <-> suite associations
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<src_associations>
34 __PACKAGE__->table("src_associations");
43 sequence: 'src_associations_id_seq'
45 Source <-> suite association id
53 Suite id (matches suite)
61 Source version id (matches src_ver)
65 data_type: 'timestamp with time zone'
66 default_value: current_timestamp
68 original: {default_value => \"now()"}
70 Time this source package entered this suite
74 data_type: 'timestamp with time zone'
75 default_value: current_timestamp
77 original: {default_value => \"now()"}
79 Time this entry was modified
83 __PACKAGE__->add_columns(
86 data_type => "integer",
87 is_auto_increment => 1,
89 sequence => "src_associations_id_seq",
92 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
94 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
97 data_type => "timestamp with time zone",
98 default_value => \"current_timestamp",
100 original => { default_value => \"now()" },
104 data_type => "timestamp with time zone",
105 default_value => \"current_timestamp",
107 original => { default_value => \"now()" },
121 __PACKAGE__->set_primary_key("id");
129 Related object: L<Debbugs::DB::Result::SrcVer>
133 __PACKAGE__->belongs_to(
135 "Debbugs::DB::Result::SrcVer",
137 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
144 Related object: L<Debbugs::DB::Result::Suite>
148 __PACKAGE__->belongs_to(
150 "Debbugs::DB::Result::Suite",
152 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
156 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-01-22 21:35:43
157 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KLRKATys7SUGy+1bmADToQ
160 # You can replace this text with custom code or comments, and it will be preserved on regeneration