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>
24 =item * L<DBIx::Class::TimeStamp>
30 __PACKAGE__->load_components("InflateColumn::DateTime", "TimeStamp");
32 =head1 TABLE: C<suite>
36 __PACKAGE__->table("suite");
45 sequence: 'suite_id_seq'
54 Suite codename (sid, squeeze, etc.)
61 Suite name (testing, stable, etc.)
68 Suite version; NULL if there is no appropriate version
76 TRUE if the suite is still accepting uploads
80 __PACKAGE__->add_columns(
83 data_type => "integer",
84 is_auto_increment => 1,
86 sequence => "suite_id_seq",
89 { data_type => "text", is_nullable => 0 },
91 { data_type => "text", is_nullable => 1 },
93 { data_type => "text", is_nullable => 1 },
95 { data_type => "boolean", default_value => \"true", is_nullable => 1 },
108 __PACKAGE__->set_primary_key("id");
110 =head1 UNIQUE CONSTRAINTS
112 =head2 C<suite_idx_codename>
122 __PACKAGE__->add_unique_constraint("suite_idx_codename", ["codename"]);
124 =head2 C<suite_suite_name_key>
128 =item * L</suite_name>
134 __PACKAGE__->add_unique_constraint("suite_suite_name_key", ["suite_name"]);
138 =head2 bin_associations
142 Related object: L<Debbugs::DB::Result::BinAssociation>
146 __PACKAGE__->has_many(
148 "Debbugs::DB::Result::BinAssociation",
149 { "foreign.suite" => "self.id" },
150 { cascade_copy => 0, cascade_delete => 0 },
153 =head2 bug_status_caches
157 Related object: L<Debbugs::DB::Result::BugStatusCache>
161 __PACKAGE__->has_many(
163 "Debbugs::DB::Result::BugStatusCache",
164 { "foreign.suite" => "self.id" },
165 { cascade_copy => 0, cascade_delete => 0 },
168 =head2 src_associations
172 Related object: L<Debbugs::DB::Result::SrcAssociation>
176 __PACKAGE__->has_many(
178 "Debbugs::DB::Result::SrcAssociation",
179 { "foreign.suite" => "self.id" },
180 { cascade_copy => 0, cascade_delete => 0 },
184 # Created by DBIx::Class::Schema::Loader v0.07045 @ 2016-11-23 18:13:51
185 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:32GH2trGMuarLv+EjO1l8w
188 # You can replace this text with custom code or comments, and it will be preserved on regeneration