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 - Debian Release Suite (stable, testing, etc.)
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'
59 Suite version; NULL if there is no appropriate version
74 TRUE if the suite is still accepting uploads
78 __PACKAGE__->add_columns(
81 data_type => "integer",
82 is_auto_increment => 1,
84 sequence => "suite_id_seq",
87 { data_type => "text", is_nullable => 0 },
89 { data_type => "text", is_nullable => 1 },
91 { data_type => "text", is_nullable => 1 },
93 { data_type => "boolean", default_value => \"true", is_nullable => 1 },
106 __PACKAGE__->set_primary_key("id");
108 =head1 UNIQUE CONSTRAINTS
110 =head2 C<suite_suite_name_key>
114 =item * L</suite_name>
120 __PACKAGE__->add_unique_constraint("suite_suite_name_key", ["suite_name"]);
124 =head2 bin_associations
128 Related object: L<Debbugs::DB::Result::BinAssociation>
132 __PACKAGE__->has_many(
134 "Debbugs::DB::Result::BinAssociation",
135 { "foreign.suite" => "self.id" },
136 { cascade_copy => 0, cascade_delete => 0 },
139 =head2 bug_status_caches
143 Related object: L<Debbugs::DB::Result::BugStatusCache>
147 __PACKAGE__->has_many(
149 "Debbugs::DB::Result::BugStatusCache",
150 { "foreign.suite" => "self.id" },
151 { cascade_copy => 0, cascade_delete => 0 },
154 =head2 src_associations
158 Related object: L<Debbugs::DB::Result::SrcAssociation>
162 __PACKAGE__->has_many(
164 "Debbugs::DB::Result::SrcAssociation",
165 { "foreign.suite" => "self.id" },
166 { cascade_copy => 0, cascade_delete => 0 },
170 # Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
171 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xIVtTLCQc72u8xQOuwQhrQ
174 # You can replace this text with custom code or comments, and it will be preserved on regeneration