2 package Debbugs::DB::Result::Message;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::Message
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<message>
34 __PACKAGE__->table("message");
43 sequence: 'message_id_seq'
73 default_value: (empty string)
78 data_type: 'timestamp with time zone'
84 default_value: (empty string)
89 data_type: 'double precision'
100 __PACKAGE__->add_columns(
103 data_type => "integer",
104 is_auto_increment => 1,
106 sequence => "message_id_seq",
109 { data_type => "text", is_nullable => 1 },
111 { data_type => "text", is_nullable => 1 },
113 { data_type => "text", is_nullable => 1 },
115 { data_type => "text", is_nullable => 1 },
117 { data_type => "text", is_nullable => 1 },
119 { data_type => "text", default_value => "", is_nullable => 0 },
121 { data_type => "timestamp with time zone", is_nullable => 1 },
123 { data_type => "text", default_value => "", is_nullable => 0 },
125 { data_type => "double precision", is_nullable => 1 },
127 { data_type => "boolean", default_value => \"false", is_nullable => 1 },
140 __PACKAGE__->set_primary_key("id");
148 Related object: L<Debbugs::DB::Result::BugMessage>
152 __PACKAGE__->has_many(
154 "Debbugs::DB::Result::BugMessage",
155 { "foreign.message" => "self.id" },
156 { cascade_copy => 0, cascade_delete => 0 },
159 =head2 message_corespondents
163 Related object: L<Debbugs::DB::Result::MessageCorespondent>
167 __PACKAGE__->has_many(
168 "message_corespondents",
169 "Debbugs::DB::Result::MessageCorespondent",
170 { "foreign.message" => "self.id" },
171 { cascade_copy => 0, cascade_delete => 0 },
174 =head2 message_refs_messages
178 Related object: L<Debbugs::DB::Result::MessageRef>
182 __PACKAGE__->has_many(
183 "message_refs_messages",
184 "Debbugs::DB::Result::MessageRef",
185 { "foreign.message" => "self.id" },
186 { cascade_copy => 0, cascade_delete => 0 },
189 =head2 message_refs_refs
193 Related object: L<Debbugs::DB::Result::MessageRef>
197 __PACKAGE__->has_many(
199 "Debbugs::DB::Result::MessageRef",
200 { "foreign.refs" => "self.id" },
201 { cascade_copy => 0, cascade_delete => 0 },
205 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2012-11-29 15:37:55
206 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VkveOmRidQ9gNRBCjKyPEQ
209 # You can replace this text with custom code or comments, and it will be preserved on regeneration