2 package Debbugs::DB::Result::CorrespondentFullName;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::CorrespondentFullName - Full names of BTS correspondents
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<correspondent_full_name>
34 __PACKAGE__->table("correspondent_full_name");
43 sequence: 'correspondent_full_name_id_seq'
45 Correspondent full name id
58 Correspondent full name (includes e-mail address)
62 __PACKAGE__->add_columns(
65 data_type => "integer",
66 is_auto_increment => 1,
68 sequence => "correspondent_full_name_id_seq",
71 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
73 { data_type => "text", is_nullable => 0 },
86 __PACKAGE__->set_primary_key("id");
88 =head1 UNIQUE CONSTRAINTS
90 =head2 C<correspondent_full_name_correspondent_full_name_idx>
94 =item * L</correspondent>
102 __PACKAGE__->add_unique_constraint(
103 "correspondent_full_name_correspondent_full_name_idx",
104 ["correspondent", "full_name"],
113 Related object: L<Debbugs::DB::Result::Correspondent>
117 __PACKAGE__->belongs_to(
119 "Debbugs::DB::Result::Correspondent",
120 { id => "correspondent" },
121 { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
125 # Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
126 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ePNArKbdUxbj/cw4RbMHgg
129 # You can replace this text with custom code or comments, and it will be preserved on regeneration