2 package Debbugs::DB::Result::Arch;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::Arch - Architectures
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");
36 __PACKAGE__->table("arch");
45 sequence: 'arch_id_seq'
58 __PACKAGE__->add_columns(
61 data_type => "integer",
62 is_auto_increment => 1,
64 sequence => "arch_id_seq",
67 { data_type => "text", is_nullable => 0 },
80 __PACKAGE__->set_primary_key("id");
82 =head1 UNIQUE CONSTRAINTS
84 =head2 C<arch_arch_key>
94 __PACKAGE__->add_unique_constraint("arch_arch_key", ["arch"]);
102 Related object: L<Debbugs::DB::Result::BinVer>
106 __PACKAGE__->has_many(
108 "Debbugs::DB::Result::BinVer",
109 { "foreign.arch" => "self.id" },
110 { cascade_copy => 0, cascade_delete => 0 },
113 =head2 bug_status_caches
117 Related object: L<Debbugs::DB::Result::BugStatusCache>
121 __PACKAGE__->has_many(
123 "Debbugs::DB::Result::BugStatusCache",
124 { "foreign.arch" => "self.id" },
125 { cascade_copy => 0, cascade_delete => 0 },
129 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2014-11-30 21:56:51
130 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9pDiZg68Odz66DpCB9GpsA
133 # You can replace this text with custom code or comments, and it will be preserved on regeneration