2 package Debbugs::DB::Result::Suite;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::Suite
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<suite>
34 __PACKAGE__->table("suite");
43 sequence: 'suite_id_seq'
68 __PACKAGE__->add_columns(
71 data_type => "integer",
72 is_auto_increment => 1,
74 sequence => "suite_id_seq",
77 { data_type => "text", is_nullable => 0 },
79 { data_type => "text", is_nullable => 1 },
81 { data_type => "text", is_nullable => 1 },
83 { data_type => "boolean", default_value => \"true", is_nullable => 1 },
96 __PACKAGE__->set_primary_key("id");
98 =head1 UNIQUE CONSTRAINTS
100 =head2 C<suite_suite_name_key>
104 =item * L</suite_name>
110 __PACKAGE__->add_unique_constraint("suite_suite_name_key", ["suite_name"]);
114 =head2 bin_associations
118 Related object: L<Debbugs::DB::Result::BinAssociation>
122 __PACKAGE__->has_many(
124 "Debbugs::DB::Result::BinAssociation",
125 { "foreign.suite" => "self.id" },
126 { cascade_copy => 0, cascade_delete => 0 },
129 =head2 src_associations
133 Related object: L<Debbugs::DB::Result::SrcAssociation>
137 __PACKAGE__->has_many(
139 "Debbugs::DB::Result::SrcAssociation",
140 { "foreign.suite" => "self.id" },
141 { cascade_copy => 0, cascade_delete => 0 },
145 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2012-11-25 00:09:07
146 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XTRTAvkuZCBlDB6tSQXDDQ
149 # You can replace this text with custom code or comments, and it will be preserved on regeneration