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'
61 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_suite_name_key>
116 =item * L</suite_name>
122 __PACKAGE__->add_unique_constraint("suite_suite_name_key", ["suite_name"]);
126 =head2 bin_associations
130 Related object: L<Debbugs::DB::Result::BinAssociation>
134 __PACKAGE__->has_many(
136 "Debbugs::DB::Result::BinAssociation",
137 { "foreign.suite" => "self.id" },
138 { cascade_copy => 0, cascade_delete => 0 },
141 =head2 bug_status_caches
145 Related object: L<Debbugs::DB::Result::BugStatusCache>
149 __PACKAGE__->has_many(
151 "Debbugs::DB::Result::BugStatusCache",
152 { "foreign.suite" => "self.id" },
153 { cascade_copy => 0, cascade_delete => 0 },
156 =head2 src_associations
160 Related object: L<Debbugs::DB::Result::SrcAssociation>
164 __PACKAGE__->has_many(
166 "Debbugs::DB::Result::SrcAssociation",
167 { "foreign.suite" => "self.id" },
168 { cascade_copy => 0, cascade_delete => 0 },
172 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2014-11-30 21:56:51
173 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3csVa5t/HsPdWr0/Nmr7WA
176 # You can replace this text with custom code or comments, and it will be preserved on regeneration